audiocn

useReducedMotion

True when the user asked the system to reduce motion.

Meters and visualizers use this to show a static level instead of animating.

$ pnpm dlx shadcn@latest add @audiocn/use-reduced-motion
const reducedMotion = useReducedMotion();

It returns false during server rendering and updates when the setting changes.