| What it is | A spring-physics animation library for React and React Three Fiber | A wildly robust JavaScript animation library built for professionals | Zero-config animation utility that adds transitions with one line of code | Animation library for React, JavaScript and Vue |
| Features | - Animate React components with spring physics
- Hooks: useSpring, useSprings, useTrail, useTransition and useChain
- Animated elements for DOM and React Three Fiber
- Declarative or imperative control of animations
- Durations with easing functions as well as springs
| - 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
| - animates elements added to, removed from or moved within a parent
- one line of code, no configuration
- works with React, Vue, Svelte, Solid, Preact, Angular, Marko and plain JavaScript
- plugins for custom animations
| - layout animations between components with layoutId and AnimatePresence
- gesture animations: press, hover and drag with momentum
- scroll-linked and scroll-triggered animations
- React, vanilla JavaScript and Vue APIs
- hardware-accelerated transforms
- Motion AI Kit: an MIT-licensed /motion skill for coding agents and a hosted docs-search MCP server (no account needed)
|