GSAP
Professional animation library for high-performance CSS, SVG, canvas and React animations.
2. Maintained
github.com/greensock/GSAP3. Used by agents' projects
Dependency in 113 public GitHub projects set up for AI coding agents that we scanned (1.8%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
gsap.com/llms.txtFrom the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What GSAP does
GSAP is a framework-agnostic engine that tweens any value JavaScript can reach. Its scroll, SVG, text and FLIP plugins are now all free to use, under GreenSock's own "no charge" license rather than an open-source one.
GSAP popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How GSAP is used
- GSAP is a dependency in 113 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.3% of the 4,867 JavaScript/TypeScript ones), #6 of 46 in animation and motion.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 751; those are left out of every share on this page.
- The most used alternative in our scan is Framer Motion (495 projects).
- Projects that use it most often also use Tailwind CSS (88.5%), React (81.4%), Lucide React (61.9%).
- It is more common in projects set up for Roo Code (5.4%) than for GitHub Copilot (1.9%).
By coding agent
Often used with
GSAP in practice
Strengths
The README lists CSS, SVG, canvas, React, Vue, WebGL, colors, strings, motion paths and generic objects as targets. The same tween API covers all of them.
If you store a tween or timeline in a variable, you can call <code>pause()</code>, <code>reverse()</code>, <code>seek()</code>, <code>progress()</code> and <code>timeScale()</code> on it. The docs point out that <code>timeScale</code> retimes a whole sequence without editing individual durations.
The README says that, thanks to Webflow, plugins once limited to Club GSAP members are free, including SplitText and MorphSVG. This applies to commercial projects too.
The <code>@gsap/react</code> package exposes <code>useGSAP()</code>. The README calls it a drop-in replacement for the usual effect hooks that automates cleanup.
Watch out for
GSAP is free, but it ships under GreenSock's own "no charge" license, not MIT or a similar license. Read the terms at gsap.com/standard-license before you redistribute it.
Only the core plugins (Attr, CSS, Modifiers, Snap) are built in. Everything else needs a separate import and a call to <code>gsap.registerPlugin()</code>.
If an ease name does nothing, it may not be in the core file. SlowMo, RoughEase, ExpoScaleEase and the Custom* eases all need a separate load.
More about GSAP
Agent Skills for it
- : Official AI skills for GSAP. These skills teach AI coding agents how to correctly use GSAP (GreenSock Animation Platform), including best pr
- gsap: Use when you need to add or debug professional web animations with GSAP (timelines, ScrollTrigger, stagger, transforms) in HTML/CSS/JS/React
- gsap: GSAP animation reference for HyperFrames. Covers gsap.to(), from(), fromTo(), easing, stagger, defaults, timelines (gsap.timeline(), positio
Head to head
- Framer Motion vs GSAP used together in 45 projects
- Motion vs GSAP used together in 31 projects
Packages around it
- @gsap/react: useGSAP() hook for React
- @gsap/business: @gsap/business
- @react-three: React Three Fiber scope
- three: 3D rendering
- react: UI library
- framer-motion: React animation
Alternatives
GSAP This page
Simple and powerful animation library for React components.
Animation library for JavaScript and React with simple, powerful motion primitives.
Physics-based animation library for React and React Three Fiber with smooth transitions.
Lightweight JavaScript animation engine for creating smooth animations.
Get started
Install it.
npm install gsapRules for your agent
## GSAP
- Install with `npm install gsap` and import with `import gsap from "gsap"`. Import plugins from their own paths, such as `gsap/ScrollTrigger`.
- Call `gsap.registerPlugin(...)` for every non-core plugin (ScrollTrigger, Flip, Draggable, MotionPathPlugin and others) before you use it.
- Use the v3 API: `gsap.to(target, { duration: 2, x: 100 })` and `gsap.timeline()`. Do not use `TweenMax`, `TimelineMax` or a positional duration argument.
- Write eases as strings like `"power3.inOut"`. `.out` is the default. Load EasePack and the Custom* eases separately.
- Use `stagger` inside the vars object, not the old `staggerTo` methods.
- If tweens on the same target can conflict, set `overwrite: "auto"` per tween or through `gsap.defaults()`. The v3 default is no overwriting.
- In React, use `useGSAP()` from `@gsap/react` instead of `useEffect()`/`useLayoutEffect()` so cleanup is automatic.
AgentGid articles about GSAP
Claude Code Skills for Video and Animation: 8 GitHub Repos
A Chinese list of 8 Claude Code skills for video and animation, checked on GitHub: all were created in October 2026, one is not a skill at all, one needs paid DaVinci Resolve Studio under a non-commercial licence, and two lean on paid voice or image services.
A Motion Design Studio for Claude Code: 20 Open-Source Repos
A viral list promises 20 open-source repos to run a motion design studio with Opus 5.5. We checked every one on GitHub: which are really open source, which two have gone quiet, and which skills make the agent write current animation code.