Package
@n8tb1t/use-scroll-position
React hook to calculate scroll position
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 42.1k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 year ago
- v4.0.0
- GitHub stars
- 631
- 62 forks
- Open issues / PRs
- 3 / 7
- Contributors
- -
- Commits, last 52 weeks
- 0
No weekly download data in the snapshot.
42,149 downloads last week, 192,225 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 4.0.0, 23 Sept 20251 year ago
- First published
- -
- Last push to GitHub
- 6 Apr 2026171 days before the snapshot
- Repository archived
- No
- Open issues
- 3
- Open pull requests
- 7
- Commits, last 52 weeks
- 0
- Dependents on npm
- 51
Major versions
-
Recent releases
-
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 39 kB
- Dependencies (0)
- None
- Peer dependencies (2)
react@types/react
npm install @n8tb1t/use-scroll-position- jsDelivr
https://cdn.jsdelivr.net/npm/@n8tb1t/use-scroll-position@4.0.0/ - unpkg
https://unpkg.com/@n8tb1t/use-scroll-position@4.0.0/ - esm.sh
https://esm.sh/@n8tb1t/use-scroll-position@4.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| react-scroll-parallax | 49.7k | - | 11 months ago | ESM + CommonJS | - |
| react-hotkeys-hook | 3.2m | - | 2 months ago | ESM only | - |
| @use-gesture/react | 5m | - | 2 years ago | ESM + CommonJS | - |
| @use-gesture/vanilla | 30.4k | - | 2 years ago | ESM + CommonJS | - |
| 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 | - |
Indexability: Indexed.