How to add high-end animations to your web applications without sacrificing performance or accessibility.
Animations can make or break a user experience. Framer Motion is the industry standard for React animations because it is declarative, powerful, and easy to use.
### Core Concept: The `motion` Component
By simply adding `motion.` to your tags (e.g., `<motion.div>`), you unlock a world of animation properties like `animate`, `initial`, `whileHover`, and `exit`.
### Layout Animations
One of the most powerful features is `layout` transitions. When you change the state of a component (like its size or position), Framer Motion automatically calculates the intermediate frames to create a smooth transition.
### Accessibility Matters
Always use the `ReducedMotion` hook to respect user preferences. If a user has 'Reduce Motion' enabled in their OS, your site should automatically simplify or disable heavy animations.