gsap-sequencing_skill

This skill helps you orchestrate complex GSAP timelines with labels, nested timelines, and position controls for cinematic UI choreography.
  • JavaScript

6

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill bbeierle12/skill-mcp-claude --skill gsap-sequencing

  • _meta.json380 B
  • SKILL.md10.5 KB

Overview

This skill encapsulates patterns for building complex GSAP timelines with labels, callbacks, nested timelines, and flexible position parameters. It helps orchestrate multi-step animations, coordinate modular animation modules, and manage playback, scrubbing, repeats, and debugging. Use it to create cinematic sequences and finely choreographed UI motion.

How this skill works

The skill provides recipes and helper patterns for constructing gsap.timeline instances, adding labels, nesting child timelines, and using absolute or relative position parameters to align entries. It demonstrates lifecycle callbacks, inline .call usage, time controls (seek, timeScale, reversed), and repeat/yoyo behaviors. Examples include modular factories that return timelines, page transitions, orchestrated dashboard reveals, countdown sequences, and debugging techniques.

When to use it

  • Orchestrating a multi-part entrance or transition that must stay in sync
  • Composing reusable animation modules across pages or components
  • Overlapping animations precisely using labels and position parameters
  • Creating scrubbable or interactive timelines (sliders, scrubbing)
  • Building looping or yoyo animation patterns with repeat and repeatDelay

Best practices

  • Use defaults on timelines to centralize duration and easing for consistency
  • Return child timelines from functions for modular composition and easy testing
  • Prefer labels and named position offsets over hard-coded seconds for readable sequencing
  • Use .call for side effects (state updates, DOM swaps) instead of embedding logic in tweens
  • Slow timeScale during development and use tl.getChildren() to inspect children when debugging

Example use cases

  • Page transition that exits one view, plays an overlay, swaps content, then enters the next view
  • Dashboard reveal that staggers header, sidebar, cards, charts, and CTA with labeled offsets
  • Reusable animation modules (fadeIn, staggerIn, scaleIn) composed into a master timeline
  • Countdown or temporal collapse sequences where digits flip and intensity builds toward zero
  • Scrubbable progress bar tied to a slider controlling tl.progress()

FAQ

Position parameters accept absolute times, relative offsets (+=, -=), and shortcuts like '<' or '>' to align with the previous tween; labels are named anchors you can target with 'label', 'label+=0.2', etc.

When should I use nested timelines?

Use nesting to encapsulate reusable sequences, keep complex flows modular, and allow overlapping/offsetting whole blocks by adding the child timeline with a position parameter.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
gsap-sequencing skill by bbeierle12/skill-mcp-claude | VeilStrat