gsap-timeline

Sequences and choreographs multi-step GSAP animations using timelines, labels, and the position parameter.

1|Updated Aug 17, 2026
One-click install
npx skills add https://github.com/NalinDalal/skillset --skill gsap-timeline-nalindalal
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gsap-timeline
Source: https://github.com/NalinDalal/skillset/tree/main/skills/ui/gsap-timeline
Command: npx skills add https://github.com/NalinDalal/skillset --skill gsap-timeline-nalindalal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gsap.

What problem does it solve? Coordinating multiple animations with chained delays is fragile and hard to maintain. This Skill provides the official GSAP timeline patterns for sequencing, overlapping, and controlling groups of tweens in a readable, maintainable way. ## Core Features & Use Cases - Timeline Sequencing: Create timelines with gsap.timeline() and place tweens precisely using the position parameter (absolute times, relative offsets, labels, < and > placement). - Labels and Nesting: Use addLabel() for readable sequencing and nest child timelines inside a master timeline for complex choreography. - Playback Control: Play, pause, reverse, restart, seek with time() and progress(), and kill timelines programmatically. - Use Case: When building a page intro where a logo fades in, a headline slides up, and a button scales in with overlap, construct one timeline with defaults and position parameters instead of stacking delayed tweens. ## Quick Start Ask the agent to build a GSAP timeline that fades in a header, slides up the content 0.2 seconds later, and plays a nested outro timeline on a label.

Frequently Asked Questions about gsap-timeline

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

FAQPage Schema
How do I sequence multiple GSAP animations in order?▼

Create a timeline with gsap.timeline() and chain .to() calls; tweens append one after another by default. Use the position parameter as the third argument to place tweens at absolute times, relative offsets like "+=0.5", or labels.

What is the GSAP position parameter and how does it work?▼

The position parameter controls when a tween starts within a timeline. It accepts absolute times (1), relative offsets ("+=0.5", "-=0.2"), labels ("intro"), and placement shortcuts ("<" to start with the previous tween, ">" to start after it).

Can I nest GSAP timelines inside other timelines?▼

Yes, timelines can contain other timelines. Build a child timeline with its own tweens, then add it to a master timeline with master.add(child, 0) and position it like any other animation.

Should I use delay or a timeline for multi-step GSAP animations?▼

Prefer a timeline over chained delays for multi-step animation. Timelines give you the position parameter, labels, shared defaults, and unified playback control, while delay chains are fragile and hard to reorder.

Where should ScrollTrigger go when using GSAP timelines?▼

Put ScrollTrigger on the timeline or top-level tween, never on tweens nested inside a timeline. Nested ScrollTriggers conflict with the timeline's own playhead control and cause broken scroll-driven behavior.

How do I control GSAP timeline playback programmatically?▼

Use tl.play(), tl.pause(), tl.reverse(), and tl.restart() for transport control. Seek with tl.time(2) for seconds or tl.progress(0.5) for percentage, and call tl.kill() to destroy the timeline and its children.