frame motion npm code example Example: intall motion api with npm => npm install framer-motion with yarn => yarn add framer-motion