GSAP
freeTimeline animation engine with ScrollTrigger, SplitText, Flip and MorphSVG, now free including every plugin.

Try these
Motion
The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.
Anime.js
Lightweight, modular JavaScript animation engine (v4) with timelines, stagger, SVG and draggable.
Lenis
Smooth, inertia-based wheel scrolling that keeps native scroll position, sticky and anchors working.
GSAP SplitText
Splits text into lines, words and characters (with masks) for staggered reveal animations.
Looks that pick it
Brutalistfirst pickRetrofirst pickLuxuryfirst pickCyberpunkfirst pickSci-fi HUDfirst pickArt decofirst pickQuiet luxuryfirst pickKinetic typographyfirst pickConstructivismfirst pickBlueprintfirst pickScrollytellingfirst pickAnti-designfirst pickand 38 more
For your agent
Install
npm i gsap @gsap/reactUse it for
- scroll-triggered reveals and pinned sections that scrub as you scroll (ScrollTrigger)
- a choreographed hero intro where many elements enter in an exact sequence (timeline)
- headline reveals by line, word or character (SplitText)
- SVG path drawing and shape morphing (DrawSVG, MorphSVG)
- state changes that move elements between containers smoothly (Flip)
Skip it when
- app UI state (open/close, presence, layout reflow) in React: use motion, which is declarative and handles unmount
- a single hover or fade: a CSS transition is enough
- dashboards and dense tools where users repeat the same action many times: keep motion near zero
- you only need smooth wheel scrolling: use lenis (and pair it with ScrollTrigger if you also need scrub)
What's inside24 free
- ScrollTrigger
- ScrollSmoother
- ScrollTo
- Observer
- Flip
- Draggable
- Inertia
- SplitText
- ScrambleText
- Text
- DrawSVG
- MorphSVG
- MotionPath
- MotionPathHelper
- Physics2D
- PhysicsProps
- CustomEase
- CustomBounce
- CustomWiggle
- EasePack
- GSDevTools
- CSSRule
- Easel
- Pixi
Facts
- Frameworks
- vanilla, react, vue, svelte, solid, angular
- Styling
- unstyled
- Weight
- medium
- Accessibility
- ok
- Maturity
- established
- License
- GSAP Standard 'no charge' license (free, commercial use allowed)
- Price
- Free
import gsap from 'gsap'
import { ScrollTrigger } from 'gsap/ScrollTrigger'
import { useGSAP } from '@gsap/react'
gsap.registerPlugin(useGSAP, ScrollTrigger)
const container = useRef(null)
useGSAP(() => {
gsap.from('.card', {
y: 40,
opacity: 0,
stagger: 0.08,
scrollTrigger: { trigger: container.current, start: 'top 80%' },
})
}, { scope: container })https://cdpn.io/GreenSock/debug/zxKyeEm
Loading website