useInViewport
channel3/use-in-viewportUnverifiedHook
Fires a callback when an element enters the viewport via IntersectionObserver, with one-shot and repeating modes for lazy sections and infinite-scroll sentinels.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/channel3-ai/channel3-ui/main/use-in-viewport.jsonThis registry does not serve an item endpoint we could read, so we hold its metadata but not its source.
Files it writes
More from channel3
All 23 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| useAsyncOptionsuse-async-options | channel3 | Hooks | Unverified | 1 dep | |
| useProductRecommendationsuse-product-recommendations | channel3 | Hooks | Unverified | 2 deps | |
| useProductSearchuse-product-search | channel3 | Hooks | Unverified | 2 deps | |
| useVariantSelectionuse-variant-selection | channel3 | Hooks | Unverified | 2 deps |
