hookas
Registry for most popular React hooks based on the shadcn/ui.
Scroll & Viewport
useIsInViewport
(use-is-in-viewport)
A hook to check if an element is in the viewport
useIsScrolled
(use-is-scrolled)
A hook to check if an element is scrolled
useIsWindowScrolled
(use-is-window-scrolled)
A hook to check if the window is scrolled
useScrollDirection
(use-scroll-direction)
A hook to track the scroll direction
useScrollInfo
(use-scroll-info)
A hook to get the scroll info of an element