how to use framer motion code example
Example: framer motion
<motion.div animate={{ x: 0, y: 0, scale: 1, rotate: 0, type:"tween" }}/>
<motion.div animate={{ x: 0, y: 0, scale: 1, rotate: 0, type:"tween" }}/>