gsap-timeline
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
Skill by 12-Studio
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/12-studio-gsap-timeline
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
gsap-timeline- Description
- Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback. Use when sequencing animations, choreographing keyframes, or when the user asks about animation sequencing, timelines, or animation order (in GSAP or when recommending a library that supports timelines).
- License
- MIT
- Instructions
- 102 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# GSAP Timeline
## When to Use This Skill
Apply when building multi-step animations, coordinating several tweens in sequence or parallel, or when the user asks about timelines, sequencing, or keyframe-style animation in GSAP.
**Related skills:** For single tweens and eases use **gsap-core**; for scroll-driven timelines use **gsap-scrolltrigger**; for React use **gsap-react**.
## Creating a Timeline
```javascript
const tl = gsap.timeline();
tl.to(".a", { x: 100, duration: 1 })
.to(".b", { y: 50, duration: 0.5 })
.to(".c", { opacity: 0, duration: 0.3 });
```
By default, tweens are **appended** one after another. Use the **position parameter** to place tweens at specific times or relative to other tweens.
## Position Parameter
Third argument (or position property in vars) controls placement:
- **Absolute**: `1` — start at 1 second.
- **Relative (default)**: `"+=0.5"` — 0.5s after end; `"-=0.2"` — 0.2s before end.
- **Label**: `"labelName"` — at that label; `"labelName+=0.3"` — 0.3s after label.
- **Placement**: `"<"` — start when recently-added animation starts; `">"` — start when recently-added animation ends (default); `"<0.2"` — 0.2s after recently-added animation start.
Examples:
```javascript
tl.to(".a", { x: 100 }, 0); // at 0
tl.to(".b", { y: 50 }, "+=0.5"); // 0.5s after last end
tl.to(".c", { opacity: 0 }, "<"); // same start as previous
tl.to(".d", { scale: 2 }, "<0.2"); // 0.2s after previous start
```
## Timeline Defaults
Pass defaults into the timeline so all child tweens inherit:
```javascript
const tl = gsap.timeline({ defaults: { duration: 0.5, ease: "power2.out" } });
tl.to(".a", { x: 100 }).to(".b", { y: 50 }); // both use 0.5s and power2.out
```
## Timeline Options (constructor)
- **paused: true** — create paused; call `.play()` to start.
- **repeat**, **yoyo** — same as tweens; apply to whole timeline.
- **onComplete**, **onStart**, **onUpdate** — timeline-level callbacks.
- **defaults** — vars merged into every child tween.
## Labels
Add and use labels for readable, maintainable sequencing:
```javascript
tl.addLabel("intro", 0);
tl.to(".a", { x: 100 }, "intro");
tl.addLabel("outro", "+=0.5");
tl.to(".b", { opacity: 0 }, "outro");
tl.play("outro"); // start from "outro"
tl.tweenFromTo("intro", "outro"); // pauses the timeline and returns a new Tween that animates the timeline's playhead from intro to outro with no ease.
```
## Nesting Timelines
Timelines can contain other timelines.
```javascript
const master = gsap.timeline();
const child = gsap.timeline();
child.to(".a", { x: 100 }).to(".b", { y: 50 });
master.add(child, 0);
master.to(".c", { opacity: 0 }, "+=0.2");
```
## Controlling Playback
- **tl.play()** / **tl.pause()**
- **tl.reverse()** / **tl.progress(1)** then **tl.reverse()**
- **tl.restart()** — from start.
- **tl.time(2)** — seek to 2 seconds.
- **tl.progress(0.5)** — seek to 50%.
- **tl.kill()** — kill timeline and (by default) its children.
## Official GSAP Best practices
- ✅ Prefer timelines for sequencing
- ✅ Use the **position parameter** (third argument) to place tweens at specific times or relative to labels.
- ✅ Add **labels** with `addLabel()` for readable, maintainable sequencing.
- ✅ Pass **defaults** into the timeline constructor so child tweens inherit duration, ease, etc.
- ✅ Put ScrollTrigger on the timeline (or top-level tween), not on tweens inside a timeline.
## Do Not
- ❌ Chain animations with **delay** when a **timeline** can sequence them; prefer `gsap.timeline()` and the position parameter for multi-step animation.
- ❌ Forget to pass **defaults** (e.g. `defaults: { duration: 0.5, ease: "power2.out" }`) when many child tweens share the same duration or ease.
- ❌ Forget that **duration** on the timeline constructor is not the same as tween duration; timeline “duration” is determined by its children.
- ❌ Nest animations that contain a ScrollTrigger; ScrollTriggers should only be on top-level Tweens/Timelines.From 12-Studio/Tackl, MIT.
More from 12-Studio/Tackl
- 0.635score
lenis-react
12-Studio
Integrate Lenis smooth scroll into React and Next.js projects.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
webgl-expert
12-Studio
Expert guide for WebGL API development including 3D graphics, shaders (GLSL), rendering pipeline, textures, buffers, performance optimization, and canvas…
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
gsap-tackl
12-Studio
Implements and orchestrates GSAP in Tackl — useAnimation, useGSAP, ScrollTrigger, Lenis sync, page transitions, and reduced-motion fallbacks.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
react-hook-creator
12-Studio
Create react hook creator operations.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
tackl-performance
12-Studio
Optimizes Tackl apps for Web Vitals, reduced motion, and scroll performance.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
react-context-setup
12-Studio
Configure react context setup operations.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
scss-modules
12-Studio
Styles React components with SCSS CSS Modules and the Tackl design system.
SkillAFreshness: A★ 10Claude Code +9 - 0.626score
motion-framer
12-Studio
Modern animation library for React and JavaScript.
SkillAFreshness: A★ 10Claude Code +9 - 0.626score
threejs-webgl
12-Studio
Comprehensive skill for Three.js 3D web development.
SkillAFreshness: A★ 10Claude Code +9 - 0.622score
react-three-fiber
12-Studio
Build declarative 3D scenes with React Three Fiber (R3F) - a React renderer for Three.js.
SkillAFreshness: A★ 10Claude Code +9 - 0.621score
web3d-integration-patterns
12-Studio
Meta-skill for combining Three.js, GSAP ScrollTrigger, React Three Fiber, Motion, and React Spring for complex 3D web experiences.
SkillAFreshness: A★ 10Claude Code +9 - 0.600score
grilling
12-Studio
Grill the user relentlessly about a plan or design.
SkillAFreshness: A★ 10Claude Code +9
Signals
- Stars
- 10
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Jul 22, 2026 (3 months ago)
- Last release
- Oct 11, 2026 (17 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/12-Studio/Tackl
- Website
- tackl.netlify.app/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.683score
gsap-timeline
greensock
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
SkillDFreshness: D★ 17KClaude Code +9 - 0.339score
gsap-timeline
NachikethReddyY
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
SkillAFreshness: AClaude Code +9 - 0.339score
gsap-timeline
phamTuan207
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
SkillAFreshness: AClaude Code +9 - 0.335score
gsap-timeline
Vinayak-RZ
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
SkillBFreshness: B★ 2Claude Code +9 - 0.322score
gsap-timeline
imMamdouhaboammar
Official GSAP skill for timelines - gsap.timeline(), position parameter, nesting, playback.
SkillAFreshness: A★ 33Claude Code +9 - 0.322score
gsap-timeline
imMamdouhaboammar
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
SkillAFreshness: A★ 33Claude Code +9 - 0.285score
gsap-timeline
eivmosn
Official GSAP skill for timelines — gsap.timeline(), position parameter, nesting, playback.
SkillCFreshness: CClaude Code +9
More from 12-Studio
- 0.635score
lenis-react
12-Studio
Integrate Lenis smooth scroll into React and Next.js projects.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
react-hook-creator
12-Studio
Create react hook creator operations.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
gsap-tackl
12-Studio
Implements and orchestrates GSAP in Tackl — useAnimation, useGSAP, ScrollTrigger, Lenis sync, page transitions, and reduced-motion fallbacks.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
tackl-performance
12-Studio
Optimizes Tackl apps for Web Vitals, reduced motion, and scroll performance.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
react-context-setup
12-Studio
Configure react context setup operations.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
scss-modules
12-Studio
Styles React components with SCSS CSS Modules and the Tackl design system.
SkillAFreshness: A★ 10Claude Code +9
Cite this page
gsap-timeline skill. Agent Mart. https://agentmart.dev/skills/12-studio-gsap-timeline (last updated 2026-10-24)