Framer Motion provides helper props like whileHover & whileTap, that will temporarily animate a component to a visual state when that gesture is happening.
whileHover
whileTap