Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-customscroll

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-customscroll

This is a tiny React component for scroll bar customization, without dependencies but with a lot of features.

  • 5.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
124
decreased by-7.46%
Maintainers
1
Weekly downloads
 
Created
Source

React CustomScroll 5.1

React-customscroll is a tiny React component for scroll bar customization, without dependencies but with a lot of features.

Demo

Features:

  • TypeScript support
  • Extremely small size (11kb)
  • Without dependencies
  • Easy customization, simple api
  • Native OS scroll behavior
  • Cross browser
  • Animate scrollTo feature
  • React-sortable-tree / React-virtualized support
  • RTL support
  • Server Side Rendering support
  • Scroll snap support

Usage

Step 1:

npm install react-customscroll -save

Step 2:

React-customscroll works like native browser scroll.

You should paste the component inside the block with scrollable data.

For instance:

import CustomScroll from 'react-customscroll';
<div className="block-with-scrolling">
  <CustomScroll>
    ...long_data_here...
  </CustomScroll>
</div>

If block with a native browser scroll works well it will work with React-customscroll


Examples

License

MIT

Keywords

FAQs

Package last updated on 11 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc