# GSAP — card for AI agents

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

Category: Animation and motion · npm package `gsap` · latest version 3.15.0 (checked 2026-11-01)
Install: `npm install gsap`
License: Standard 'no charge' license: https://gsap.com/standard-license. (custom)

In your own product (generator, app, hosted service): **unclear**. A license of its own: read it before building a product on it.

## Warnings
- The license is custom (Standard 'no charge' license: https://gsap.com/standard-license.): read it before shipping closed-source software or a hosted service.

## Rules for AI agents (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.

## Agent Skills for it
- Official: greensock/gsap-skills (8 skills): `npx skills add greensock/gsap-skills`
- gsap from MengTo/Skills: `npx skills add MengTo/Skills --skill gsap`
- gsap from nateherkai/herk-edit-kit: `npx skills add nateherkai/herk-edit-kit --skill gsap`

## Docs written for agents
- [llms.txt (index of the docs)](https://gsap.com/llms.txt)

## What it is
- GSAP (GreenSock Animation Platform) is a JavaScript animation library. The repository dates from September 2012. The README describes the core as "a high-speed property manipulator, updating values over time with extreme accuracy." It can target CSS, SVG, canvas, WebGL, colors, strings and plain objects. The maintainers claim it runs "on over 12 million sites" and is "up to 20x faster than jQuery".
- You call `gsap.to()`, `gsap.from()` or `gsap.fromTo()` on a target, or group these calls in a `gsap.timeline()`. Each call returns a tween or timeline that you can pause, reverse, seek or speed up. Extra features ship as optional plugins that you register: ScrollTrigger, ScrollSmoother, MorphSVG, SplitText, MotionPath, Flip, Draggable and Observer. For React there is a separate `@gsap/react` package with a `useGSAP()` hook.
- It suits developers building scroll-driven pages, sequenced UI motion or SVG effects in any framework or none. Install it with `npm install gsap` or load it from a CDN. The npm files are ES modules, and a `/dist/` folder holds UMD builds.

## Caveats
- 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 `gsap.registerPlugin()`.
- 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.
- No overwrite checks by default in v3: GSAP 3 does not resolve conflicts between tweens that animate the same target. Older code that relied on the "auto" overwrite mode needs `gsap.defaults({ overwrite: "auto" })`.
- Legacy stagger methods changed return type: The old `TweenMax.stagger*` methods returned an array of tweens. Their GSAP 3 legacy versions return a Timeline instead. Use `getChildren()` to get the array back.

## Numbers (AgentGid data)
- Gid Score: 75.8 (#160 of all tools, 3 of 45 in its category)
- Used in 114 public projects set up for AI coding agents (1.8%)
- Downloads last week: 8,301,468 (as of 2026-11-17), +25.4% over 4 weeks
- GitHub stars: 30,804 (as of 2026-11-17)
- Last push: 2026-11-04

## Often used with
Tailwind CSS 88.6%, React 81.6%, Lucide React 60.5%, clsx 58.8%, Framer Motion 40.4%, ESLint 73.7%

## Checked alternatives (same job)
- Framer Motion: https://agentgid.com/tools/framer-motion/agent.md
- Motion: https://agentgid.com/tools/motion/agent.md
- React Spring: https://agentgid.com/tools/react-spring-npm/agent.md
- Anime.js: https://agentgid.com/tools/animejs/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/gsap/
- Homepage: https://gsap.com
- Repository: https://github.com/greensock/GSAP
- Source: https://github.com/greensock/GSAP#readme
- Source: https://github.com/greensock/GSAP
- Source: https://www.npmjs.com/package/gsap
- Source: https://gsap.com/resources/3-migration.md
- Source: https://gsap.com/resources/getting-started/control.md
- Source: https://gsap.com/resources/getting-started/Easing.md

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
