React rendering
View transition motion preference
Do not request animation when reduced motion is preferred; preserve content.
Formal Syntax & Structure
react syntaxreact
window.matchMedia("(prefers-reduced-motion: reduce)").matchesWorking Example
Example Snippetreact
window.matchMedia("(prefers-reduced-motion: reduce)").matches