GSAP

GSAP

Design & Creative
GreenSock
FreeAPI

About

Professional-grade JavaScript animation library powering 11M+ websites, known for blazing performance and ScrollTrigger scroll animations — free to use with commercial licensing based on user count

Share this tool

Our Verdict

Highly Recommended

The animation workhorse behind 11M+ websites — unmatched in performance, compatibility, and ecosystem.

GSAP (GreenSock Animation Platform) has ruled JavaScript animation for over 15 years and remains the most trusted frontend animation library in the world. Its core strength is performance — it consistently holds 60fps even on low-end mobile devices, while maintaining compatibility with legacy browsers like IE11. ScrollTrigger makes scroll-driven animations intuitive and is the industry standard for parallax, reveal, and timeline effects. Premium plugins like MorphSVG, MotionPath, and DrawSVG cover the full spectrum of SVG animation. The one soft spot is its commercial licensing threshold: projects crossing certain user-count thresholds must purchase a commercial license, which can be a cost consideration for solo indie developers. But for enterprise-grade projects and cross-browser scenarios, GSAP has no real alternative.

Best for

  • Production-grade website animations requiring stable 60fps
  • Scroll-driven animations with ScrollTrigger and parallax effects
  • SVG motion graphics (MorphSVG, MotionPath)
  • Enterprise projects requiring IE11 or legacy browser support
  • Complex multi-step timeline animation orchestration

Consider alternatives if

  • You only need simple page transitions or entrance animations (→ CSS Transitions, Framer Motion)
  • You prefer declarative animations in the React ecosystem (→ Framer Motion, React Spring)
  • You're on a tight budget with low website traffic (→ anime.js, Motion One)
  • You need only 3D animation (→ Three.js, Spline)

Supported Platforms

Web AppAPI

Available platforms include Web App and API.

Key Features

Core animations with GSAP's powerful timeline-based sequencing
ScrollTrigger for scroll-driven animations
MorphSVG, MotionPath, DrawSVG, Text and other premium plugins
Extremely fast performance (runs at 60fps even on mobile)
Lightweight core (~10KB gzipped) with modular plugin architecture
Cross-browser compatible including IE11

Pricing

free
Free for most use cases
paid
Commercial license required for business use (based on user count)

Use Cases

Website animations and interactive UI elements
Scroll-triggered animations and parallax effects
SVG animation and motion graphics
Game UI and interactive storytelling

Pros

Industry standard for web animation with proven reliability
Exceptional performance even on low-end devices
Rich plugin ecosystem for advanced animation needs
Excellent documentation and active community

Cons

Premium plugins require a paid Club GreenSock membership
Commercial licensing can be confusing for small teams
No official TypeScript types (community-maintained)

Latest Update

2026-07: GSAP continues as the leading web animation library with active development

Get Started in 5 Steps

1

Install via npm

Add GSAP to your project using npm or yarn.

npm
npm install gsap
2

Import GSAP

Import GSAP into your JavaScript file.

JavaScript
import { gsap } from "gsap";
3

Create a basic animation

Animate any element with a simple tween.

JavaScript
gsap.to(".box", { x: 200, duration: 1, rotation: 360 });
4

Add ScrollTrigger

Trigger animations based on scroll position.

JavaScript
gsap.to(".section", { scrollTrigger: ".section", y: -100, opacity: 1 });
5

Build a timeline

Sequence multiple animations with a timeline.

JavaScript
const tl = gsap.timeline(); tl.to(".a", { x: 100 }).to(".b", { y: 50 });

Subscribe to AI Updates

Get the latest AI tool recommendations, industry insights, and analysis delivered to your inbox.

We respect your privacy. Unsubscribe at any time.