gsap-scrolltrigger

Synchronize GSAP tweens and timelines with browser scroll position.

Updated Jun 8, 2026
One-click install
npx skills add https://github.com/ScarletFish/MyAnimeDock --skill gsap-scrolltrigger-scarletfish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-scrolltrigger
Source: https://github.com/ScarletFish/MyAnimeDock/tree/main/.agents/skills/gsap-scrolltrigger
Command: npx skills add https://github.com/ScarletFish/MyAnimeDock --skill gsap-scrolltrigger-scarletfish

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the complexity of synchronizing animations with user scroll position, eliminating the need for manual scroll event listeners and complex intersection observer logic.

Core Features & Use Cases

  • Scroll-Linked Animations: Tie tweens and timelines directly to the scroll progress for parallax or reveal effects.
  • Pinning & Scrubbing: Easily pin elements in place while scrolling and scrub through animations based on scroll speed.
  • Use Case: Use this to create a narrative-driven landing page where elements animate into view or transform as the user scrolls down the page.

Quick Start

Use the gsap-scrolltrigger skill to create a scroll-triggered animation that pins the hero section and fades in the title as the user scrolls down.

Frequently Asked Questions about gsap-scrolltrigger

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create scroll-driven animations without manual scroll event listeners?

You can create scroll-driven animations by synchronizing GSAP tweens and timelines directly with the browser scroll position. This eliminates the need for manual scroll event listeners and complex intersection observer logic.

How do I pin elements in place while scrubbing parallax effects on scroll?

Pinning elements in place while scrubbing through animations based on scroll speed is achieved using the GSAP ScrollTrigger plugin. This synchronizes scroll-linked animation states to lock elements within the viewport during scrolling.

Do I need the GSAP library to implement scroll-based reveal sequences?

Yes, implementing scroll-based reveal sequences requires the GSAP library and the ScrollTrigger plugin. These dependencies are necessary to manage viewport triggers and synchronize tweens with the browser scroll position.

What is the best way to build a narrative-driven landing page with scroll-linked animations?

The best way to build a narrative-driven landing page is tying GSAP timelines directly to scroll progress for parallax or reveal effects. This allows elements to animate into view or transform as the user scrolls down the page.

Does gsap-scrolltrigger work for interactive web development scenarios like element pinning?

Yes, gsap-scrolltrigger applies to interactive web development scenarios including element pinning, parallax effects, and scroll-based reveal sequences. It synchronizes GSAP tweens with the browser scroll position to manage these interactive states.