design-infraGitHub
Report a problem or share feedback← Catalog

Animate state

free

motion/state-updates

An example of animating in response to state changes using Motion for React.

state — mediumrecipeTrustworthyRefinedPlayful
$pnpm add motion # then adapt the free source from https://motion.dev/examples/react-state-updates

npm deps: motion

Animate state preview
Source
Motion (motion.dev)
Kind
transition
Categories
transition
Use as
recipe — technique you apply to your own markup
Motion
on state · medium · motion · medium cost
Tags
motion, animate
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