Package
react-use-scroll-position
A react hook to 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
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- jsDelivr
https://cdn.jsdelivr.net/npm/react-use-scroll-position@2.0.0/ - unpkg
https://unpkg.com/react-use-scroll-position@2.0.0/ - esm.sh
https://esm.sh/react-use-scroll-position@2.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @n8tb1t/use-scroll-position | 42.1k | - | 1 year ago | ESM only | - |
| @faceless-ui/scroll-info | 538.2k | - | 1 year ago | ESM only | - |
| react-scrolllock | 134.5k | - | 6 years ago | CommonJS | - |
| react-scroll-into-view-if-needed | 6.2k | - | 5 years ago | ESM + CommonJS | - |
| react-scroll-trigger | 5.4k | - | 4 years ago | ESM + CommonJS | - |
| lenis | 1.1m | - | 1 month ago | ESM only | - |
| react-indiana-drag-scroll | 81.5k | - | 1 year ago | ESM + CommonJS | - |
| @use-gesture/react | 5m | - | 2 years ago | ESM + CommonJS | - |
Indexability: Not indexed (discovery only): downloads_week 1042 < 10000.