Motion (formerly Framer Motion) is the most popular animation library for React. Declarative animations, gestures, layout transitions, and scroll-linked effects with a simple API.
v11 rebranded as Motion with a framework-agnostic vanilla JS core. Works with React, Vue, and any JS project. Hardware-accelerated, spring physics, and AnimatePresence for exit animations.
When to use
- You need production-quality animations in React — Motion is the most battle-tested choice.
- You want layout animations that smoothly transition elements between positions.
- You need gesture support — drag, hover, tap, and scroll-linked animations.
- You want spring physics and natural-feeling motion without manual easing curves.
When not to use
- You're building simple CSS transitions — Motion adds bundle size you might not need.
- You need the absolute smallest bundle — CSS animations or Web Animations API are lighter.
- You're not using React and don't need the vanilla JS API — GSAP has broader framework support.
Hire a Claude Code developer who ships with AI agents
Meet 2-3 vetted profiles in 48 hours, then test 1 on a real task in a 2-day trial for $7. From $30/h, no contract.







