gsap
Installation
SKILL.md
GSAP
One entry point for every GSAP topic. The topic guides live in references/; read the one that fits before writing code.
For our defaults (scroll-reveal presets, Lenis, page transitions, reduced motion) use the animation skill first. It builds on the topics below.
How to use
- Pick the topic whose "use it when" cell fits the request. Usually one; two are fine (e.g.
react+scrolltrigger). - Read
references/<topic>.mdbefore writing anything. It holds the rules that decide whether the answer is right. - Start from
corewhen unsure. Related topics are linked inside each guide. - Register every plugin you use (
gsap.registerPlugin(...)) and clean up on unmount.