greensock/GSAP

▲ 57 stars today★ 29,014⑂ 2,241

GSAP (GreenSock Animation Platform), a JavaScript animation library for the modern web

About greensock/GSAP

greensock/GSAP is an open-source project on GitHub, mainly written in JavaScript. GSAP (GreenSock Animation Platform), a JavaScript animation library for the modern web It currently holds 29,014 stars and 2,241 forks with 7 open issues, and was last pushed on 2026-04-13 (repository created 2012-09-21).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #61 with 57 new stars today.

GitHub Repository Details

Repository greensock/GSAP · default branch master · size 14456 KB · watchers 421 · source: GitHub REST API and repository README

README

GSAP (GreenSock Animation Platform)

GSAP - Animate anything

GSAP is a framework-agnostic JavaScript animation library that turns developers into animation superheroes. Build high-performance animations that work in every major browser. Animate CSS, SVG, canvas, React, Vue, WebGL, colors, strings, motion paths, generic objects... anything JavaScript can touch! GSAP's ScrollTrigger plugin delivers jaw-dropping scroll-based animations with minimal code. gsap.matchMedia() makes building responsive, accessibility-friendly animations a breeze.

No other library delivers such advanced sequencing, reliability, and tight control while solving real-world problems on over 12 million sites. GSAP works around countless browser inconsistencies; your animations just work. At its core, GSAP is a high-speed property manipulator, updating values over time with extreme accuracy. It's up to 20x faster than jQuery!

GSAP is completely flexible; sprinkle it wherever you want. Zero dependencies.

There are many optional plugins and easing functions for achieving advanced effects easily like scrolling, morphing, text splitting, animating along a motion path or FLIP animations. There's even a handy Observer for normalizing event detection across browsers/devices.

Get Started

Get Started with GSAP

Docs & Installation

View the full documentation here, including an installation guide.

CDN


See JSDelivr's dedicated GSAP page for quick CDN links to the core files/plugins. There are more installation instructions at gsap.com.

Every major ad network excludes GSAP from file size calculations and most have it on their own CDNs, so contact them for the appropriate URL(s).

NPM

See the guide to using GSAP via NPM here.
npm install gsap

GSAP's core can animate almost anything including CSS and attributes, plus it includes all of the utility methods like interpolate(), mapRange(), most of the eases, and it can do snapping and modifiers.

// typical import
import gsap from "gsap";

// get other plugins: import ScrollTrigger from "gsap/ScrollTrigger"; import Flip from "gsap/Flip"; import Draggable from "gsap/Draggable";

// or all tools are exported from the "all" file (excluding members-only plugins): import { gsap, ScrollTrigger, Draggable, MotionPathPlugin } from "gsap/all";

// don't forget to register plugins gsap.registerPlugin(ScrollTrigger, Draggable, Flip, MotionPathPlugin);

The NPM files are ES modules, but there's also a /dist/ directory with UMD files for extra compatibility.

GSAP is FREE!

Thanks to Webflow, GSAP is now 100% FREE including ALL of the bonus plugins like SplitText, MorphSVG, and all the others that were exclusively available to Club GSAP members. That's right - the entire GSAP toolset is FREE, even for commercial use! 🤯 Read more here

ScrollTrigger & ScrollSmoother

If you're looking for scroll-driven animations, GSAP's ScrollTrigger plugin is the standard. There's a companion ScrollSmoother as well.

ScrollTrigger

Using React?

There's a @gsap/react package that exposes a useGSAP() hook which is a drop-in replacement for useEffect()/useLayoutEffect(), automating cleanup tasks. Please read the React guide for details.

Resources

Need help?

Ask in the friendly GSAP forums. Or share your knowledge and help someone else - it's a great way to sharpen your skills! Report any bugs there too (or file an issue here if you prefer).

License

GreenSock's standard "no charge" license can be viewed at https://gsap.com/standard-license.

Copyright (c) 2008-2026, GreenSock. All rights reserved.

GitHub Stars & Activity

29,014Stars
2,241Forks
7Open issues
JavaScriptLanguage

GitHub Popularity

GitHub stars29,014
Forks2,241
Open issues7
Primary languageJavaScript
License-
Stars gained today57
Created2012-09-21
Last pushed2026-04-13

Trending History

Daily boardrank #61 · ▲ 57 stars

Related GitHub Projects

1

vercel / next.js

JavaScript★ 143,106⑂ 34,482▲ 79 stars
→
2

addyosmani / agent-skills

JavaScript★ 104,454⑂ 10,903▲ 750 stars
→
3

Leonxlnx / taste-skill

JavaScript★ 94,387⑂ 6,419▲ 320 stars
→
4

tt-a1i / archify

JavaScript★ 81,624⑂ 5,515▲ 550 stars
→
5

chinese-poetry / chinese-poetry

JavaScript★ 53,642⑂ 10,782▲ 29 stars
→
6

poteto / hiring-without-whiteboards

JavaScript★ 52,554⑂ 3,959▲ 77 stars
→
7

freestylefly / awesome-gpt-image-2

JavaScript★ 34,265⑂ 3,265▲ 87 stars
→
8

chaolucky18 / xuexitongScript

JavaScript★ 2,782⑂ 362▲ 27 stars
→

More Trending Repositories