Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

AutoAnimate

by FormKit

Zero-config utility that adds smooth add/remove/move transitions to lists and layouts with one function call (React, Vue, Svelte, plain JS).

Web animation examples and effects Code libraryOpen sourceminimal

GitHub repoWebsite
The same four-task list shown at 0, 90, 180 and 270 ms after a task is added and at 0, 60, 120 and 190 ms after one is removed, and at the end; the other rows slide while the changed row fades.
Made by AgentGid with @formkit/auto-animate 0.10.2 (npm). MIT license; our own page and text, frames frozen with the browser's animation controls.

2. Commercial use: raw.githubusercontent.com

“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell”

MIT allows use in paid products; no visible credit is needed.

raw.githubusercontent.com

License checked Nov 5, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error

AutoAnimate: smooth motion when lists change

AutoAnimate is a small free code library that adds smooth motion to a web page. When items are added to, removed from or moved inside a list or block, they slide and fade instead of jumping. You or your AI assistant switch it on with one line, in React, Vue, Svelte, Angular or a plain page.

Where you can use it

To-do lists, carts and inboxes

To-do lists, carts and inboxes

When a row is added or deleted, the other rows slide into place instead of jumping. People can see what changed in the list.

Sorting and filtering results

When someone sorts a table of products or filters search results, items glide to their new places, so the new order is easy to follow.

Dropdowns and question lists that open

A menu, a details box or a list of questions and answers opens and closes with a gentle motion instead of popping.

Error messages in forms

Hints such as "Pick a new password" slide in and out under a field, so the form does not jump when a message appears.

Card grids and photo galleries

Cards that move to another spot or wrap onto the next line slide there across the grid, for example after a new card is added at the front.

Chat messages and notifications Idea

New chat messages or alerts slide in and old ones fade out, which feels calmer than items popping in and out.

AutoAnimate popularity

52 / 100
Gid Score, same scale as developer tools
13,976
GitHub stars
2.3M
npm downloads, last 7 days
+25.3% in 4 weeks
9
AI-agent projects using it, from our repo scan of 4,817
AutoAnimate: downloads per weeknpm, @formkit/auto-animate 2,305,009
AutoAnimate: GitHub starsformkit/auto-animate 13,976

Downloads from api.npmjs.org, stars from GitHub, checked Nov 17, 2026. How the Gid Score is calculated

How to start

Tell your AI assistant

“Install @formkit/auto-animate at version 0.10.2 and apply it to the element that holds our task list (the React useAutoAnimate hook), giving every item a unique key, so adding, removing and sorting tasks animate.”

Or install it yourself. Add the package to your project.

npm install @formkit/auto-animate
Show code

Call autoAnimate once on the element that holds the items (or use the React hook, the Vue v-auto-animate directive, or the Svelte, Solid, Angular or Marko helpers).

import autoAnimate from '@formkit/auto-animate'
autoAnimate(document.getElementById('myList'))

Mistakes to avoid

Calling autoAnimate on each list item, or on a wrapper several levels above the items
Call it once on the direct parent of the items that appear, disappear or move

Only direct children of the element you pass are animated.

items.map((item, i) => <li key={i}>…</li>) in React, or :key="index" in Vue
Use a unique, stable key such as item.id

With index keys the framework reuses the wrong elements and the motion goes wrong.

Children that stretch with flex-grow 1 in a flex row
Give those children an explicit width

Flex children that size themselves late make the motion snap.

Absolutely positioned children that are meant to line up with an outer container
Expect the parent to become position relative, and place those children against the parent

The library sets position relative on a parent that has static positioning.

Installing the latest version in an Angular 15 or older project
Pin @formkit/auto-animate 0.8.2 or earlier there, or upgrade Angular

Newer versions need Angular 16 or later for the AutoAnimateDirective.

License

MIT license. Free in personal and paid products, and no visible credit is needed. If you pass on copies of the code, keep its copyright and license notice.

Commercial use
Yes

“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell” raw.githubusercontent.com

Credit
Not needed

“The above copyright notice and this permission notice shall be included in all” raw.githubusercontent.com

Inside your app or game
Can ship inside your app

“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell” raw.githubusercontent.com

Pass the files on to your users
Allowed

“to use, copy, modify, merge, publish, distribute, sublicense, and/or sell” raw.githubusercontent.com

AI training
Not stated
Bots and bulk downloads
Not stated

AllowedWith conditionsNot allowedNot stated or not checked yet

Is AutoAnimate free for commercial use? The full answer Not legal advice. Check the license page before you ship.

For your agent

License rules tell your agent what it may do with AutoAnimate. Paste them into your prompt or AGENTS.md.

License rules
- AutoAnimate (Web animation examples and effects, UI animation (Lottie, Rive)). Zero-config utility that adds smooth add/remove/move transitions to lists and layouts with one function call (React, Vue, Svelte, plain JS). Price: free; commercial use OK; no credit needed. Style: minimal.
  Connect: npm @formkit/auto-animate.
  Get files: npm install @formkit/auto-animate, then call autoAnimate(parent) or the framework hook (js).
  Rule: Keep the MIT notice if you redistribute the code.
  License: https://raw.githubusercontent.com/formkit/auto-animate/master/LICENSE (checked 2026-11-05; details: https://agentgid.com/assets/auto-animate/)
Can an agent use it by itself?
Yes.

Agent installs a package or loads it from a CDN.

Install
npm install @formkit/auto-animate
How an agent gets files
npm install @formkit/auto-animate, then call autoAnimate(parent) or the framework hook.

Formats: js

API, key or account
Not needed. Everything runs on your side.
MCP server
None found
Credit line, if you want one
Animations: AutoAnimate by FormKit (MIT)
This card for machines

Alternatives

AutoAnimate This page

Free Commercial OK npm

GSAP (GreenSock)

Pick GSAP when you need full control over timing, sequences and scroll-driven effects, not just list changes.

Free Commercial OK npm

Animate.css

Pick Animate.css for ready-made effects such as bounce, fade or zoom that you add with one class name.

Free With conditions npm

AOS (Animate On Scroll)

Pick AOS when blocks should fade or slide in as the visitor scrolls down the page.

Free Commercial OK npm

three.js examples

Hundreds of official three.js WebGL/WebGPU examples (shaders, particles, post-processing, loaders) with full source in the repo's examples folder.

Free Commercial OK npm

React Three Fiber examples

Gallery of React Three Fiber scenes (shaders, portals, caustics, scroll, physics, glass) linked to runnable sandboxes with source.

Free Commercial OK npm

All web animation examples and effects

Questions

Do I have to write any animation code?

No. You call one function on the element that holds the items; adding, removing and moving its direct children then animate on their own.

Can I change the speed?

Yes. A second argument takes options such as duration (default 250 ms) and easing (default ease-in-out); plugins can replace the motion entirely.

Does it respect people who turn off motion?

Yes. It switches itself off when the device is set to reduce motion.

Can I turn animations off for a moment?

Yes. autoAnimate returns a controller with enable() and disable(), and the React and Vue hooks return a function that switches them on or off.

Is it free for a paid product?

Yes, it is released under the MIT license.