use-section-scroll-position

This module allows you to identify the position of the scroll bar in respect to the different sections of your webpage. The id of these sections are passed as an array when calling the hook. When the scroll bar enters one of these sections, it returns the

react-scroll-posi

A custom React hook that returns the current scroll position of the page