Motion provides packages for React, plain JavaScript, and Vue to animate interfaces with gestures, springs, layout transitions, scroll effects, and timelines.
Overview
Motion is an animation library aimed at web UI work in React, JavaScript, and Vue. It succeeded the Framer Motion package; React users import from motion/react instead of framer-motion.
The engine combines JavaScript control with browser APIs aimed at smooth, GPU-accelerated motion. Documented building blocks include gesture handling, spring physics, layout transitions, scroll-linked values, timelines, exit animations via AnimatePresence, and optional 3D mesh animation.
The project ships TypeScript types, a tree-shakable footprint, and a mini animate entry point for smaller bundles. LazyMotion loads features on demand. Scroll effects can use the browser ScrollTimeline when available.
Optional paid Motion+ adds examples, tutorials, premium APIs, editor tooling, and AI-oriented docs. Motion Studio is a separate visual editor product for tuning animations in the browser. Framer sites and other partners use Motion for production animations.
Key features
- React, JavaScript, and Vue packages
- Gestures, springs, and layout animations
- Scroll-linked and exit animations
- Hardware-accelerated motion paths
- Tree-shakable and TypeScript-ready
- LazyMotion for on-demand features
- AnimatePresence for unmount transitions
- Optional 3D mesh animation support
Use cases
- Animating React component layouts
- Gesture-driven interface feedback
- Scroll-driven storytelling on pages
- Spring-based pointer-follow effects
- Coordinated enter and exit transitions