A wildly robust JavaScript animation library built for professionals
source availableStandard "No Charge" GSAP Licensefree
GSAP (the GreenSock Animation Platform) is a JavaScript library for animating anything JavaScript can touch: CSS properties, SVG, canvas, WebGL objects and generic objects. Timelines sequence and control animations, and plugins add scroll-driven animation (ScrollTrigger, ScrollSmoother), SVG drawing and morphing, layout transitions (Flip), dragging with inertia, text splitting and physics. It is a Webflow product and free for everyone, including commercial use, under its own Standard "No Charge" licence, which forbids using it in visual no-code animation builders that compete with Webflow.
Problems it solves
- I need smooth, complex animations on my website that work the same in every browser
- I want elements to animate as the user scrolls down the page
- I want to sequence several animations and control them together (pause, reverse, scrub)
- I need to morph or draw SVG shapes in the browser
- I want to split text into characters or words and animate them in
Features
- Tweens and timelines to sequence, pause, reverse and scrub animations
- Large set of easing curves plus custom eases (CustomEase, CustomBounce, CustomWiggle)
- ScrollTrigger and ScrollSmoother for scroll-driven animation
- SVG plugins: DrawSVG, MorphSVG and MotionPath
- Flip for animating layout changes, Draggable and Inertia for drag interactions
- SplitText and ScrambleText for text effects
- React integration with the useGSAP hook
- Installs from npm or a CDN, as ES modules or UMD
Limitations
- Its licence forbids using it in visual no-code animation builders that compete with Webflow without Webflow's written consent.1
Capabilities
| Takes plugins | plan not known |
|---|---|
| Has official SDKs | plan not known |
Alternatives
The same job
These do what GSAP does.
- Motion Animation library for React, JavaScript and Vue
- Animate.css A library of ready-made cross-browser CSS animations you add with a class name, no longer actively maintained
- React Spring A spring-physics animation library for React and React Three Fiber
- Anime.js A fast, modular JavaScript animation engine for CSS, SVG, DOM and JavaScript objects
- ScrollReveal JavaScript library that animates elements as they scroll into view
- ScrollMagic Lightweight library for scroll-driven interactions and events
