use-on-screen

use-on-screen is a React Hooks library used to detect if a certain element is visible on the screen, both in a scrollable container and in the window.