Learn how to animate components with the transition prop to reverse animations, loop them, adjusting their easing, and more, which are all great for creating loading animations.
The transition prop is a powerful part of Framer Motion that defines "how values animate from one state to another".
Check out the official docs for more information on how to customize attributes of the transition prop.