
animation-on-scroll
Create an on-scroll animation trigger using IntersectionObserver
by mengtoFree
Description
animation-on-scroll is an agent skill from the mengto/skills repository, listed on skills.sh. It sets up scroll-reveal animations: elements animate in as they enter the viewport, using an IntersectionObserver with keyframes and Tailwind-friendly animation classes. The skill follows a short workflow. It first confirms the animation style and timing, and whether the animation should run once or repeat. It then gives you the keyframes, a JavaScript observer snippet and the exact Tailwind class to apply, and it offers focused tweaks such as threshold, root margin, duration, delay and the transform or blur values. The usage checklist says to insert the script in the document head after the keyframes, to add the animation class and the animate-on-scroll marker to the elements that should animate, and to make sure the keyframe names match the Tailwind animation reference. It is aimed at developers who want a light scroll reveal without adding a full animation library. It is listed with about 1.9K installs on skills.sh, and all three security audits show Pass.…
Highlights
- IntersectionObserver scroll triggers
- Keyframes and Tailwind animation classes
- Run once or repeat
- Tunable threshold, delay and duration
Ratings & Reviews
No ratings yet
Be the first to rate animation-on-scroll.
People also visit
animation-on-scroll FAQ
What does animation-on-scroll do?
It sets up elements to animate in when they scroll into view, using a small observer script and keyframes.
How do I install it?
Run: npx skills add https://github.com/mengto/skills --skill animation-on-scroll
Does it need an animation library?
No. The skill uses an IntersectionObserver and keyframes, with Tailwind-friendly classes.
Can the animation repeat?
Yes. The skill asks whether it should run once or repeat, and sets it up that way.
Where does the script go?
In the document head, after the keyframes, according to the usage checklist.
Has it been checked for security?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best animation-on-scroll alternatives?
Popular alternatives to animation-on-scroll include scroll-reveal-libraries, gsap-framer-scroll-animation and gsap-scrolltrigger. See all animation-on-scroll alternatives












