Description
react-custom-scrollbars-4 is a React scrollbars component that keeps native browser scrolling and adds fully customizable scrollbars. The README lists its traits: frictionless native browser scrolling, native scrollbars on mobile devices, full customization, auto hide, auto height, support for running on both client and server, requestAnimationFrame for 60fps updates, no extra stylesheets, and well-tested code with 100% coverage. The repository exists because the original react-custom-scrollbars and react-custom-scrollbars-2 packages are stale. This fork adds React 19 support and aims to modernize the package in every way while keeping the original APIs intact. It is meant for projects that use npm with a module bundler such as Vite or Webpack, which consume its CommonJS modules. The README says a single-file UMD build is available from unpkg, but it does not recommend that for serious applications, because most of the complementary libraries are only on npm. The README shows a minimal configuration, and the Wiki documents all properties. The repository also includes demos, a simple example to run, and tests with a coverage report. The package is MIT licensed and hosted on GitHub.…
Highlights
- Native browser scrolling with custom scrollbars
- Auto hide and auto height
- Works on client and server
- React 19 support
- No extra stylesheets
Ratings & Reviews
No ratings yet
Be the first to rate react-custom-scrollbars-4.
People also visit
react-custom-scrollbars-4 FAQ
What is react-custom-scrollbars-4?
A React scrollbars component that keeps native browser scrolling and adds customizable scrollbars.
Why is it a fork?
The original react-custom-scrollbars and react-custom-scrollbars-2 packages are stale. This fork adds React 19 support and keeps the original APIs.
How do I install it?
It is an npm package for projects that use a bundler such as Vite or Webpack. A UMD build is on unpkg, but the README does not recommend it for serious applications.
Where are the properties documented?
The Wiki documents all properties, and the README has a minimal configuration to start with.
Does it work on mobile?
Yes. The README says it uses native scrollbars on mobile devices.
What are the best react-custom-scrollbars-4 alternatives?
Popular alternatives to react-custom-scrollbars-4 include react-custom-scrollbars, rc-scrollbars and react-custom-scroll. See all react-custom-scrollbars-4 alternatives





















