React Remove Scroll
React utility that disables body and outer scroll while a modal, drawer or overlay is open, locking background scroll behind the active panel, with touch-action and wheel interception, scrollbar width compensation to avoid layout shift, focus-sidecar isolation and optional shadow gap mode for accessible dialogs and popovers.
React Remove Scroll on GitHub theKashey/react-remove-scroll is a free MIT React utility that disables body and outer scroll while a modal drawer or overlay is open, npm react-remove-scroll 2.7.2 Node engines at least 10, locks background scroll behind the active panel with touch-action and wheel interception scrollbar width compensation to avoid layout shift focus-sidecar isolation and optional shadow gap mode for accessible dialogs and popovers, deps react-remove-scroll-bar react-style-singleton tslib use-callback-ref use-sidecar, peer react 16.8 to 19, 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 Remove Scroll free?
React Remove Scroll: React Remove Scroll is free open-source software released under the MIT license; the react-remove-scroll package latest 2.7.2 on npm has Node engines at least 10, published Nov 29, 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 Remove Scroll free?
The code is free to self-host, but a hosted plan from the vendor may not be. React Remove Scroll publishes its source, so cost depends on where you run it.
How much does React Remove Scroll cost?
React Remove Scroll is free open-source software released under the MIT license; the react-remove-scroll package latest 2.7.2 on npm has Node engines at least 10, published Nov 29, 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 Remove Scroll's current pricing?
On React Remove Scroll'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 Remove Scroll?
The component wraps the open panel and tracks scrollable ancestors, intercepting wheel, touch and keyboard scroll events outside the active content while measuring scrollbar width to pad the body and prevent the layout jump that locking usually causes. The sidecar pattern isolates focus and listeners, and shadow gap mode can render a placeholder so the page height stays stable while the overlay blocks background navigation.
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 Remove Scroll compare with other tools in Dev Workflow & Productivity?
React Remove Scroll 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 Remove Scroll | Open source | React Remove Scroll is free open-source software released under the MIT license; the react-remove-scroll package latest 2.7.2 on npm has Node engines at least 10, published Nov 29, 2025. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). | Nov 23, 2026 |
| React Indiana Drag Scroll | Open source | React Indiana Drag Scroll is free open-source software released under the MIT license; the react-indiana-drag-scroll package latest 2.2.1 on npm has Node engines at least 8, published Mar 01, 2025. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). | Nov 23, 2026 |
| Scroll Into View If Needed | Open source | Scroll Into View If Needed is free open-source software released under the MIT license; the scroll-into-view-if-needed package latest 3.2.1 on npm has no declared Node engines, published Nov 12, 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 Remove Scroll'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 Remove Scroll is free open-source software released under the MIT license; the react-remove-scroll package latest 2.7.2 on npm has Node engines at least 10, published Nov 29, 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 Indiana Drag Scroll
React drag-to-scroll container that pans a scrollable box by clicking and dragging with the mouse or touch, with momentum after release, native scroll fallback, optional horizontal or vertical locking, click preservation on links and buttons, and a lightweight component for image galleries, horizontal lists and wide dashboards.
Scroll Into View If Needed
Small ponyfill for the Element.scrollIntoView API that only scrolls an element into view when it is not already visible, supporting smooth instant and auto block and inline alignment, scroll mode for nearest edges, sticky and flex overflow awareness, parent scroll chain walking and a framework-agnostic core used by dropdowns, menus and pickers.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 23, 2026
