Animate React components with the motion component.
<motion.div
animate={{ x: 100 }}
transition={{ type: "spring" }}
/>Get started
npm install motionAnimate React components with the motion component.
<motion.div
animate={{ x: 100 }}
transition={{ type: "spring" }}
/>npm install motionAnimate HTML, SVG and WebGL in any framework, or none.
animate(".box", { x: 100 }, {
type: "spring",
bounce: 0.3
})npm install motionAnimate Vue components with the motion component.
<motion.div
:animate="{ x: 100 }"
:transition="{ type: 'spring' }"
/>npm install motion-v