janpaepke/ScrollMagic
The javascript library for magical scroll interactions. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 96
- Release rhythm 39
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4727
- days_rel: 194
- days_push: 29
- n_releases_24m: 1
Adoption not part of the score
14955 stars · 2115 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
ScrollMagic is a lightweight, zero-dependency JavaScript/TypeScript library for reacting to the user's scroll position, built as a convenience wrapper around IntersectionObserver and ResizeObserver. It provides scroll-position data, events, and progress values for building scroll-driven UX like parallax, pinning, class toggles, and lazy loading, while remaining framework-agnostic.
Use cases
- trigger animations based on scroll position
- pin elements while scrolling (sticky sections)
- toggle CSS classes when elements enter the viewport
- add parallax effects to a website
- build infinite scrolling pages with ajax content loading
- sync animation playback to scrollbar movement (scrub)
- fire callbacks at specific scroll positions with progress values
When to choose
- you need precise scroll-position events and progress data without a full animation library
- you want a tiny (~6KB), zero-dependency, framework-agnostic scroll foundation
- you need cross-browser scroll-driven behavior including custom scroll containers and horizontal scrolling
- you want to combine scroll tracking with GSAP, CSS, or your own animation code
When to avoid
- you want a ready-made scroll animation solution out of the box (use GSAP ScrollTrigger or Motion)
- you only need pure CSS scroll-driven animations and can accept limited browser support
- you need deep scroll-linked animation timelines rather than scroll state and events
Facets
library · maturity active
animation state-management plugin-system middleware web-development frontend web-design browser cross-platform scroll-interactions scroll-animations parallax sticky-elements intersectionobserver typescript zero-dependency scroll-trigger nodejs
4 sources
- readme: https://github.com/janpaepke/ScrollMagic · fetched 2026-08-28 · fca2daea928a
- homepage: http://ScrollMagic.io · fetched 2026-08-29 · 021795e1aa51
- site_page: https://scrollmagic.io/docs/index.html · fetched 2026-08-29 · e92a1bfe86d6
- registry_npm: https://registry.npmjs.org/scrollmagic · fetched 2026-08-29 · 4bd1369a61ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| janpaepke/ScrollMagic | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="janpaepke/ScrollMagic")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem