gsap-scrolltrigger

Build scroll-driven web animations with GSAP and ScrollTrigger.

Updated Nov 21, 2024
One-click install
npx skills add https://github.com/TenBeltz/tenbeltz-frontend --skill gsap-scrolltrigger-tenbeltz
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gsap-scrolltrigger
Source: https://github.com/TenBeltz/tenbeltz-frontend/tree/main/.agents/skills/gsap-scrolltrigger
Command: npx skills add https://github.com/TenBeltz/tenbeltz-frontend --skill gsap-scrolltrigger-tenbeltz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

GSAP + ScrollTrigger empower developers to craft scroll-driven animations without heavy boilerplate, delivering high-performance, scroll-tied motion.

Core Features & Use Cases

  • Seamless GSAP + ScrollTrigger integration for parallax, pinning, scrubbing, and timeline coordination.
  • Predefined patterns for common web animation tasks (fade, slide, stagger, horizontal scroll, image sequences).
  • Real-world use cases include storytelling sites, portfolios, marketing pages, and interactive UI transitions.

Quick Start

Install GSAP and ScrollTrigger, import and register the plugin, then apply ScrollTrigger-enabled animations to your elements.

Frequently Asked Questions about gsap-scrolltrigger

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

FAQPage Schema
How do I build scroll-driven animations using GSAP and ScrollTrigger?▼

Scroll-driven animations using GSAP require importing and registering the ScrollTrigger plugin, then applying predefined patterns like fade, slide, and horizontal scroll to elements with configurable triggers and start/end points.

What is scroll pinning and how does it work for storytelling sites?▼

Scroll pinning locks an element in place while the user scrolls, allowing timeline-coordinated motion to unfold. Using GSAP ScrollTrigger, you can pin sections to create immersive storytelling sites and interactive UI transitions.

Can I create parallax and horizontal scroll effects without heavy boilerplate?▼

Yes, you can implement parallax and horizontal scroll effects without heavy boilerplate by using predefined GSAP ScrollTrigger patterns. These patterns deliver high-performance, scroll-synced motion for marketing pages and portfolios.

Do I need to install GSAP and ScrollTrigger separately to enable scrubbing?▼

Yes, you must install GSAP and the ScrollTrigger plugin separately. After installation, import and register the plugin to enable scrubbing, which ties animation progress directly to scroll position for high-performance motion.

What are the limitations of using timelines for scroll-synced motion on portfolios?▼

Timelines for scroll-synced motion depend entirely on the GSAP ScrollTrigger plugin and require proper configuration of triggers and start/end points. Complex pinning or image sequences on portfolios may need careful tuning to avoid performance issues.