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