Skip to content
JS
Package

use-scroll-direction

A simple, performant, and cross-browser hook for handling scroll in your next react app.

v1.1.4, 25 Dec 2021MITESM + CommonJSTypes: BundledDOM and browser utilitiesReact
$ npm install use-scroll-direction

Key numbers

As of 25 Sept 2026
Weekly downloads
1.4k
-55% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
4 years ago
v1.1.4
GitHub stars
32
2 forks
Open issues / PRs
0 / 9
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3k4kSept 2025Mar 2026Sept 2026High 3.9k (24 Mar 2026)Low 496 (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,415 downloads last week, 7,115 in the last month. The 12-month change of -55% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.1.4, 25 Dec 20214 years ago
First published
-
Last push to GitHub
16 Jan 20231,347 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
9
Commits, last 52 weeks
0
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=12
Runtimes
-
Unpacked size (npm)
49 kB
Dependencies (1)
lodash.throttle
Peer dependencies (1)
react
npm install use-scroll-direction
  • jsDelivrhttps://cdn.jsdelivr.net/npm/use-scroll-direction@1.1.4/
  • unpkghttps://unpkg.com/use-scroll-direction@1.1.4/
  • esm.shhttps://esm.sh/use-scroll-direction@1.1.4
PackageWeekly downloadsGzipLast releaseModuleComparison
react-horizontal-scrolling-menu80.4k-25 days agoESM + CommonJS-
react-resizable-layout32.8k-1 year agoESM + CommonJS-
react-svg232.1k-24 days agoESM + CommonJS-
overlayscrollbars580.5k-4 months agoESM + CommonJS-
react-scroll-into-view-if-needed6.2k-5 years agoESM + CommonJS-
react-indiana-drag-scroll81.5k-1 year agoESM + CommonJS-
flexlayout-react57.2k-13 days agoESM only-
@faceless-ui/scroll-info538.2k-1 year agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 1415 < 10000.