Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

GSAP

Professional animation library for high-performance CSS, SVG, canvas and React animations.

Animation and motionNPM

GitHubWebsite

1. License

License from npm.

github.com/greensock/GSAP

From 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

77 / 100
Gid Score, #146 overall
8.4M
downloads a week, npm
31.2K
GitHub stars
113
agent projects use it
GSAP: downloads per weeknpm, gsap 8,403,446
GSAP: GitHub starsgreensock/GSAP 31,169

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

70 projects, 2.1%
59 projects, 1.9%
56 projects, 2.3%
16 projects, 3.4%
12 projects, 3.5%
12 projects, 2.6%
10 projects, 3.6%
6 projects, 5.4%

Often used with

In 88.5% of its projects
In 81.4% of its projects
In 61.9% of its projects
In 59.3% of its projects
In 39.8% of its projects
In 53.1% of its projects
In 73.5% of its projects
In 48.7% of its projects

GSAP in practice

Strengths

Animates more than DOM styles

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.

Every tween is a controllable object

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.

Formerly paid plugins are now free

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.

React hook handles cleanup

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

Not an OSI open-source license

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.

Plugins must be loaded and registered

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>.

Some eases live outside the core

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

See all

Head to head
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
More in Animation and motion

Alternatives

GSAP This page

Standard 'no charge' license: https://gsap.com/standard-license.Gid 778.4M/wk

Framer Motion

Simple and powerful animation library for React components.

MITGid 8874M/wk

Motion

Animation library for JavaScript and React with simple, powerful motion primitives.

MITGid 8339.7M/wk

React Spring

Physics-based animation library for React and React Three Fiber with smooth transitions.

MITGid 662.3M/wk

Anime.js

Lightweight JavaScript animation engine for creating smooth animations.

MITGid 621.2M/wk

Compare GSAP with another tool

Get started

Install it.

npm install gsap

Rules for your agent

Paste into AGENTS.md or CLAUDE.md
## 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

All guides