Skip to content
JS
Package

react-dimensions

React [higher-order component](https://gist.github.com/sebmarkbage/ef0bf1f338a7182b6775) to get dimensions of container

v1.3.1, 24 Oct 2017MITCommonJSTypes: NoneReact
$ npm install react-dimensions

Key numbers

As of 25 Sept 2026
Weekly downloads
15.5k
-68% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
8 years ago
v1.3.1
GitHub stars
449
76 forks
Open issues / PRs
24 / 4
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
025k50k75k100kSept 2025Mar 2026Sept 2026High 86.1k (28 Oct 2025)Low 5.8k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

15,480 downloads last week, 60,039 in the last month. The 12-month change of -68% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.3.1, 24 Oct 20178 years ago
First published
-
Last push to GitHub
3 May 20183,066 days before the snapshot
Repository archived
Yes
Open issues
24
Open pull requests
4
Commits, last 52 weeks
0
Dependents on npm
77

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (1)
element-resize-event
Peer dependencies (2)
reactreact-dom
npm install react-dimensions
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-dimensions@1.3.1/
  • unpkghttps://unpkg.com/react-dimensions@1.3.1/
  • esm.shhttps://esm.sh/react-dimensions@1.3.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.