Skip to content
JS
Package

@n8tb1t/use-scroll-position

React hook to calculate scroll position

v4.0.0, 23 Sept 2025MITESM onlyTypes: BundledDOM and browser utilitiesReact
$ npm install @n8tb1t/use-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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@n8tb1t/use-scroll-position@4.0.0/
  • unpkghttps://unpkg.com/@n8tb1t/use-scroll-position@4.0.0/
  • esm.shhttps://esm.sh/@n8tb1t/use-scroll-position@4.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
react-scroll-parallax49.7k-11 months agoESM + CommonJS-
react-hotkeys-hook3.2m-2 months agoESM only-
@use-gesture/react5m-2 years agoESM + CommonJS-
@use-gesture/vanilla30.4k-2 years agoESM + CommonJS-
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-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.