How to use these prompts
Each entry is a ready-to-paste prompt that tells an AI coding assistant exactly how to build one specific GSAP animation. You browse the library, find an effect you like (and watch it run live), copy the prompt, and paste it into your assistant inside your own project.
- 1
Find an effect
Browse, search, or open the Filters drawer to narrow by category, trigger, or plugin. Click any card to open it and see the animation running live, then replay it.
- 2
Copy the prompt (and tweak it)
In a prompt’s popup, edit the text if you want — replace
[SELECTOR]with your element’s CSS selector, and adjust durations/eases/values — then click Copy. - 3
Paste into your AI coding assistant
Paste it into Cursor, Claude Code, GitHub Copilot, v0, or any assistant, working inside your actual project. The prompt is written so the assistant knows which elements to target and which GSAP plugins to register.
- 4
Run it
The assistant generates the GSAP code. Drop it in and run — GSAP is now 100% free (including every plugin), so it loads from the CDN or installs from npm with no license needed.
About [SELECTOR] and values
Prompts use [SELECTOR] as a placeholder for the element(s) you want to animate (e.g. .hero-title or #cta). Numbers like duration, stagger, and ease are sensible defaults — change them to taste before copying.
Plugins are included and free
Some effects use GSAP plugins (ScrollTrigger, SplitText, DrawSVG, MorphSVG, Flip, Draggable, and more). The prompt instructs the assistant to register/load them. Since GSAP went fully free, every plugin is available from the public CDN/npm — no token, no Club membership.
Reduced motion
Where it matters, the prompts already include prefers-reduced-motion handling via gsap.matchMedia(), so the generated code respects users who opt out of animation.
Live demos & downloads
Every card runs a real, self-contained demo in an isolated sandbox — what you see is what the prompt produces. Inside a prompt’s popup you can expand Demo source to read the HTML/CSS/JS, or click Download .html to grab a standalone, runnable file.
Favorites, custom prompts & backup
Tap the ♥ on any card to save it; use + Add prompt to create your own. These live in your browser, so they stay private to this device.
Export downloads a JSON backup of your favorites + custom prompts. Import merges that file back in — use it to move your collection to another browser or device, or just to keep a backup. (Cross-device sync via accounts is planned for a later version.)