gsap-timeline

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

Updated Jul 16, 2026
One-click install
npx skills add https://github.com/X-manist/Cohmira --skill gsap-timeline-x-manist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-timeline
Source: https://github.com/X-manist/Cohmira/tree/main/src/builtin-plugins/openmontage/.agents/skills/gsap-timeline
Command: npx skills add https://github.com/X-manist/Cohmira --skill gsap-timeline-x-manist

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 guidance for building GSAP timelines that sequence, overlap, and control 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 Defaults: Use addLabel() for readable sequencing and timeline-level defaults so child tweens inherit duration and easing. - Nesting and Playback Control: Nest child timelines inside a master timeline and control playback with play(), pause(), reverse(), restart(), time(), and progress(). - Use Case: When building a landing page intro where a logo fades in, a headline slides up, and a button scales in with overlap, use this Skill to choreograph all three tweens on one timeline with labels instead of stacking setTimeout or delay values. ## Quick Start Ask the AI to create a GSAP timeline that fades in a header, then slides up a subtitle starting 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; tweens run one after another by default. Use the position parameter as the third argument to overlap or offset tweens, such as "+=0.5" or "<".

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

The position parameter is the third argument of timeline methods and controls when a tween starts. It accepts absolute times like 1, relative offsets like "+=0.5" or "-=0.2", labels, and "<" or ">" to align with the previous tween's start or end.

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, position) to compose complex sequences from reusable parts.

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

Prefer a timeline over chained delays for multi-step animation. Timelines with the position parameter are easier to read, adjust, and control as a unit, while scattered delay values become fragile as sequences grow.

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

ScrollTrigger should only be attached to the top-level timeline or tween, not to tweens nested inside a timeline. Nested ScrollTriggers conflict with the parent timeline's playhead control and produce unpredictable scroll behavior.