Animation library for React, JavaScript and Vue
open coreMITfree
Motion, formerly Framer Motion, is an animation library for React, JavaScript and Vue. It animates layout changes (size, position and order, even between components), gestures (press, hover and drag with momentum), scroll-linked values, SVG and 3D, with hardware-accelerated transforms and a small footprint. The library (the npm packages motion, motion/react and motion-v) is free and MIT licensed. Its makers also sell Motion+, a separate paid toolkit: 550+ example sources and tutorials, Motion UI components and sections, premium APIs such as FX, Ticker, splitText and AnimateNumber, the Motion Studio visual editor and a Performance Doctor skill. The free Motion AI Kit installs a /motion skill for coding agents and configures Motion's hosted MCP server for searching its docs.
Problems it solves
- animate a React component when it changes size or position
- add drag and hover animations to my web app without writing them by hand
- animate elements as the user scrolls the page
Features
- layout animations between components with layoutId and AnimatePresence
- gesture animations: press, hover and drag with momentum
- scroll-linked and scroll-triggered animations
- React, vanilla JavaScript and Vue APIs
- hardware-accelerated transforms
- Motion AI Kit: an MIT-licensed /motion skill for coding agents and a hosted docs-search MCP server (no account needed)
Ways to run it
Motion
free1
Not included
- Motion+ examples, Motion UI components and premium APIs such as FX and splitText
Motion+
$399 one-time for one developer; teams billed yearly per seat2
Only in this edition
- 550+ example sources and 110+ tutorials
- Motion UI components and 50 animated sections
- premium APIs: FX, Carousel, Ticker, Cursor, AnimateNumber, Typewriter, ScrambleText, splitText and more
- Motion Studio visual editor with apply and edit by local agent
- AI Kit examples search, CSS spring generation and Performance Doctor
- Motion Cloud (Ultramotion, Performance Guard) on team seats
- private Discord and GitHub, lifetime updates
Alternatives
The same job
These do what Motion does.
- GSAP A wildly robust JavaScript animation library built for professionals
- Animate.css A library of ready-made cross-browser CSS animations you add with a class name, no longer actively maintained
- ScrollReveal JavaScript library that animates elements as they scroll into view
- ScrollMagic Lightweight library for scroll-driven interactions and events
- AutoAnimate Zero-config animation utility that adds transitions with one line of code
- React Spring A spring-physics animation library for React and React Three Fiber
