What is BSMNT Scrollytelling
mainBSMNT Scrollytelling is a React library designed for creating scrollytelling animations. It is powered by GSAP ScrollTrigger but provides a component-based abstraction that simplifies the development process.
Key features include:
- Sensible Defaults: Automatically applies settings like
scrub: trueandease: 'linear'. - Lifecycle Management: Handles component mounting and unmounting (including animation cleanup) automatically.
- Position-based Animations: Allows defining animations using
startandendscroll progress values instead of time-basedduration. - React Compatibility: Designed to work with React Server Components (using
'use client'internally) and supports animation composition via React Context.