}
return (
Loading...}>
)
}
```
## Best Practices
1. **Performance First**
- Use `transform` and `opacity` for smooth animations
- Enable GPU acceleration with `transform3d`
- Avoid animating layout properties
- Use `will-change` sparingly
2. **Accessibility**
- Respect `prefers-reduced-motion`
- Provide alternative feedback for motion
- Ensure animations don't cause seizures
- Keep essential animations under 5 seconds
3. **User Experience**
- Use easing functions that feel natural
- Match animation duration to user expectations
- Provide immediate feedback for interactions
- Don't animate everything - use purposefully
4. **Code Organization**
- Create reusable animation variants
- Use consistent timing and easing
- Document complex animation sequences
- Test on lower-end devices
Remember: Great animations enhance usability without drawing attention to themselves!