design-infraGitHub
Report a problem or share feedback← Catalog

Reorder animation

curatedfree

motion/reorder-items

An example of animating when items are reordered, using Motion for React's layout prop.

drag · state — mediumrecipeRefinedPlayful
$pnpm add motion # then adapt the free source from https://motion.dev/examples/react-reorder-items

npm deps: motion

Our notes

Reorder: drag-to-reorder lists with automatic layout animation — settings lists, kanban columns, playlists. Free example (motion is MIT); copy and adapt the source from the example page.
Reorder animation preview
Source
Motion (motion.dev)
Kind
transition
Categories
transition
Use as
recipe — technique you apply to your own markup
Applies to
tablecard
Motion
on drag, state · medium · motion · low cost
Tags
motion
Licence
motion / motion/react / motion-v are MIT. Motion+ (premium components, example source, AI Kit pro tools) is paid — one-time Personal licence or per-seat Business.
Live demo
motion.dev
Docs
motion.dev