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 free 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.

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

  1. GSAP

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

  2. Anime.js

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

  3. AutoAnimate

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

  4. React Spring

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

  5. tw-animate-css

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

  6. React <ViewTransition>

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

  7. dotLottie React

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

  8. Rare UI

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

  9. Fancy Components

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

  10. Inspira UI

    Animated Vue and Nuxt components (Aceternity and Magic UI style): backgrounds, text effects, cards, installed as source.

  11. Svelte Bits

    The Svelte port of React Bits: animated text, backgrounds and interactive components as source.

  12. glimm

    Shader-driven page transitions for Next.js: links trigger a WebGL wipe between routes.

Compared

LibraryPricingOpen sourceBest forSite
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–
dotLottie ReactFreeYes (MIT)a success or empty-state illustration a designer exported as Lottielottiefiles.com–
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
Inspira UIFreeYes (MIT)an animated landing page in Vue or Nuxt: aurora background, text generate effect, 3D cardsinspira-ui.comAlternatives
Svelte BitsFreeYes (MIT + Commons Clause)React Bits effects (split text, aurora, magnet) in a Svelte or SvelteKit sitesveltebits.xyz–
glimmFreeYes (MIT)page transitions between routes in a Next.js site, drawn with a WebGL shaderglimm.dev–

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.