Scrollytelling & Animation
AOS · Animate on Scroll
Add viewport-triggered entrances to DOM panels with HTML attributes and CSS transitions.
Free · Open source · MIT (library code)
Trigger story beats with IntersectionObserver while a map or chart stays pinned beside the text.
For a scroll-driven story with distinct chapters, assign each text step a scene state. Scrollama reports the active step and can track its progress. Use a CSS sticky container to hold the visual in view as the text moves.
Start with the sticky-graphic example, connect a step index to a view preset and test scrolling in both directions. Use the package’s MIT notice when redistributing its source or bundle.
Official site and license checked .