Motion is an animation library and suite of developer tools for making beautiful animations.
It's the only library with first-class APIs for JS, React and Vue. It's also the only library with a hybrid engine, combining the power of JS animations with the performance of native browser APIs.
import { animate } from "motion"
animate("#box", { x: 100 })
Get started with JavaScript.
npm install motion
import { motion } from "motion/react"
function Component() {
return <motion.div animate={{ x: 100 }} />
}
Get started with Motion for React.
<script>
import { motion } from "motion-v"
</script>
<template> <motion.div :animate={{ x: 100 }} /> </template>
Get started with Motion for Vue.
Motion Studio is a versatile suite of developer tools allowing you to:
- Visually edit CSS and Motion easing curves in VS Code
- Generate CSS springs with LLMs
- Load Motion docs into your LLM
Get started with Motion Studio.
Motion Examples offers 100s of free and Motion+ examples for beginners and advanced users alike. Easy copy/paste code to kickstart your next project.
Motion+ is a one-time fee, lifetime membership that unlocks over 100 premium examples, early access, powerful Studio tools, a private Discord, and exclusive APIs like:
- Cursor
- Ticker
- AnimateNumber
- splitText
- Motion is MIT licensed.
- Want to contribute to Motion? Our contributing guide has you covered.
Motion is sustainable thanks to the kind support of its sponsors.
Motion powers Framer animations, the web builder for creative pros. Design and ship your dream site. Zero code, maximum speed.
