UseIntersectionObserver โ shadcn/ui Hook by tealmac | shadcnregistry
UseIntersectionObserver
hook
Watch an element with an IntersectionObserver and get its latest entry and an isIntersecting flag, with threshold, root, margin and freeze-once-visible options.