@kohlmannj/react-intersection-observer
Monitor if a component is inside the viewport, using IntersectionObserver API
Monitor if a component is inside the viewport, using IntersectionObserver API
Monitor the scroll percentage of a component inside the viewport, using the IntersectionObserver API.
A Svelte action that monitors an element enters or leaves the viewport or a parent element. Performant and efficient thanks to using Intersection Observer under the hood.