Skip to content
JS
Package

@smakss/react-scroll-direction

Enhance your React apps with advanced scroll detection using @smakss/react-scroll-direction. This powerful hook not only detects scroll direction but also provides scroll position information. Ideal for React, Remix, Next.js, and Gatsby projects, it comes

v4.3.1, 1 Feb 2026MITESM onlyTypes: BundledStatic site generators and meta-frameworksReact
$ npm install @smakss/react-scroll-direction

Key numbers

As of 25 Sept 2026
Weekly downloads
9.8k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 months ago
v4.3.1
GitHub stars
28
4 forks
Open issues / PRs
0 / 5
Contributors
-
Commits, last 52 weeks
23

No weekly download data in the snapshot.

9,844 downloads last week, 64,802 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
4.3.1, 1 Feb 20267 months ago
First published
-
Last push to GitHub
4 Feb 2026232 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
5
Commits, last 52 weeks
23
Dependents on npm
4

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.14.0
Runtimes
-
Unpacked size (npm)
25 kB
Dependencies (0)
None
Peer dependencies (1)
react
npm install @smakss/react-scroll-direction
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@smakss/react-scroll-direction@4.3.1/
  • unpkghttps://unpkg.com/@smakss/react-scroll-direction@4.3.1/
  • esm.shhttps://esm.sh/@smakss/react-scroll-direction@4.3.1
PackageWeekly downloadsGzipLast releaseModuleComparison
@react-hookz/web279.2k-1 month agoESM only-
react-use-intercom346.3k-1 month agoESM + CommonJS-
@mantine/ssr18.1k-2 years agoESM + CommonJS-
@aaronhayes/react-use-hubspot-form12k-1 year agoESM + CommonJS-
@reactuses/core299.2k-7 days agoESM + CommonJS-
react-head14.5k-4 years agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

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