Skip to main content

useLazyLoad Hook

A minimal React hook for lazy loading content when it scrolls into view. Uses IntersectionObserver with sensible defaults for image and data preloading.

Installation

$ npx shadcn@latest add @orecus/use-lazy-load

Usage