Sitepeel

AutoAnimate

auto-animate.formkit.com · Motion · Open source

Visit site

One line of code that animates items as they are added, removed or moved in a list. Works in React, Vue, Svelte and more.

  1. What it is

    Point AutoAnimate at a parent element and its children slide and fade when they change, with no keyframes to write. There are hooks and directives for React, Vue, Preact, Solid, Svelte, Angular and Marko, plus plain JavaScript. The docs include list, card, box and accordion examples.

  2. Is it for you?

    Made for
    Developers who want lists, menus and forms to move smoothly without learning an animation library.
    You need
    Any JavaScript project
    Price
    Open source (MIT)
  3. What you can do with it

    • Animate a to-do list as items are added or removed
    • Smooth out an accordion opening
    • Make sorting or filtering cards feel less jumpy

    Good to know: It respects the reduced motion setting, and you can turn animations off.

More like this

See all 227 resources