useScrollIntoView
Smoothly scrolls an element into view and provides controls to handle the scrolling behavior.
Source Codes
Full working code example, including necessary markup and styles. You can copy and paste this code directly to start using the component immediately.