Description
ScrollMagic is a JavaScript library for scroll-driven effects on web pages. It reacts to the user's scroll position, so you can start an animation at a point on the page, play an animation in step with the scrollbar like a scrubbing control, or toggle CSS classes as a section comes into view. Elements can be pinned in place for a set amount of scrolling, which is the basis of sticky sections, and parallax effects can be added with the same tools. The library can also load more content as the reader scrolls, for an endless page, and call functions at chosen scroll positions with a progress value. It is built around plugins, so its features can be extended. The site says it is lightweight at about 6 KB gzipped, works on mobile and supports responsive layouts. ScrollMagic is a rewrite of an earlier library called Superscrollorama. It can be installed with Bower or npm, loaded from a CDN, or downloaded, and the source is on GitHub.…
Highlights
- Trigger animations and classes from scroll position
- Scrub animations in step with the scrollbar
- Pin elements for sticky sections
- Parallax and infinite scrolling
- About 6 KB gzipped
Ratings & Reviews
No ratings yet
Be the first to rate ScrollMagic.
People also visit
ScrollMagic FAQ
What does ScrollMagic do?
It lets a page react to the user's scroll position, with animations, pinned elements, CSS class toggles and callbacks at chosen points.
How do I install it?
The site lists installation with Bower or npm, loading from a CDN, and downloading a ZIP or tar package.
Is it free?
Yes. The source is published on GitHub, and the site offers the library as a download.
Where can I get help?
The site points to examples, documentation and a troubleshooting guide, and asks users to check it before posting a question in the GitHub issues.
What are the best ScrollMagic alternatives?
Popular alternatives to ScrollMagic include Anime. See all ScrollMagic alternatives











