gsap-timeline

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

Updated Sep 1, 2026
One-click install
npx skills add https://github.com/umairshahid622/perfumora --skill gsap-timeline-umairshahid622
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gsap-timeline
Source: https://github.com/umairshahid622/perfumora/tree/main/perfumora/.agents/skills/gsap-timeline
Command: npx skills add https://github.com/umairshahid622/perfumora --skill gsap-timeline-umairshahid622

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 multi-step animations declaratively. ## 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 flags like "<" and ">"). - Labels and Nesting: Add named labels with addLabel(), nest child timelines inside a master timeline, and play between labels with tweenFromTo(). - Playback Control: Play, pause, reverse, restart, seek with time() or progress(), and kill timelines programmatically. - Use Case: Build a page intro where a logo fades in, a headline slides up 0.2s later, and a call-to-action button scales in at the same time as the headline, all coordinated through one timeline with shared defaults. ## Quick Start Ask the AI to create a GSAP timeline that fades in a header, then slides up a paragraph 0.3 seconds later, with both tweens sharing a default duration and ease.

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 labels.

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

The position parameter controls where a tween is placed in a timeline. It accepts absolute times (1), relative offsets ("+=0.5", "-=0.2"), label names, and placement flags like "<" to start with the previous tween or ">" to start after it.

Can I nest GSAP timelines inside other timelines?▼

Yes, timelines can contain other timelines. Create a child timeline, populate it with tweens, then add it to a master timeline with master.add(child, position) to compose complex animation sequences.

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

Use a timeline instead of chaining delays. Timelines with the position parameter give precise, maintainable control over sequencing, while chained delays break easily when durations change.

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

ScrollTriggers inside a timeline conflict with the timeline's own playhead control. Attach the ScrollTrigger to the top-level timeline or tween so scrubbing and triggering behave predictably.