nexu-io avatar

Gsap Timeline

If you're sequencing multiple GSAP animations, this is how you avoid stacking delays everywhere. It gives you timeline(), the position parameter for placing tweens relative to each other or at labels, and proper nesting. The position shortcuts like "<" (start with previous) and ">" (start after previous) alone will clean up most animation choreography code. Pass defaults into the constructor so child tweens inherit duration and easing without repeating yourself. One thing to remember: put ScrollTrigger on the timeline itself, not on individual tweens inside it, or you'll have a bad time debugging.

skills.sh installs
2.9K
GitHub stars
106.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add nexu-io/open-design --skill gsap-timeline --agent claude-code

Installs into .claude/skills of the current project.

Files

GSAP Timeline

Curated from GreenSock's official GSAP skills: https://github.com/greensock/gsap-skills

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:

Sponsors

Details

Repository
github.com/nexu-io/open-design
Category
Design & UI/UX
First seen
Jun 3, 2026

More from nexu-io/open-design

All 217
1nexu-io avatardigits-fintech-swiss-templatenexu-io/open-designSwiss-grid fintech deck template in black / warm paper / neon-lime contrast. Use when users ask for premium data-story slides with strict modular layout, bold n2.9Kskills.sh installs
2nexu-io avatarimagegennexu-io/open-designGenerate and edit images using OpenAI's Image API for project assets — UI mockups, icons, illustrations, social cards, and visual references.2.9Kskills.sh installs
3nexu-io avatarfal-visionnexu-io/open-designAnalyze images — segment objects, detect, run OCR, describe, and answer visual questions via fal.ai vision models.2.9Kskills.sh installs
4nexu-io avatarwpdsnexu-io/open-designWordPress Design System. Apply WordPress's official design tokens, typography, and component patterns to themes and sites.2.8Kskills.sh installs
5nexu-io avatarslack-gif-creatornexu-io/open-designCreate animated GIFs optimized for Slack with validators for size constraints and composable animation primitives.2.8Kskills.sh installs
6nexu-io avatargsap-performancenexu-io/open-designOfficial GSAP skill for performance — prefer transforms, avoid layout thrashing, will-change, batching. Use when optimizing GSAP animations, reducing jank, or w2.3Kskills.sh installs