What problem does it solve?
This Skill helps front-end developers implement scroll-driven animations, pinning, and parallax effects so UI motion synchronizes precisely with user scrolling and avoids common timing and layout issues.
Core Features & Use Cases
- Scroll-linked animations and scrubbing: tie tweens and timelines to scroll progress for smooth, responsive motion.
- Pinning and fake horizontal scroll: pin sections during scroll ranges and implement horizontal containerAnimation patterns for carousel-like experiences.
- Integration and performance: use scrollerProxy to work with custom smooth-scroll libraries, batch entry animations for performance, and refresh/cleanup patterns for SPAs.
- Use Case: animate hero sections that pin while content scrolls, reveal lists with ScrollTrigger.batch, or translate vertical scrolling into a horizontal product gallery.
Quick Start
Register ScrollTrigger with gsap, then create a scrollTrigger on your timeline or tween that pins .hero, sets start and end points, and enables scrub for smooth scroll-driven progress.