idimetrix / use-element-on-screen

`use-element-on-screen` is a React hook that tracks the visibility of an element within the viewport. It uses the Intersection Observer API to detect when an element enters or leaves the screen, enabling you to trigger animations, lazy loading, or other actions based on the element's visibility.

Home Page:https://www.npmjs.com/package/use-element-on-screen

Repository from Github https://github.comidimetrix/use-element-on-screenRepository from Github https://github.comidimetrix/use-element-on-screen

idimetrix/use-element-on-screen Watchers