gsap-scrolltrigger - Build scroll-linked animations with ScrollTrigger
Creates scroll-linked animations with GSAP, including triggers, pinning, scrubbing, batching, snapping, and custom scroller integration.
Tags
Updated: 2026-10-04Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Register the ScrollTrigger plugin
- Create scroll-based triggers
- Link animation to scrolling
- Pin elements during scrolling
- Scrub animation progress
- Batch trigger callbacks
- Integrate custom scrollers
- Snap animation progress
- Refresh trigger positions
- Handle trigger callbacks
Inputs
- GSAP library
- ScrollTrigger plugin
- DOM selectors or elements
- Animation and trigger configuration
- Scroll container
- Custom scroll library
Outputs
- Scroll-linked animation state
- Pinned elements
- Batched callback executions
- Updated element classes
- ScrollTrigger markers
- Custom scroller synchronization
Requirements
- JavaScript browser environment
- GSAP available
- ScrollTrigger available
- Plugin registration
