gsap

Create GSAP-driven HUD animations with reduced-motion support and cleanup.

1|Updated May 24, 2026
One-click install
npx skills add https://github.com/gavin100305/traffic --skill gsap-gavin100305
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap
Source: https://github.com/gavin100305/traffic/tree/main/agents/.agents/skills/gsap
Command: npx skills add https://github.com/gavin100305/traffic --skill gsap-gavin100305

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

GSAP animation patterns help you create consistent, high-performance visual transitions for a JARVIS-style HUD without leaving behind lingering tweens or causing layout jank.

Core Features & Use Cases

  • HUD Transition Animations: Entrance/exit panel movement using performant transform/opacity properties.
  • Stateful Effects: Status indicator animations via timelines that can be started, updated, and cleaned up reliably.
  • Complex Sequences & Scroll Effects: Master timelines with labels, staggered sequences, and ScrollTrigger-based reveals.
  • Accessibility & Performance Guardrails: Reduced-motion handling and explicit cleanup on unmount to avoid memory leaks.

Quick Start

Use the gsap skill to implement a Vue HUD panel entrance that respects reduced-motion preferences and properly kills the tween on component unmount.

Frequently Asked Questions about gsap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create smooth HUD panel entrance and exit animations using GSAP?

GSAP HUD panel animations use transform and opacity properties to deliver smooth entrance and exit transitions. By orchestrating timelines during component lifecycle changes, you ensure panel movement remains performant and visually consistent without causing layout jank.

How do I handle reduced-motion preferences when building ScrollTrigger UI reveals?

Reduced-motion support for ScrollTrigger UI reveals requires checking user motion preferences before initializing animations. When reduced motion is requested, GSAP animations should be skipped or neutralized, ensuring accessible timeline sequences and scroll-driven effects respect user accessibility settings.

Why do my Vue transitions leave behind lingering tweens and cause memory leaks?

Lingering tweens cause memory leaks because GSAP animations are not properly killed on component unmount. Deterministic cleanup requires explicitly killing active tweens, timelines, and ScrollTrigger instances during the Vue component lifecycle teardown phase to prevent residual memory buildup.

Can I use GSAP timeline orchestration for staggered status indicator sequences?

GSAP timeline orchestration supports staggered status indicator sequences through master timelines with labels. You can reliably start, update, and clean up stateful timeline sequences, ensuring status indicators animate in complex chained patterns without leaving behind active processes.

What is the best way to prevent layout jank when animating web interface HUD elements?

Preventing layout jank in HUD animations requires using transform and opacity-first performance practices. By animating only composite properties via GSAP instead of triggering layout recalculations, web interface transitions maintain high frame rates and smooth visual rendering.