Load-more-on-scroll sentinel. Calls an onLoadMore callback when the user scrolls near the bottom (or top, in reverse mode). Supports a window or element scroll target, distance threshold, loading/hasMore/disabled gating, and slots for custom loading and end-of-list states.
npx shadcn@latest add https://uipkge.dev/r/react/infinite-scroll.jsoninfinite-scroll