Patterns

Reduced motion styling

Respect the motion preference with a media query and preserve meaningful state without animation.

Formal Syntax & Structure

react syntaxreact
@media (prefers-reduced-motion: reduce) { .status { transition: none; } }

Working Example

Example Snippetreact
.status { transition: background-color 200ms; }
React Reference