Report a problem or share feedback← Catalog
Animate state
freemotion/state-updates
An example of animating in response to state changes using Motion for React.
$
pnpm add motion # then adapt the free source from https://motion.dev/examples/react-state-updatesnpm deps: motion

- 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
Similar
Compare all 4 →- Motion presetsoc/motion-presetsdesign-infra's motion languages (still / quiet / lively / cinematic) as motion/react transitions, springs and variants (fadeUp, scaleIn, stagger, press, lift). Set PROJECT_MOTION to your DESIGN.md `motion:` so hand-written animations match the system.
- Success checktransitions/success-checkSpinner → checkmark morph for completed actions.
- Thinking statestransitions/thinking-statesRotating agent thinking labels.