motiondivision /motion
A modern animation library for React and JavaScript
★ 35,249⑂ 1,552👁 121⑃ 1,830● 1,979▤ 0
+93
Daily
+238
Weekly
35,249
stars
1,552
forks
121
watchers
1,830
prs
1,979
issues
0
releases
README
Motion
An open source animation libraryfor JavaScript, React and Vue
bash
React / JavaScript
npm install motion
Vue
npm install motion-v
Table of Contents
1. Why Motion?
2. 🍦 Platforms
3. 🎓 Examples
4. 🎨 Motion Studio
4. 🤖 Using Motion with AI
5. ⚡️ Motion+
6. 👩🏻⚖️ License
7. 💎 Contribute
8. ✨ Sponsors
Why Motion?
- Simple API: First-class React, JavaScript, and Vue packages.
- Hybrid engine: Power of JavaScript combined with native browser APIs for 120fps, GPU-accelerated animations.
- Production-ready: TypeScript, extensive test suite, tree-shakable, tiny footprint.
Batteries included: Gestures, springs, layout transitions, scroll-linked effects, timelines.
🍦 Platforms
Motion is available for React, JavaScript and Vue.
React
jsx
import { motion } from "motion/react"
function Component() {
return
}
Get started with Motion for React.
Note: Framer Motion is now Motion. Import from motion/react instead of framer-motion.
JS
javascript
import { animate } from "motion"
animate("box", { x: 100 })
Get started with JavaScript.
Vue
html
import { motion } from "motion-v"
Get started with Motion for Vue.
🎓 Examples & tutorials
Browse 450+ official examples, with copy-paste code that'll level-up your animations whether you're a beginner or an expert.
Over 110 examples come with a full step-by-step tutorial on their example page.
🤖 Using Motion with AI
Give your coding agent current Motion docs:
- Agent skill: npx motion-ai installs the free, MIT-licensed /motion skill and sets up Motion's MCP servers for Claude Code, Cursor, Amp, OpenCode, Gemini CLI and Copilot. Source on GitHub.
- MCP server: https://mcp.motion.dev searches the Motion docs and example metadata. It is free and needs no account.
- llms.txt: motion.dev/llms.txt indexes every docs page. Motion+ pages are labelled as paid, with their install and import.
Motion+ adds example and Motion UI source, MotionScore performance audits and CSS spring generation for your agent.
🎨 Motion Studio
A visual animation editor for your website. Edit keyframes, easing curves and springs on a live timeline, or describe changes to the Ultramotion agent, then apply the result straight to your code with Cursor, Codex or Claude.
Explore Motion Studio
⚡️ Motion+
A one-time Personal licence with lifetime updates, or an annual per-seat Business plan for teams:
- 450+ examples
- 110+ tutorials
- Premium APIs like Cursor and Ticker
- Transition editor for Cursor and VS Code
- AI Kit: example and Motion UI source, MotionScore audits and CSS springs for your agent
- Private Discord
- Early access content
Get Motion+
👩🏻⚖️ License
- Motion is MIT licensed.
💎 Contribute
- Want to contribute to Motion? Our contributing guide has you covered.
✨ Sponsors
Motion is sustainable thanks to the kind support of its sponsors.
Become a sponsor
Partners
Motion powers the animations for all websites built wiTop issues
#4053[BUG] Safari native scrolling makes Reorder containers grow without bounds2 comments · 2026-11-04#4089[BUG] LazyMotion: a failed async features import becomes an unhandled promise rejection1 comments · 2026-11-14#4079[FEATURE]: Shared constraints for Motion's drag and pinch0 comments · 2026-11-10#4073[BUG] Paused transform animation with `onUpdate` never renders its first frame (regression in 14.2.0)0 comments · 2026-11-08#4072[BUG] Numbers in exponent notation (1e-7px) are mis-tokenized when mixing complex values0 comments · 2026-11-07
Discussions
#3885Animate layout exit/fade-out when conditional element is unmounted2 comments · 2026-10-02#3804A11yKit: 15 Free, Zero-Upload Accessibility & WCAG 2.2 / Contrast Tools for Motion & UI Animations0 comments · 2026-09-08#3802AnimatePresence issue with useFieldArray on router.refresh()2 comments · 2026-09-01#3797Lilscript makes motion.js 14% smaller on average1 comments · 2026-08-19#3792repeatEase request0 comments · 2026-08-17#3736The exit animation does not work with Next.js 16.2.6 and Framer Motion 12.4.01 comments · 2026-05-24#3732Add native SolidJS Support0 comments · 2026-05-16#3673I wish docs avaliable on motion.dev/docs were avaliable for agents0 comments · 2026-04-07