useIntersection

React sensor hook that tracks the changes in the intersection of a target element with an ancestor element or with a top-level document's viewport.

hooks
Scroll me
Fully in view 😍

About

The useIntersection hook uses the Intersection Observer API and the IntersectionObserverEntry.

Installation

Run the following command:

npx ever-ui-clx@0.2.1 add demo-use-intersection
# └──> Hook coming soon.

Usage