A context provider for global motion configuration. Controls animation behavior based on user preferences, device capabilities, and explicit settings.
The MotionProvider wraps your app to provide consistent motion settings. All animated components automatically respect these settings.
Copy the MotionProvider component to your project:
Add the provider to your root layout.
Control how animations behave across your application.
Automatically disable animations on battery-constrained devices.
Battery API
Access motion configuration from any component.
Component Integration
useShouldDisableAnimation internally. They accept a disableAnimation prop for per-instance overrides.