useReducedMotion

Detect when the user asks the system to reduce motion.

This is custom React hooks, you need to follow the Basic Rules when you use it.

General

Turn on reduced motion in the system settings to see it change.

APIs

useReducedMotion

const useReducedMotion = () => boolean
Edit this page on GitHub