Motion for React
Motion for React is an open source, production-ready library thatβs designed for all creative developers.
It's the only animation library with a hybrid engine, combining the power of JavaScript animations combined with the performance of native browser APIs.
It looks like this:
<motion.div animate={{ x: 0 }} />
It does all this:
...and a whole lot more.
Get started
π Quick start
Install motion
with via your package manager:
npm install motion
Then import the motion
component:
import { motion } from "motion/react"
export function Component({ isVisible }) {
return <motion.div animate={{ opacity: isVisible ? 1 : 0 }} />
}
π Contribute
π©π»ββοΈ License
- Motion for React is MIT licensed.
Motion is sustainable thanks to the kind support of its sponsors.
Partners
Framer
Motion powers Framer animations, the web builder for creative pros. Design and ship your dream site. Zero code, maximum speed.
Platinum
Silver
Personal