React Use Size
Collection of React hooks that measure window size, element size and orientation, returning responsive width and height values for layout breakpoints and adaptive rendering.
React Use Size on GitHub thomasthiebaud/react-use-size is a free MIT collection of React measurement hooks, npm react-use-size 5.0.1 Node 18.0.0 or above, measures window size element size and orientation and returns responsive width and height values, no sold commercial tier (data as of Nov 23, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is React Use Size free?
React Use Size: React Use Size is free open-source software released under the MIT license; the react-use-size package latest 5.0.1 on npm has Node 18.0.0 or above, published Feb 1, 2025. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is React Use Size free?
The code is free to self-host, but a hosted plan from the vendor may not be. React Use Size publishes its source, so cost depends on where you run it.
How much does React Use Size cost?
React Use Size is free open-source software released under the MIT license; the react-use-size package latest 5.0.1 on npm has Node 18.0.0 or above, published Feb 1, 2025. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check React Use Size's current pricing?
On React Use Size's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is React Use Size?
The package exposes separate hooks for viewport dimensions, element dimensions and orientation, each returning reactive width and height that updates on resize. It helps components switch between desktop and mobile layouts, render grids by available width and adapt UI to the current screen without manual event wiring.
How does pricing work?
The package installs free under its MIT license with no seat license; it bundles into the frontend app or runs in-process, and any commercial support or managed service would be outside the open-source project.
How does React Use Size compare with other tools in Dev Workflow & Productivity?
React Use Size is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| React Use Size | Open source | React Use Size is free open-source software released under the MIT license; the react-use-size package latest 5.0.1 on npm has Node 18.0.0 or above, published Feb 1, 2025. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). | Nov 23, 2026 |
| React Use Measure | Open source | React Use Measure is free open-source software released under the MIT license; the react-use-measure package latest 2.1.7 on npm has no declared Node engines, published Jan 30, 2025. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). | Nov 23, 2026 |
| Use Element Dimensions | Open source | Use Element Dimensions is free open-source software released under the MIT license; the use-element-dimensions package latest 3.0.0 on npm has no declared Node engines, published Mar 14, 2026. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). | Nov 23, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
React Use Size's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: React Use Size is free open-source software released under the MIT license; the react-use-size package latest 5.0.1 on npm has Node 18.0.0 or above, published Feb 1, 2025. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
React Use Measure
React measurement utility that returns a ref and bounds object with width, height, top, left, right and bottom for any element, built on ResizeObserver with optional scroll and viewport observers.
Use Element Dimensions
React hook that observes DOM element dimensions and returns live width and height updates through ResizeObserver, with a ref to attach to the target node.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 23, 2026
