React MotionKit

usePageVisible · React MotionKit

SSR-safe hook that reports whether the browser tab is visible, used to pause continuous animations.

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

use-page-visible