Z
Zyeon UI

usePrefersReducedMotion · Zyeon UI

An SSR-safe hook that reports whether the user has asked the system to reduce motion, and updates live when the OS setting changes.

npx shadcn@latest add @zyeon/use-prefers-reduced-motion
Preview usePrefersReducedMotion on Zyeon UI's site (opens in a new tab)

Not checked yet

Zyeon UI limits how often it can be asked, and usePrefersReducedMotion hasn't had its turn. Its source will show here once it has.