
Homepage | GSAP
GSAP is an industry standard JavaScript animation library from GreenSock that lets you craft high-performance animations that work in every major browser.
What it is
GreenSock Animation Platform (GSAP) is a professional-grade JavaScript animation library used for creating high-performance, cross-browser compatible animations for the web. It is designed for web developers, animators, and designers who need precise control over animations for websites, applications, and interactive media.
Main Features
Core Animation
- Tweening: Animate object properties (CSS, SVG, canvas, generic objects) between two states.
- Timeline Control: Create complex, sequenced animations with independent control.
- Easing: Utilize a wide range of custom easing functions for natural movement.
Performance & Compatibility
- High Performance: Optimized JavaScript that avoids layout thrashing and maximizes frame rates.
- Cross-Browser Consistency: Delivers reliable animations across all major browsers, including older versions of IE.
Plugin System
- Extendable Functionality: Enhance core capabilities with official plugins for tasks like morphing SVGs, dragging elements, or animating along a path.
- Custom Plugin Development: Ability to build bespoke plugins for specific animation needs.
How it works
Web Page Animations
Developers write JavaScript code to define animation targets (e.g., a DOM element), properties to animate (e.g., opacity, x), duration, and easing. GSAP's engine calculates and applies the interpolated values on each frame to create smooth motion.
Interactive Applications
GSAP's methods can be triggered by user interactions (clicks, scrolls, hovers) to create responsive and engaging UI/UX elements. Timelines can be paused, reversed, or seeked to a specific point for granular control.
Key Points
- Industry Standard: GSAP is a widely trusted and adopted solution for web animation.
- Robust and Mature: The library is well-documented and has been actively developed for over a decade.
- MIT License: Free for use on both personal and commercial projects.
Additional Details
- Availability: The JavaScript library is available for download via npm (
npm install gsap), from a CDN, or directly from the official website. - Pricing: The core GSAP library (GSAP Core) is free. Access to certain bonus plugins requires a paid Club GSAP membership.
- Requirements: A working knowledge of JavaScript and HTML/CSS is necessary to implement animations.




