Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

Best animation libraries

· updated

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

  1. Motion

    The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.

  2. GSAP

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

  3. Anime.js

    Lightweight, modular JavaScript animation engine (v4) with timelines, stagger, SVG and draggable.

  4. AutoAnimate

    One line of code that animates children being added, removed or moved inside a parent.

  5. React Spring

    Spring-physics animation hooks for React, React Native and react-three-fiber.

  6. tw-animate-css

    Tailwind v4 CSS-only enter and exit animation utilities (animate-in, fade-in, slide-in-from-top).

  7. React <ViewTransition>

    React 19.3's built-in wrapper for the browser View Transitions API: animated route and state changes with no library.

  8. Rive

    Runtime for interactive Rive (.riv) animations with state machines, driven from code.

  9. dotLottie React

    Player for Lottie (.json) and compressed .lottie animations exported from After Effects or Lottie Creator.

  10. Transitions.dev

    Copy-ready CSS transitions for modals, menus, panels, toasts and state swaps, via a CLI or agent skill.

  11. Rare UI

    A shadcn registry of unusual Motion components: spring sidebars, a rail table of contents, gooey nav, OTP and password inputs.

  12. Fancy Components

    Playful React motion pieces: physics gravity, text rotate, variable-font hover, image trails, as shadcn source.

Compared

LibraryPricingOpen sourceBest forSite
MotionFree, $399 one-time for moreYes (MIT)dialogs, popovers and panels that must animate out before they unmount (AnimatePresence)motion.devAlternatives
GSAPFreeNo (GSAP Standard 'no charge' license (free, commercial use allowed))scroll-triggered reveals and pinned sections that scrub as you scroll (ScrollTrigger)gsap.comAlternatives
Anime.jsFreeYes (MIT)grid or dot-matrix stagger effects that ripple out from a point (stagger from 'center')animejs.comAlternatives
AutoAnimateFreeYes (MIT)a todo, cart or filter list whose rows appear and disappearauto-animate.formkit.com–
React SpringFreeYes (MIT)physics-driven values in a react-three-fiber scene (@react-spring/three)react-spring.dev–
tw-animate-cssFreeYes (MIT)open/close animations on shadcn or Radix popovers, menus and dialogs via data-[state=open]:animate-ingithub.com–
React <ViewTransition>FreeYes (MIT)a list thumbnail that morphs into the detail page header on navigation (shared name)react.dev–
RiveFree, from $9/seat/mo for moreYes (MIT)an interactive mascot or illustration that reacts to hover, input or app state (state machine inputs)rive.app–
dotLottie ReactFreeYes (MIT)a success or empty-state illustration a designer exported as Lottielottiefiles.com–
Transitions.devFree, Pro $12/mo or $149 lifetime for moreYes (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 librarytransitions.devAlternatives
Rare UIFreeYes (MIT + Commons Clause + Attribution)a docs or blog table of contents whose marker travels along a rail to the active heading (Rail TOC)rareui.comAlternatives
Fancy ComponentsFreeYes (MIT)elements that fall and bounce with real physics on a playful landing page (Gravity)fancycomponents.devAlternatives

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.