Independent transforms
Animate x, y, rotate, scale on the same element, without wrappers.
>Available for React JavaScript Vue
Create high-performance web animations with Motion's easy-to-use API, from simple transforms to advanced interactive gestures.
Animate x, y, rotate, scale on the same element, without wrappers.
AnimatePresence keeps elements alive so they can animate as they leave the DOM.
useMotionValue drives animations and derived state in real time.
Build previously complex effects, like magnetic cursors or infinite scrolling tickers, with 400+ copy and paste examples. Or adapt to your codebase using AI.
Equip your agent with specialist Motion context, then build from production-ready animated sections that inherit your design system.
Everything's possible with Motion. Here are some of the best creations from our expert Motion+ community.
Release notes and magazine stories from the Motion team.
search-motion-codex now returns Motion UI components and sections (Motion+ / React) as full multi-file paste-ready source — same delivery model as examples, baked into the package.animateView: Cropped group layers now animate border-radius from the old to new radius.animateView: Old layer fade out now cancelled when defining .new().animateView: Layers are automatically grouped to match their DOM-hierarchy. New .group(false) method opts-out.animateView: Auto-crop is now aspect-ratio aware, disabling crops for matching aspect-ratios.animateView: Disabled automatic border-radius animation.
Production-ready animated sections and components for React. Everything performance-graded with MotionScore, drop-in to your design system via shadcn tokens or AI.

The View Transition API can animate the impossible, but using it can be painful. Here's how Motion's animateView(), now free in the core library, fixes its rough edges.
Motion is deployed and sponsored by the best teams in the industry, powering UI animations across millions of sites.
Start with the API built for your project.