gsap-timeline
Timelines with sequencing, position parameter, labels, nesting, and...
Developer Setup
Setup & Installation
npx skills add https://github.com/greensock/gsap-skills --skill gsap-timelinenpx skills add https://github.com/greensock/gsap-skills --skill gsap-timelineOverview
What This Skill Does
Timelines with sequencing, position parameter, labels, nesting, and playback control
Application
When to use this Skill
- Integrating gsap timeline into your development workflow.
- Following best practices for timelines with sequencing, position parameter, labels, nesting, and playback control.
- Automating repetitive tasks with AI-assisted tooling.
- Building production-grade applications with proper standards.
- Debugging and troubleshooting common implementation issues.
Documentation
Show Skills.md file
GSAP Timeline
When to Use This Skill
Apply when building multi-step animations, coordinating several tweens in sequence or parallel, or when the user asks about timelines, sequencing, or keyframe-style animation in GSAP.
Related skills: For single tweens and eases use gsap-core; for scroll-driven timelines use gsap-scrolltrigger; for React use gsap-react.
Creating a Timeline
const tl = gsap.timeline();
tl.to(".a", { x: 100, duration: 1 })
.to(".b", { y: 50, duration: 0.5 })
.to(".c", { opacity: 0, duration: 0.3 });
By default, tweens are appended one after another. Use the position parameter to place tweens at specific times or relative to other tweens.
Position Parameter
Third argument (or position property in vars) controls placement:
- Absolute:
1— start at 1 second. - Relative (default):
"+=0.5"— 0.5s after end;"-=0.2"— 0.2s before end.
Recommendations
Explore other random skills
two-factor-authentication-best-practices
Configure TOTP authenticator apps, send OTP codes via email/SMS, manage backup codes, handle trusted devices, and implement 2FA sign-in flows using Better Auth's twoFactor plugin. Use when users need MFA, multi-factor authentication, authenticator setup, or login security with Better Auth.
create-auth-skill
Scaffold and implement authentication in TypeScript/JavaScript apps using Better Auth. Detect frameworks, configure database adapters, set up route handlers, add OAuth providers, and create auth UI pages. Use when users want to add login, sign-up, or authentication to a new or existing project with Better Auth.
best-practices
Best practices for Better Auth integration