gsap-timeline

Sequences GSAP tweens into timelines using position parameters, labels, and nesting.

Updated Jun 9, 2026
One-click install
npx skills add https://github.com/TOBIASpuchito/Citec --skill gsap-timeline-tobiaspuchito
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gsap-timeline
Source: https://github.com/TOBIASpuchito/Citec/tree/main/citec-frontend/.claude/skills/gsap-timeline
Command: npx skills add https://github.com/TOBIASpuchito/Citec --skill gsap-timeline-tobiaspuchito

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 patterns for sequencing tweens with gsap.timeline(), so multi-step animations stay readable, controllable, and easy to adjust. ## Core Features & Use Cases - Timeline creation and sequencing: Build timelines with gsap.timeline() and place tweens precisely using the position parameter (absolute times, relative offsets like "+=0.5", and "<"/">" placement). - Labels and defaults: Add named labels with addLabel() for readable sequencing and pass shared defaults (duration, ease) to all child tweens via the constructor. - Nesting and playback control: Nest child timelines inside a master timeline and control playback with play(), pause(), reverse(), restart(), time(), progress(), and kill(). - Use Case: When building a landing page hero animation where a logo fades in, text slides up, and a button appears in sequence, use a timeline with labels and the position parameter instead of chained setTimeout or delay values. ## Quick Start Create a GSAP timeline that fades in the header, then slides up the content 0.2 seconds before the header animation ends, using labels and shared defaults.

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, which append tweens 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 aligned with "<" and ">".

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

The position parameter is the third argument to timeline methods that controls when a tween starts. It accepts absolute times like 1, relative values like "+=0.5" or "-=0.2", label names, and placement shortcuts "<" (start with previous) and ">" (after previous ends).

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

Use a timeline instead of chaining animations with delay. Timelines with the position parameter give precise, maintainable sequencing, and changing one tween's duration automatically adjusts the rest of the sequence.

Can I nest GSAP timelines inside other timelines?▼

Yes, timelines can contain other timelines. Add a child timeline to a master timeline with master.add(child, position), which lets you group related animations into reusable, independently defined sequences.

Why should ScrollTrigger not be placed on tweens inside a timeline?▼

ScrollTriggers inside a nested timeline conflict with the parent's control of the playhead. Attach the ScrollTrigger to the top-level timeline or tween instead so scroll position drives the entire sequence consistently.