Skip to content
JS
Package

react-viewport-height

A utility for React to set 100vh equal to the actual browser inner window height.

v1.2.2, 31 Jul 2023MITCommonJSTypes: BundledDOM and browser utilitiesReact
$ npm install react-viewport-height

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3kSept 2025Mar 2026Sept 2026High 2.5k (2 Dec 2025)Low 507 (21 Jul 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,070 downloads last week, 4,260 in the last month. The 12-month change of -2% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.2.2, 31 Jul 20233 years ago
First published
-
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
1
Open pull requests
8
Commits, last 52 weeks
239
Dependents on npm
0

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)
8.9 kB
Dependencies (0)
None
Peer dependencies (2)
reactreact-dom
npm install react-viewport-height
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-viewport-height@1.2.2/
  • unpkghttps://unpkg.com/react-viewport-height@1.2.2/
  • esm.shhttps://esm.sh/react-viewport-height@1.2.2
PackageWeekly downloadsGzipLast releaseModuleComparison
react-scroll-trigger5.4k-4 years agoESM + CommonJS-
react-scrolllock134.5k-6 years agoCommonJS-
react-scroll-into-view-if-needed6.2k-5 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-
@use-gesture/vanilla30.4k-2 years agoESM + CommonJS-
@faceless-ui/scroll-info538.2k-1 year agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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