Combines viewport, tab visibility and reduced-motion preference to decide whether a loop should run.
pnpm dlx shadcn@latest add "https://reactmotionkit.com/r/use-should-animate.json"