gsap-scrolltrigger

Create scroll-linked animations with GSAP ScrollTrigger for web pages.

Updated Jun 4, 2026
One-click install
npx skills add https://github.com/R1ve3raaTech/AlumniUCR --skill gsap-scrolltrigger-r1ve3raatech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-scrolltrigger
Source: https://github.com/R1ve3raaTech/AlumniUCR/tree/main/Skill%20GSAP/gsap-skills/skills/gsap-scrolltrigger
Command: npx skills add https://github.com/R1ve3raaTech/AlumniUCR --skill gsap-scrolltrigger-r1ve3raatech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gsap, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the need for scroll-linked animations, pinning, scrubbing, and triggers, which are essential for creating engaging and interactive web designs.

Core Features & Use Cases

  • Scroll-Linked Animations: Trigger tweens and timelines based on scroll position.
  • Pinning: Keep elements in place while scrolling.
  • Scrubbing: Navigate through animations by scrolling.
  • Triggers: Define start and end points for animations based on scroll position.
  • Use Case: Enhance user experience on websites with interactive elements that respond to user scrolling, such as parallax effects, sticky headers, or animated content that unfolds as the user scrolls.

Quick Start

Use the gsap-scrolltrigger skill to create a simple scroll-triggered animation on your webpage. Add the following script to your HTML file:

gsap.registerPlugin(ScrollTrigger);
gsap.to(".element", {
  scrollTrigger: {
    trigger: ".element",
    start: "top center",
    end: "bottom center",
    toggleActions: "play reverse play reverse"
  }
});

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-based animations for a webpage?

To create scroll-based animations, you can use GSAP's ScrollTrigger plugin to link tweens and timelines directly to the scroll position. It enables dynamic interactive designs by defining start and end points for animations.

What is scroll scrubbing and how does it work with web animation?

Scroll scrubbing is a web animation technique where the animation progress is directly tied to the user's scroll position. Using GSAP ScrollTrigger, you can navigate through animation timelines smoothly by scrolling up or down the page.

Can I pin elements in place while scrolling using GSAP?

Yes, you can pin elements in place while scrolling using the ScrollTrigger plugin in GSAP. This feature keeps specific webpage sections stationary until the scroll animation completes, creating engaging interactive designs.

What do I need to set up scroll-linked triggers for interactive design?

To set up scroll-linked triggers for interactive design, you need the GSAP library installed as a dependency. You register the ScrollTrigger plugin with GSAP to define trigger elements, start and end positions, and toggle actions.

Does GSAP work for creating parallax effects and sticky headers?

Yes, GSAP with the ScrollTrigger plugin is commonly used for creating parallax effects and sticky headers. It provides the necessary scroll-linked animation controls and pinning features required for these interactive web design scenarios.