Package
react-container-dimensions
Wrapper component that detects element resize and passes new dimensions down the tree. Based on [element-resize-detector](https://github.com/wnr/element-resize-detector)
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 26k
- -13% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 3
- Direct, from package.json
- Last release
- 8 years ago
- v1.4.1
- GitHub stars
- 232
- 28 forks
- Open issues / PRs
- 14 / 20
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
26,027 downloads last week, 106,635 in the last month. The 12-month change of -13% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.4.1, 14 Aug 20188 years ago
- First published
- -
- Last push to GitHub
- 11 Jan 20212,082 days before the snapshot
- Repository archived
- No
- Open issues
- 14
- Open pull requests
- 20
- Commits, last 52 weeks
- 0
- Dependents on npm
- 103
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)
- 13 kB
- Dependencies (3)
invariantprop-typeselement-resize-detector- Peer dependencies (2)
reactreact-dom
npm install react-container-dimensions- jsDelivr
https://cdn.jsdelivr.net/npm/react-container-dimensions@1.4.1/ - unpkg
https://unpkg.com/react-container-dimensions@1.4.1/ - esm.sh
https://esm.sh/react-container-dimensions@1.4.1
Indexability: Indexed.