gsap-timeline

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

Updated May 4, 2026
One-click install
npx skills add https://github.com/Gito125/gideon_portfolio --skill gsap-timeline-gito125
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gsap-timeline
Source: https://github.com/Gito125/gideon_portfolio/tree/main/.github/skills/gsap-timeline
Command: npx skills add https://github.com/Gito125/gideon_portfolio --skill gsap-timeline-gito125

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gsap.

What problem does it solve? Coordinating multiple GSAP animations with chained delays is fragile and hard to maintain. This Skill provides the patterns for building readable, controllable animation sequences with gsap.timeline(), so multi-step motion stays synchronized and easy to adjust. ## Core Features & Use Cases - Timeline Sequencing: Append tweens in order or place them precisely with the position parameter (absolute times, relative offsets, labels, "<" and ">" placement). - Labels and Defaults: Use addLabel() for readable choreography and constructor defaults so child tweens inherit duration and ease. - Nesting and Playback Control: Nest child timelines inside a master timeline and control playback with play(), reverse(), restart(), time(), progress(), and tweenFromTo(). - Use Case: Build a hero intro where a heading slides in, an image fades up 0.2s later, and a caption appears at the same start time — all orchestrated in one timeline with labels instead of stacked delays. ## Quick Start Ask the AI to create a GSAP timeline that animates three elements in sequence with a shared default ease and a label marking the outro section.

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 instead of chaining delays.

What is the GSAP position parameter in a timeline?▼

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

Can I nest timelines inside other GSAP 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 put ScrollTrigger on tweens inside a timeline?▼

No, ScrollTrigger should only be attached to the top-level timeline or tween, never to tweens nested inside a timeline. Nested ScrollTriggers conflict with the parent timeline's control of its children.

How do I make all tweens in a timeline share the same ease?▼

Pass a defaults object to the timeline constructor, such as gsap.timeline({ defaults: { duration: 0.5, ease: "power2.out" } }). Every child tween then inherits those values unless it overrides them.