gsap-timeline

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

2|Updated Jul 25, 2026
One-click install
npx skills add https://github.com/ankaboot-source/boucle --skill gsap-timeline-ankaboot-source
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-timeline
Source: https://github.com/ankaboot-source/boucle/tree/main/.jcode/skills/gsap-timeline
Command: npx skills add https://github.com/ankaboot-source/boucle --skill gsap-timeline-ankaboot-source

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 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, labels, "<" and ">" placement). - Labels, defaults, and nesting: Use addLabel() for readable sequencing, constructor defaults so child tweens inherit duration and ease, and nested timelines for modular choreography. - Playback control: Play, pause, reverse, restart, seek with time() and progress(), and use tweenFromTo() to animate between labels. - Use Case: When building a landing page intro where a logo fades in, a headline slides up, and a call-to-action button scales in with overlap, use this Skill to choreograph all three tweens on one timeline with labels and relative positioning. ## Quick Start Ask the AI to create a GSAP timeline that fades in a header, slides up a subtitle half a second later, and scales in a button at the same time as the subtitle.

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 in a timeline?

The position parameter is the third argument of timeline methods that controls when a tween starts. It accepts absolute times, relative offsets like "+=0.5", label names, and placement shortcuts like "<" to start with the previous tween.

Can I nest GSAP timelines inside other timelines?

Yes, timelines can contain other timelines. Create a child timeline, add tweens to it, then insert it into a master timeline with master.add(child, position) for modular, reusable animation sequences.

Should I use delay or a timeline for chained animations?

Prefer a timeline over chained delays for multi-step animation. Timelines keep sequencing explicit through the position parameter and labels, making the choreography easier to read, adjust, and control during playback.

Can ScrollTrigger be placed on tweens inside a timeline?

No, ScrollTriggers should only be attached to top-level tweens or the timeline itself, not to tweens nested inside a timeline. Put the ScrollTrigger on the timeline that contains the sequenced tweens.