Open source, production-ready animation and gesture library for React
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:
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:
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.