{
 "kind": "tool",
 "slug": "gsap",
 "path": "tools/gsap/",
 "name": "GSAP",
 "maker": null,
 "density": "profile",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Animation and motion",
   "tools/animation/"
  ]
 ],
 "lead": "Professional animation library for high-performance CSS, SVG, canvas and React animations.",
 "chips": [
  {
   "label": "Animation and motion",
   "path": "tools/animation/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install gsap"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/greensock/GSAP"
  },
  {
   "label": "Website",
   "href": "https://gsap.com"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Standard 'no charge' license: https://gsap.com/standard-license.",
   "status": "cond",
   "sub": "Read the terms",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/greensock/GSAP"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 4, 2026",
   "note": "",
   "src": "https://github.com/greensock/GSAP"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "113 projects",
   "status": "info",
   "sub": "#6 of 46 in its category",
   "note": "Dependency in 113 public GitHub projects set up for AI coding agents that we scanned (1.8%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Official agent skills",
   "status": "yes",
   "sub": "1 from the makers",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": "https://gsap.com/llms.txt"
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What GSAP does",
   "parts": [
    {
     "t": "prose",
     "text": "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."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "GSAP popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "77",
       "of": "/ 100",
       "l": "Gid Score, #146 overall"
      },
      {
       "n": "8.4M",
       "l": "downloads a week, npm"
      },
      {
       "n": "31.2K",
       "l": "GitHub stars"
      },
      {
       "n": "113",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How GSAP is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "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%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "70 projects, 2.1%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "59 projects, 1.9%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "56 projects, 2.3%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "16 projects, 3.4%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "12 projects, 3.5%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      },
      {
       "l": "12 projects, 2.6%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "10 projects, 3.6%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      },
      {
       "l": "6 projects, 5.4%",
       "v": "Roo Code",
       "path": "agents/roo-code/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 88.5% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 81.4% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 61.9% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 59.3% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 39.8% of its projects",
       "v": "Framer Motion",
       "path": "tools/framer-motion/"
      },
      {
       "l": "In 53.1% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      },
      {
       "l": "In 73.5% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      },
      {
       "l": "In 48.7% of its projects",
       "v": "Class Variance Authority",
       "path": "tools/class-variance-authority/"
      }
     ]
    }
   ]
  },
  {
   "id": "profile",
   "nav": "Profile",
   "h2": "GSAP in practice",
   "parts": [
    {
     "t": "h3",
     "text": "Strengths"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Animates more than DOM styles",
       "v": "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."
      },
      {
       "l": "Every tween is a controllable object",
       "v": "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."
      },
      {
       "l": "Formerly paid plugins are now free",
       "v": "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."
      },
      {
       "l": "React hook handles cleanup",
       "v": "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."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Watch out for"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Not an OSI open-source license",
       "v": "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."
      },
      {
       "l": "Plugins must be loaded and registered",
       "v": "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>."
      },
      {
       "l": "Some eases live outside the core",
       "v": "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."
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "profile",
   "h2": "More about GSAP",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        ": 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"
       ]
      },
      {
       "title": "Head to head",
       "items": [
        {
         "text": "Framer Motion vs GSAP",
         "note": "used together in 45 projects",
         "path": "tools/compare/framer-motion-vs-gsap/"
        },
        {
         "text": "Motion vs GSAP",
         "note": "used together in 31 projects",
         "path": "tools/compare/motion-vs-gsap/"
        }
       ]
      },
      {
       "title": "Packages around it",
       "items": [
        "@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"
       ]
      },
      {
       "title": "More in Animation and motion",
       "path": "tools/animation/",
       "items": [
        {
         "text": "tw-animate-css",
         "path": "tools/tw-animate-css/"
        },
        {
         "text": "Tailwind CSS Animate",
         "path": "tools/tailwindcss-animate/"
        },
        {
         "text": "Embla Carousel",
         "path": "tools/embla-carousel-react/"
        },
        {
         "text": "React Native Reanimated",
         "path": "tools/react-native-reanimated/"
        },
        {
         "text": "canvas-confetti",
         "path": "tools/canvas-confetti/"
        },
        {
         "text": "Lenis",
         "path": "tools/lenis/"
        },
        {
         "text": "Lottie React",
         "path": "tools/lottie-react/"
        },
        {
         "text": "Embla Carousel Autoplay",
         "path": "tools/embla-carousel-autoplay/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "GSAP",
       "me": true,
       "facts": [
        "Standard 'no charge' license: https://gsap.com/standard-license.",
        "Gid 77",
        "8.4M/wk"
       ]
      },
      {
       "name": "Framer Motion",
       "why": "Simple and powerful animation library for React components.",
       "path": "tools/framer-motion/",
       "facts": [
        "MIT",
        "Gid 88",
        "74M/wk"
       ]
      },
      {
       "name": "Motion",
       "why": "Animation library for JavaScript and React with simple, powerful motion primitives.",
       "path": "tools/motion/",
       "facts": [
        "MIT",
        "Gid 83",
        "39.7M/wk"
       ]
      },
      {
       "name": "React Spring",
       "why": "Physics-based animation library for React and React Three Fiber with smooth transitions.",
       "path": "tools/react-spring-npm/",
       "facts": [
        "MIT",
        "Gid 66",
        "2.3M/wk"
       ]
      },
      {
       "name": "Anime.js",
       "why": "Lightweight JavaScript animation engine for creating smooth animations.",
       "path": "tools/animejs/",
       "facts": [
        "MIT",
        "Gid 62",
        "1.2M/wk"
       ]
      }
     ],
     "more": "Compare GSAP with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install gsap"
    },
    {
     "t": "h3",
     "text": "Rules for your agent"
    },
    {
     "t": "rules",
     "label": "Paste into AGENTS.md or CLAUDE.md",
     "text": "## GSAP\n- Install with `npm install gsap` and import with `import gsap from \"gsap\"`. Import plugins from their own paths, such as `gsap/ScrollTrigger`.\n- Call `gsap.registerPlugin(...)` for every non-core plugin (ScrollTrigger, Flip, Draggable, MotionPathPlugin and others) before you use it.\n- Use the v3 API: `gsap.to(target, { duration: 2, x: 100 })` and `gsap.timeline()`. Do not use `TweenMax`, `TimelineMax` or a positional duration argument.\n- Write eases as strings like `\"power3.inOut\"`. `.out` is the default. Load EasePack and the Custom* eases separately.\n- Use `stagger` inside the vars object, not the old `staggerTo` methods.\n- If tweens on the same target can conflict, set `overwrite: \"auto\"` per tween or through `gsap.defaults()`. The v3 default is no overwriting.\n- In React, use `useGSAP()` from `@gsap/react` instead of `useEffect()`/`useLayoutEffect()` so cleanup is automatic.\n"
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm gsap"
  ],
  [
   "Category",
   "Animation and motion"
  ],
  [
   "License",
   "Standard 'no charge' license: https://gsap.com/standard-license."
  ],
  [
   "Latest version",
   "3.15.0, April 13, 2026"
  ],
  [
   "On GitHub since",
   "September 2012"
  ],
  [
   "Gid Score",
   "77.3"
  ],
  [
   "Rank in category",
   "#6 of 46"
  ],
  [
   "GitHub",
   "greensock/GSAP"
  ],
  [
   "Last change",
   "Nov 4, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/greensock.png"
}