Skip to content

usePreferredReducedMotion ​

browser
test coverage
Last changed: last month

Hook that returns the reduced motion preference

typescript
import { usePreferredReducedMotion } from '@siberiacancode/reactuse';

Usage ​

typescript
const reduced = usePreferredReducedMotion();

Demo ​

Api ​

Source ​

Source • Demo

Contributors ​

Avatardebabin

Released under the MIT License.