GSAP (GreenSock)
by GSAP, a Webflow product
JavaScript animation library with all plugins (ScrollTrigger, SplitText, MorphSVG) free, plus a demo hub of copyable effects: buttons, cursors, scroll, text.
Web animation examples and effects Code libraryminimalplayfuldark

1. Price: gsap.com
All of GSAP, including the formerly members-only plugins, at no charge (as reported).
gsap.comNo quote yet: price is read from the official pages.
2. Commercial use: gsap.com/community/standard-license
“Commercial usage is covered under the standard license.”
Commercial use, including all plugins, is covered at no charge.
gsap.com/community/standard-license3. Credit the author: gsap.com/community/standard-license
“Remove or alter any proprietary notices or branding from GSAP Products.”gsap.com/community/standard-license
4. Agent access: github.com/greensock/GSAP
An agent can install it by itself with npm install gsap. No key or account is needed.
github.com/greensock/GSAPLicense checked Nov 5, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error
GSAP: scroll, text and shape animations for websites
GSAP is a free code library that animates anything on a web page, from buttons and headings to drawings and 3D scenes. Its extra tools add effects tied to scrolling, text that appears letter by letter, and shapes that draw or change form. It is free for paid sites under its own license, which bans one thing; building a no-code animation editor that competes with Webflow.
Where you can use it
Story that unfolds as you scroll
Make sections slide, pin or fill in while the visitor scrolls, for example a product tour on a landing page. Each animation plays when its part of the page comes into view.
Headlines that appear letter by letter
Split a heading into letters, words or lines and let them rise in one after another. Screen readers still read the whole sentence.
An intro that plays in order
Show the heading, then the subtitle, then the button of a hero section, each starting at the right moment, as one sequence you can pause or replay.
Logos and icons that draw or change shape
Let a line draw itself, like a signature or a route on a map, or turn one shape into another, like a circle into a star.
Animations in a React app
Use the React helper so animations are cleaned up when a screen closes, which avoids doubled or stuck effects.
Buttons and cursors with a little life
Take an idea from the official demo hub, like a magnetic button or a cursor trail, and write it into your own page.
As reported by GSAP, a Webflow product: Used on over 12 million sites.
GSAP (GreenSock) popularity
Downloads from api.npmjs.org, stars from GitHub, checked Nov 17, 2026. How the Gid Score is calculated
How to start
Tell your AI assistant
“Add gsap 3.15.1 from npm and register ScrollTrigger and SplitText; animate the hero with one timeline, reveal sections on scroll, wrap everything in gsap.matchMedia() so nothing moves for prefers-reduced-motion users, and use useGSAP in React.”
Or install it yourself. All plugins come in the same package.
npm install gsap
Show codeStep 1 or React
Import GSAP and the plugins you need, and register each plugin once.
import gsap from "gsap";
import ScrollTrigger from "gsap/ScrollTrigger";
gsap.registerPlugin(ScrollTrigger);
In React, also install @gsap/react and wrap animations in useGSAP.
npm install @gsap/react
Mistakes to avoid
import ScrollTrigger and use it without gsap.registerPlugin(ScrollTrigger)Build tools can drop a plugin that is never registered, and the production build then breaks.
npm install gsap (3.13 or later) from the public registry; remove the .npmrc entryThe private registry is no longer maintained; all plugins are in the public package.
Animations created in useGSAP are reverted when the component unmounts, so they do not double up in development.
People can ask their system for less motion, and matchMedia reverts animations when the setting changes.
That is a Prohibited Use under the GSAP Standard License.
License
GSAP Standard "No Charge" License (Webflow). Free for personal and paid websites and apps, including client work, under GSAP's own "No Charge" license from Webflow. It is not an open-source license. Do not use GSAP inside a no-code visual animation editor that competes with Webflow, and keep its copyright notices.
“Commercial usage is covered under the standard license.” gsap.com/community/standard-license
“Remove or alter any proprietary notices or branding from GSAP Products.” gsap.com/community/standard-license
“means the implementation and/or use of GSAP Products on any website, web application, or digital interface by any person or entity” gsap.com/community/standard-license
“in tools that allow users to build visual animations without code” gsap.com/community/standard-license
AllowedWith conditionsNot allowedNot stated or not checked yet
Is GSAP (GreenSock) free for commercial use? The full answer Not legal advice. Check the license page before you ship.
For your agent
License rules tell your agent what it may do with GSAP (GreenSock). Paste them into your prompt or AGENTS.md.
- GSAP (GreenSock) (Web animation examples and effects, UI animation (Lottie, Rive)). JavaScript animation library with all plugins (ScrollTrigger, SplitText, MorphSVG) free, plus a demo hub of copyable effects: buttons, cursors, scroll, text. Price: free; commercial use OK; no credit needed; pass the files on to your users only with conditions. Style: minimal, playful, dark.
Connect: npm gsap.
Get files: npm install gsap (or the CDN build); browse demos.gsap.com for effects and copy the demo code (demos open as CodePen pens) (js, html, css).
Not allowed: No visual no-code animation builders competing with Webflow
Not allowed: Keep notices
Rule: Do not use GSAP inside a no-code visual animation builder that competes with Webflow (Prohibited Use).
Rule: Keep GSAP's copyright/proprietary notices in the files.
Rule: AI-generated GSAP code is allowed (license FAQ).
Rule: Demo pens live on CodePen: the CodePen terms ban scraping, so copy a pen by hand or from a link the user gives.
License: https://gsap.com/community/standard-license/ (checked 2026-11-05; details: https://agentgid.com/assets/gsap/)
Agent installs a package or loads it from a CDN.
npm install gsapFormats: js, html, css
Animations: GSAP (gsap.com), GSAP Standard LicenseAlternatives
GSAP (GreenSock) This page
Pick AOS when you only need elements to fade, slide or zoom in on scroll, set with data-aos attributes and no animation code.
Pick Animate.css for ready CSS animations like bounce or fade added with one class name, without JavaScript.
Pick AutoAnimate when you only want smooth add, remove and move transitions for lists with one function call.
Animation library with a visual timeline editor for motion graphics on the web: animate DOM, three.js/R3F scenes and any JS values.
Step-by-step online guide to fragment shaders (noise, patterns, shaping functions) with live editable examples; for learning, not reuse.
Questions
Can I use GSAP on a paid website or in a client project?
Yes. The standard license covers commercial use, and all plugins, including SplitText and MorphSVG, are free.
Is GSAP open source like MIT libraries?
No. It is free to use, but Webflow keeps ownership and the license limits some uses.
Can I build an online animation editor with GSAP?
Not one that lets people build animations visually without code and competes with Webflow, unless Webflow agrees in writing.
May my AI assistant write GSAP code for me?
Yes. The license FAQ says AI-generated code is not a prohibited use.
Does GSAP work with React?
Yes. The @gsap/react package adds useGSAP, which cleans up animations when a component goes away.