framer motion download code example
Example 1: install framer motion
If you have npm:
npm install framer-motion
If you have yarn:
yarn add framer-motion
Example 2: framer motion
<motion.div animate={{ x: 0, y: 0, scale: 1, rotate: 0, type:"tween" }}/>