Skip to content

usePreferredReducedMotion ​

Category
Browser

Hook that returns the reduced motion preference

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

Usage ​

typescript
const reduced = usePreferredReducedMotion();

Demo ​

Api ​

Contributors ​

Source • Demo