react-use-window-scroll

js
React hooks for scrolling the page to any location, or by any amount. Supports smooth scrolling.
Version 1.1.8 License MIT
<script src=" https://cdn.jsdelivr.net/npm/react-use-window-scroll@1.1.8/dist/index.min.js "></script>