Skip to content
JS
Package

react-use-scroll-position

A react hook to use scroll position

v2.0.0, 1 Jun 2019MITCommonJSTypes: BundledDOM and browser utilitiesReact
$ npm install react-use-scroll-position

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3kSept 2025Mar 2026Sept 2026High 2.9k (5 May 2026)Low 722 (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,042 downloads last week, 6,004 in the last month. The 12-month change of -10% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.0.0, 1 Jun 20197 years ago
First published
-
Last push to GitHub
1 Jun 20192,672 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
9

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
11 kB
Dependencies (0)
None
Peer dependencies (1)
react
npm install react-use-scroll-position
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-use-scroll-position@2.0.0/
  • unpkghttps://unpkg.com/react-use-scroll-position@2.0.0/
  • esm.shhttps://esm.sh/react-use-scroll-position@2.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@n8tb1t/use-scroll-position42.1k-1 year agoESM only-
@faceless-ui/scroll-info538.2k-1 year agoESM only-
react-scrolllock134.5k-6 years agoCommonJS-
react-scroll-into-view-if-needed6.2k-5 years agoESM + CommonJS-
react-scroll-trigger5.4k-4 years agoESM + CommonJS-
lenis1.1m-1 month agoESM only-
react-indiana-drag-scroll81.5k-1 year agoESM + CommonJS-
@use-gesture/react5m-2 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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