Animations make websites feel alive. GSAP is a powerful tool for creating smooth animations. With React, the useGSAP hook makes it easy to add animations and clean them up when a component is removed.
You use refs to target specific elements. The hook also supports a scope so your animations only affect the right parts. This prevents bugs and keeps your code tidy.
Cleaning up animations on unmount is very important. The useGSAP hook does this automatically. Jumping between pages or closing a component will not leave broken animations behind.
Global
mkdir -p ~/.claude/skills/gsap-reactProject
mkdir -p .claude/skills/gsap-reactSource Repository
Frontend Designanthropics/skills
Create striking frontend interfaces with bold design and polished code every time
Vercel React Best Practicesvercel-labs/agent-skills
Optimize React and Next.js apps using proven Vercel performance guidelines
Design Taste Frontendleonxlnx/taste-skill
Enforce premium frontend design with metric-based rules and smart component architecture
Vercel Composition Patternsvercel-labs/agent-skills
Clean React components with composition instead of boolean props
Shadcnshadcn/ui
Manage shadcn UI components easily with CLI commands and clear styling rules
Impeccablepbakaus/impeccable
Polish your frontend interfaces with expert design critique and code
Minimalist Uileonxlnx/taste-skill
Build warm minimal web interfaces with editorial typography and flat bento grids
Industrial Brutalist Uileonxlnx/taste-skill
Raw mechanical UIs fusing Swiss print with military terminal aesthetics and high data density