Fires a callback when an element enters the viewport via IntersectionObserver, with one-shot and repeating modes for lazy sections and infinite-scroll sentinels.
pnpm dlx shadcn@latest add "https://ui.trychannel3.com/r/use-in-viewport.json"