greensock/gsap-scrolltrigger
FreeScrollTrigger for scroll-linked animations and pinning
FreeFree tier
About greensock/gsap-scrolltrigger
A GSAP plugin that enables scroll-driven animations with features like pinning elements, scrubbing animation progress based on scroll position, and trigger-based callbacks. Integrated seamlessly with the GSAP animation library.
Key Features
Scroll-linked animation triggering
Element pinning and unpinning on scroll
Scrub animation to scroll progress
Trigger callbacks (onEnter, onLeave, etc.)
Marker visuals for debugging
Pros & Cons
Pros
- Lightweight and performant
- Deep integration with GSAP for complex timelines
- Highly configurable with numerous options
- Active community and extensive documentation
Cons
- Requires GSAP core library as a dependency
- Steep learning curve for advanced configurations
- Can be overkill for simple scroll animations
Best For
Parallax scrolling effectsSticky elements with animated transitionsScroll-triggered timeline sequencesReveal animations on scroll