# ScrollMagic

> Lightweight library for scroll-driven interactions and events

Source: https://talira.ai/catalog/scrollmagic-q15wrnkz
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [frontend / scrolling](https://talira.ai/categories/frontend/scrolling), [frontend / animation](https://talira.ai/categories/frontend/animation)
- Licence: MIT[^3]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Jan Paepke](https://talira.ai/orgs/jan-paepke.md)

ScrollMagic tells you where an element is relative to the viewport as the user scrolls and fires events when that changes, as a small wrapper around IntersectionObserver and ResizeObserver. It doesn't animate anything itself: you use its scroll-position data for class toggles, animations, lazy loading, parallax and the like. Version 3 is zero-dependency, TypeScript-native, SSR-safe, works with any scroll container horizontally or vertically, has a plugin system and works with any framework.

## Links

- GitHub: https://github.com/janpaepke/ScrollMagic

## Problems it solves

- trigger animations when an element scrolls into view
- scroll-based class toggles and parallax without a heavy library
- know how far an element has scrolled through the viewport

## Features

- scroll-position data and events
- IntersectionObserver and ResizeObserver based
- zero dependencies
- TypeScript and SSR safe
- any scroll container, horizontal or vertical
- plugin system

## Limitations

- Version 3 is a rewrite: v2's API lives on the v2-stable branch, and npm's latest release is still v2.[^1][^2]

## Trust

Overall: 0.54 out of 1.
Signals: maintenance 0.71, adoption 0.84, momentum 0.60, community 0.24, backing 0.30, extensibility 0.00.

- last commit 26 days ago
- 16 commits in the last 90 days
- latest release v2.0.9 9 months ago
- 15.0k GitHub stars
- 3 contributors
- backed by Jan Paepke

## Alternatives

- [Lenis](https://talira.ai/catalog/lenis-n6szme2r.md): Lightweight smooth-scroll library that runs on the browser's native scroll

## Sources

[^1]: https://github.com/janpaepke/ScrollMagic/blob/main/README.md (checked 30 Nov 2026)
[^2]: https://registry.npmjs.org/scrollmagic/latest (checked 30 Nov 2026)
[^3]: https://github.com/janpaepke/ScrollMagic/blob/main/LICENSE.md (checked 30 Nov 2026)
