Skip to content

Support prefers-reduced-motion#48357

Draft
mj12albert wants to merge 5 commits into
mui:masterfrom
mj12albert:prefers-reduced-motion
Draft

Support prefers-reduced-motion#48357
mj12albert wants to merge 5 commits into
mui:masterfrom
mj12albert:prefers-reduced-motion

Conversation

@mj12albert
Copy link
Copy Markdown
Member

@mj12albert mj12albert commented Apr 22, 2026

Requires #48325

Enabled with a theme-level config:

const theme = createTheme({
  transitions: {
    reducedMotion: 'system',
  },
});

Component-level opt-out:

<Collapse in={open} disablePrefersReducedMotion />

To preview, emulate prefers-reduced-motion: reduce in Chrome devtools. Animations/transitions on components do not run, and skips as much work as possible:

Closes #16367

@mj12albert mj12albert added accessibility a11y scope: transitions Changes related to the transitions. labels Apr 22, 2026
@code-infra-dashboard
Copy link
Copy Markdown

code-infra-dashboard Bot commented Apr 22, 2026

Deploy preview

Bundle size

Bundle Parsed size Gzip size
@mui/material 🔺+4.18KB(+0.82%) 🔺+1.32KB(+0.90%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/private-theming 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

@mj12albert mj12albert force-pushed the prefers-reduced-motion branch from e58d6bd to c0ded88 Compare April 22, 2026 22:13
@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label May 6, 2026
@mj12albert mj12albert force-pushed the prefers-reduced-motion branch from c0ded88 to 4067087 Compare May 8, 2026 18:58
@github-actions github-actions Bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label May 8, 2026
@mj12albert mj12albert added the scope: all components Widespread work has an impact on almost all components. label May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility a11y scope: all components Widespread work has an impact on almost all components. scope: transitions Changes related to the transitions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for prefers-reduced-motion

1 participant