Best free animation libraries
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.
GSAP leads: timeline animation engine with ScrollTrigger, SplitText, Flip and MorphSVG, now free including every plugin. If it doesn't fit, Anime.js is the next pick: lightweight, modular JavaScript animation engine (v4) with timelines, stagger, SVG and draggable.
12 picks

GSAP
Timeline animation engine with ScrollTrigger, SplitText, Flip and MorphSVG, now free including every plugin.
Anime.js
Lightweight, modular JavaScript animation engine (v4) with timelines, stagger, SVG and draggable.
AutoAnimate
One line of code that animates children being added, removed or moved inside a parent.
React Spring
Spring-physics animation hooks for React, React Native and react-three-fiber.
tw-animate-css
Tailwind v4 CSS-only enter and exit animation utilities (animate-in, fade-in, slide-in-from-top).
React <ViewTransition>
React 19.3's built-in wrapper for the browser View Transitions API: animated route and state changes with no library.
dotLottie React
Player for Lottie (.json) and compressed .lottie animations exported from After Effects or Lottie Creator.
Rare UI
A shadcn registry of unusual Motion components: spring sidebars, a rail table of contents, gooey nav, OTP and password inputs.
Fancy Components
Playful React motion pieces: physics gravity, text rotate, variable-font hover, image trails, as shadcn source.
Inspira UI
Animated Vue and Nuxt components (Aceternity and Magic UI style): backgrounds, text effects, cards, installed as source.
Svelte Bits
The Svelte port of React Bits: animated text, backgrounds and interactive components as source.
glimm
Shader-driven page transitions for Next.js: links trigger a WebGL wipe between routes.
Compared
Questions
What is the best free animation library?
GSAP: timeline animation engine with ScrollTrigger, SplitText, Flip and MorphSVG, now free including every plugin. Reach for it for scroll-triggered reveals and pinned sections that scrub as you scroll (ScrollTrigger).
Which work outside React?
GSAP, Anime.js, AutoAnimate, React Spring, tw-animate-css, dotLottie React and 2 more also ship for plain JavaScript, Vue, Svelte and Solid. The rest are React only.
Which are the lightest?
AutoAnimate, tw-animate-css and React <ViewTransition> add the least to your bundle.