@smakss/react-scroll-direction

esm
Enhance your React apps with advanced scroll detection using @smakss/react-scroll-direction. This powerful hook not only detects scroll direction but also provides scroll position information. Ideal for React, Remix, Next.js, and Gatsby projects, it comes
Version 4.2.0 License MIT
Keywords
react-scroll-directionscroll-position-reactreact-hook-scroll-positionscroll-detection-reactscroll-position-detectionscroll-direction-detectionreact-hook-scrolldirection-and-position-detectionscroll-hooknpmyarnreactremixnextjsgatsby
<script type="module"> import smakssreactScrollDirection from 'https://cdn.jsdelivr.net/npm/@smakss/react-scroll-direction@4.2.0/+esm' </script>