# Best animation libraries

> 12 hand-picked animation libraries for the web, with pricing, licence and what each is best at.

Source: https://tastebase.ehsanulsiam.workers.dev/best/best-animation-libraries

[Ehsanul Haque Siam](https://tastebase.ehsanulsiam.workers.dev/about)Nov 21, 2026 · updated Nov 27, 2026

Written from the tastebase registry, so it changes when an entry does.

These are the animation libraries we would reach for, in that order. Each one is in tastebase because it does one job well; the table says which job.

Motion leads: the default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations. If it doesn't fit, GSAP is the next pick: timeline animation engine with ScrollTrigger, SplitText, Flip and MorphSVG, now free including every plugin.

## 12 picks

- no preview ### [Motion](https://tastebase.ehsanulsiam.workers.dev/browse/motion) The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.[Motion alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/motion-alternatives)
- [GSAP alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/gsap-alternatives)
- [Anime.js alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/animejs-alternatives)

- no preview ### [GSAP](https://tastebase.ehsanulsiam.workers.dev/browse/gsap) Timeline animation engine with ScrollTrigger, SplitText, Flip and MorphSVG, now free including every plugin.[GSAP alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/gsap-alternatives)
- [Motion alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/motion-alternatives)
- [Anime.js alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/animejs-alternatives)

- no preview ### [Anime.js](https://tastebase.ehsanulsiam.workers.dev/browse/animejs) Lightweight, modular JavaScript animation engine (v4) with timelines, stagger, SVG and draggable.[Anime.js alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/animejs-alternatives)
- [Motion alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/motion-alternatives)
- [GSAP alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/gsap-alternatives)

- no preview ### [AutoAnimate](https://tastebase.ehsanulsiam.workers.dev/browse/auto-animate) One line of code that animates children being added, removed or moved inside a parent.[Motion alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/motion-alternatives)

- no preview ### [React Spring](https://tastebase.ehsanulsiam.workers.dev/browse/react-spring) Spring-physics animation hooks for React, React Native and react-three-fiber.[Motion alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/motion-alternatives)

- no preview ### [tw-animate-css](https://tastebase.ehsanulsiam.workers.dev/browse/tw-animate-css) Tailwind v4 CSS-only enter and exit animation utilities (animate-in, fade-in, slide-in-from-top).[Transitions.dev alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/transitions-dev-alternatives)

- no preview ### [React <ViewTransition>](https://tastebase.ehsanulsiam.workers.dev/browse/react-view-transition) React 19.3's built-in wrapper for the browser View Transitions API: animated route and state changes with no library.[Best free animation libraries](https://tastebase.ehsanulsiam.workers.dev/best/best-free-animation-libraries)

- no preview ### [Rive](https://tastebase.ehsanulsiam.workers.dev/browse/rive) Runtime for interactive Rive (.riv) animations with state machines, driven from code.
- no preview ### [dotLottie React](https://tastebase.ehsanulsiam.workers.dev/browse/dotlottie-react) Player for Lottie (.json) and compressed .lottie animations exported from After Effects or Lottie Creator.[Best free animation libraries](https://tastebase.ehsanulsiam.workers.dev/best/best-free-animation-libraries)

- no preview ### [Transitions.dev](https://tastebase.ehsanulsiam.workers.dev/browse/transitions-dev) Copy-ready CSS transitions for modals, menus, panels, toasts and state swaps, via a CLI or agent skill.[Transitions.dev alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/transitions-dev-alternatives)

- no preview ### [Rare UI](https://tastebase.ehsanulsiam.workers.dev/browse/rare-ui) A shadcn registry of unusual Motion components: spring sidebars, a rail table of contents, gooey nav, OTP and password inputs.[Rare UI alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/rare-ui-alternatives)
- [Bencho alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/bencho-alternatives)

- no preview ### [Fancy Components](https://tastebase.ehsanulsiam.workers.dev/browse/fancy-components) Playful React motion pieces: physics gravity, text rotate, variable-font hover, image trails, as shadcn source.[Fancy Components alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/fancy-components-alternatives)

## Compared

| Library | Pricing | Open source | Best for | Site | |
| --- | --- | --- | --- | --- | --- |
| [Motion](https://tastebase.ehsanulsiam.workers.dev/browse/motion) | Free, $399 one-time for more | Yes (MIT) | dialogs, popovers and panels that must animate out before they unmount (AnimatePresence) | [motion.dev](https://motion.dev/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | [Alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/motion-alternatives) |
| [GSAP](https://tastebase.ehsanulsiam.workers.dev/browse/gsap) | Free | No (GSAP Standard 'no charge' license (free, commercial use allowed)) | scroll-triggered reveals and pinned sections that scrub as you scroll (ScrollTrigger) | [gsap.com](https://gsap.com/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | [Alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/gsap-alternatives) |
| [Anime.js](https://tastebase.ehsanulsiam.workers.dev/browse/animejs) | Free | Yes (MIT) | grid or dot-matrix stagger effects that ripple out from a point (stagger from 'center') | [animejs.com](https://animejs.com/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | [Alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/animejs-alternatives) |
| [AutoAnimate](https://tastebase.ehsanulsiam.workers.dev/browse/auto-animate) | Free | Yes (MIT) | a todo, cart or filter list whose rows appear and disappear | [auto-animate.formkit.com](https://auto-animate.formkit.com/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | – |
| [React Spring](https://tastebase.ehsanulsiam.workers.dev/browse/react-spring) | Free | Yes (MIT) | physics-driven values in a react-three-fiber scene (@react-spring/three) | [react-spring.dev](https://www.react-spring.dev/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | – |
| [tw-animate-css](https://tastebase.ehsanulsiam.workers.dev/browse/tw-animate-css) | Free | Yes (MIT) | open/close animations on shadcn or Radix popovers, menus and dialogs via data-[state=open]:animate-in | [github.com](https://github.com/Wombosvideo/tw-animate-css?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | – |
| [React <ViewTransition>](https://tastebase.ehsanulsiam.workers.dev/browse/react-view-transition) | Free | Yes (MIT) | a list thumbnail that morphs into the detail page header on navigation (shared name) | [react.dev](https://react.dev/reference/react/ViewTransition?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | – |
| [Rive](https://tastebase.ehsanulsiam.workers.dev/browse/rive) | Free, from $9/seat/mo for more | Yes (MIT) | an interactive mascot or illustration that reacts to hover, input or app state (state machine inputs) | [rive.app](https://rive.app/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | – |
| [dotLottie React](https://tastebase.ehsanulsiam.workers.dev/browse/dotlottie-react) | Free | Yes (MIT) | a success or empty-state illustration a designer exported as Lottie | [lottiefiles.com](https://lottiefiles.com/dotlottie?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | – |
| [Transitions.dev](https://tastebase.ehsanulsiam.workers.dev/browse/transitions-dev) | Free, Pro $12/mo or $149 lifetime for more | Yes (Transitions.dev License (free in any product, no redistribution as a library; CLI and tooling MIT)) | a modal, dropdown, tooltip or panel with a tuned open and close in plain CSS, no animation library | [transitions.dev](https://transitions.dev/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | [Alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/transitions-dev-alternatives) |
| [Rare UI](https://tastebase.ehsanulsiam.workers.dev/browse/rare-ui) | Free | Yes (MIT + Commons Clause + Attribution) | a docs or blog table of contents whose marker travels along a rail to the active heading (Rail TOC) | [rareui.com](https://rareui.com/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | [Alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/rare-ui-alternatives) |
| [Fancy Components](https://tastebase.ehsanulsiam.workers.dev/browse/fancy-components) | Free | Yes (MIT) | elements that fall and bounce with real physics on a playful landing page (Gravity) | [fancycomponents.dev](https://www.fancycomponents.dev/?utm_source=tastebase&utm_medium=referral&utm_content=article-table) | [Alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/fancy-components-alternatives) |

## Questions

**What is the best animation library?**
Motion: the default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations. Reach for it for dialogs, popovers and panels that must animate out before they unmount (AnimatePresence).

**Which of these are completely free?**
GSAP, Anime.js, AutoAnimate, React Spring, tw-animate-css, React <ViewTransition>, dotLottie React, Rare UI and Fancy Components. The rest are free to start with a paid tier.

**Which work outside React?**
Motion, GSAP, Anime.js, AutoAnimate, React Spring, tw-animate-css and 3 more also ship for Vue, Svelte, Solid and Angular. The rest are React only.

**Which are the lightest?**
AutoAnimate, tw-animate-css, React <ViewTransition> and Transitions.dev add the least to your bundle.

## Related

- [Best free animation libraries](https://tastebase.ehsanulsiam.workers.dev/best/best-free-animation-libraries)
- [Motion alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/motion-alternatives)
- [GSAP alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/gsap-alternatives)
- [Anime.js alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/animejs-alternatives)
