React MotionKit

useShouldAnimate · React MotionKit

Combines viewport, tab visibility and reduced-motion preference to decide whether a loop should run.

npx shadcn@latest add https://reactmotionkit.com/r/use-should-animate.json
Loading the source for use-should-animate…

use-should-animate