framer motion tutorial code example
Example 1: framer motion
npm install framer-motion
Example 2: framer motion
<motion.div animate={{ x: 0, y: 0, scale: 1, rotate: 0, type:"tween" }}/>
Example 3: framer motion
<motion.div animate={{ x: -200, y: 0, scale: 1, rotate: 0, }}/>