Gsap Scrolltrigger
Scroll-driven GSAP animations covering pinning, scrubbing, snap points, parallax, and batch reveals.
- CCM score
- 49 of 100
- skills.sh installs
- 616
- GitHub stars
- 9
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers ScrollTrigger setup, start and end positions, scrub smoothing, pinned sections, and horizontal scrolling
- Includes toggle action syntax, snap configuration with labels, parallax layering, and batch stagger animations
- Provides callbacks such as
onUpdatefor progress-driven updates andmarkers: truefor development debugging - Designed for developers building sticky sections, progress indicators, and parallax scrolling pages with GSAP
Install
$ npx -y skills add bbeierle12/skill-mcp-claude --skill gsap-scrolltrigger -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
GSAP ScrollTrigger
Scroll-driven animations and interactions.
Quick Start
npm install gsap
import gsap from 'gsap';
import { ScrollTrigger } from 'gsap/ScrollTrigger';
gsap.registerPlugin(ScrollTrigger);
gsap.to('.box', {
x: 500,
scrollTrigger: {
trigger: '.box',
start: 'top center',
end: 'bottom center',
scrub: true
}
});
Core Concepts
Basic ScrollTrigger
gsap.to('.element', {
x: 200,
scrollTrigger: {
trigger: '.element', // Element that triggers the animation
start: 'top center', // When trigger hits viewport center
end: 'bottom center', // When trigger leaves viewport center
toggleActions: 'play pause resume reset'
}
});
Start/End Positions
// Format: "trigger-position viewport-position"
start: 'top center' // Trigger's top hits viewport center
start: 'top 80%' // Trigger's top hits 80% down viewport
start: 'center center' // Trigger's center hits viewport center
start: 'bottom top' // Trigger's bottom hits viewport top
start: 'top top+=100' // Trigger's top hits 100px below viewport top
Position Reference
Details
- Repository
- github.com/bbeierle12/skill-mcp-claude
- Categories
- Animation & Motion, Frontend & UI Code
- First seen
- Jun 3, 2026
More from bbeierle12/skill-mcp-claude
All 3Similar to Gsap Scrolltrigger
More Animation & Motiongsap-framer-scroll-animationgithub/awesome-copilot4.3K installsScroll-driven motion toolkit covering GSAP ScrollTrigger and Framer Motion, with Copilot prompts and recipes.
gsap-performancegreensock/gsap-skills94.4K installsPerformance guidance for GSAP animations covering transforms, batching, quickTo, and ScrollTrigger costs.
locomotive-scrollfreshtechbro/claudedesignskills3K installsSmooth scrolling library with parallax, viewport detection, and GSAP ScrollTrigger integration for scroll-driven animation.
gsapmindrally/skills823 installsExpert GSAP animation guidelines covering performance, timelines, ScrollTrigger, and React cleanup.
gsap-reactbbeierle12/skill-mcp-claude729 installsReact-specific GSAP patterns covering the useGSAP hook, ref handling, scoped context, and cleanup on unmount.
gsap-timelinegreensock/gsap-skills95K installsReference guide for sequencing GSAP animations with timelines, position parameters, labels, nesting, and playback control.