gsap-scrolltrigger

Implement scroll-driven GSAP animations with ScrollTrigger configuration.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/eryckassis/Dior-Luxury-Boutique-Saas --skill gsap-scrolltrigger-eryckassis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-scrolltrigger
Source: https://github.com/eryckassis/Dior-Luxury-Boutique-Saas/tree/main/.agents/skills/gsap-scrolltrigger
Command: npx skills add https://github.com/eryckassis/Dior-Luxury-Boutique-Saas --skill gsap-scrolltrigger-eryckassis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scroll-driven animations are often complex to implement consistently; this skill provides a structured approach to using GSAP ScrollTrigger to tie animations to scroll position, pin elements, and manage horizontal scroll patterns.

Core Features & Use Cases

  • Tie tweens/timelines to scroll position via ScrollTrigger
  • Pin sections to create immersive scrolling experiences
  • Create fake horizontal scrolling with containerAnimation and no easing
  • Use ScrollTrigger.batch() for coordinated callbacks across multiple elements
  • Typical use cases: parallax effects, sticky sections, scrubbable timelines, and interactive storytelling on long-form pages.

Quick Start

Start by registering GSAP ScrollTrigger and create a basic trigger with start and end, then enable scrub to bind progress to scrolling.

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 with GSAP ScrollTrigger?

GSAP ScrollTrigger creates scroll-driven animations by tying GSAP timelines to the scroll position. You register the plugin, define trigger, start, and end points, and enable scrub to bind animation progress directly to scrolling.

What is the best way to pin sticky sections during scroll?

To pin sticky sections during scroll, use the GSAP ScrollTrigger pin property. This locks the specified element in place while the user scrolls, creating immersive scrolling experiences like parallax effects and interactive storytelling on long-form pages.

Can I build horizontal scroll effects using GSAP ScrollTrigger?

You can build fake horizontal scrolling effects using GSAP ScrollTrigger with the containerAnimation property. This approach translates vertical scrolling into a horizontal animation path without easing, allowing you to create dynamic horizontal scroll patterns.

How does ScrollTrigger.batch() handle multiple scrolling elements?

ScrollTrigger.batch() manages multiple scrolling elements by triggering coordinated callbacks across batches. This function is ideal for executing animations consistently across numerous items as they enter the viewport, ensuring performant scroll-based UI interactions.

Do I need advanced GSAP knowledge to use ScrollTrigger safely?

Using ScrollTrigger safely requires a solid understanding of its configuration properties like trigger, start, end, scrub, and pin. Frontend developers need this foundation to implement performant, dynamic scroll-based UI without layout issues.

Why use GSAP ScrollTrigger for frontend parallax effects?

GSAP ScrollTrigger provides a structured approach to implementing parallax effects, solving the complexity of tying animations consistently to scroll position. It allows frontend developers to build dynamic, scrubbable timelines for interactive storytelling.