react-remove-scroll-bar
npmv2.3.8TypeScriptRemoves body scroll without content _shake_
Adopt with care
react-remove-scroll-bar is usable, with caveats. Last published 634 days ago. 2 releases in the last 2 years.
- AAdoption: grade A, Excellent.
59.1M downloads per week and 1 known dependents.
- CMaintenance: grade C, Fair — worth a look.
Last published 634 days ago. 2 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 3 transitive packages, about 48 KB installed (at least — some of the tree is still being crawled).
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding react-remove-scroll-bar to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing react-remove-scroll-bar, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >=10
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the react-remove-scroll-bar README.
import {RemoveScrollBar} from 'react-remove-scroll-bar';
<RemoveScrollBar /> -> no scroll barreact-remove-scroll-bar vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| react-remove-scroll-barthis page | 59.1M | 1 | MIT | 1 year ago |
| react-remove-scroll | 64.2M | 2 | MIT | 19 hours ago |
Dependencies
Declared by react-remove-scroll-bar v2.3.8. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (2)
Dev (8)
Used by
Popular packages that depend on react-remove-scroll-bar.
Relationship graph
Dependencies (left) and dependents (right) of react-remove-scroll-bar.
Frequently installed together
TypeScript definitions for react
React is a JavaScript library for building user interfaces.
Sidecar code splitting utils
Just create a single stylesheet...
The same useRef, but with callback
Release history
2 releases in the last two years, typically about 36 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.3.8latest | 1 year ago | 24 KB | MIT |
| 2.3.7 | 1 year ago | 24 KB | MIT |
| 2.3.6 | 2 years ago | 24 KB | MIT |
| 2.3.5 | 2 years ago | 23 KB | MIT |
| 2.3.4 | 3 years ago | 21 KB | MIT |
| 2.3.3 | 4 years ago | 22 KB | MIT |
| 2.3.1 | 4 years ago | 21 KB | MIT |
| 2.3.0 | 4 years ago | 21 KB | MIT |
| 2.2.0 | 5 years ago | 13 KB | MIT |
| 2.1.1 | 5 years ago | 13 KB | MIT |
| 2.1.0 | 6 years ago | 12 KB | MIT |
| 2.0.0 | 7 years ago | 12 KB | MIT |
| 1.2.0 | 7 years ago | 16 KB | MIT |
| 1.1.5 | 7 years ago | 14 KB | MIT |
| 1.1.4 | 7 years ago | 14 KB | MIT |
Overview
react-remove-scroll-bar is an npm package that removes body scroll without content _shake_. It is extremely widely used, with about 59.1M downloads per week and 1 known dependents in the graph. The latest version is 2.3.8, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need removes body scroll without content _shake_ and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (59.1M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Keywords
Frequently asked questions
Should I use react-remove-scroll-bar?
react-remove-scroll-bar is usable, with caveats. Last published 634 days ago. 2 releases in the last 2 years.
How do I install react-remove-scroll-bar?
Run `npm install react-remove-scroll-bar` to add react-remove-scroll-bar to your npm project.
How many dependencies does react-remove-scroll-bar have?
react-remove-scroll-bar declares 12 direct dependencies and pulls in 3 packages in total once its runtime tree is resolved totalling about 48 KB on disk.
What license is react-remove-scroll-bar released under?
react-remove-scroll-bar is distributed under the MIT license.
How popular is react-remove-scroll-bar?
react-remove-scroll-bar has approximately 59,123,515 downloads per week and 1 known dependent packages.
Is react-remove-scroll-bar still maintained?
The most recent release of react-remove-scroll-bar (v2.3.8) was published 1 year ago.
Does react-remove-scroll-bar run install scripts?
No. react-remove-scroll-bar does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.