simplebar

Custom scrollbars vanilla javascript library with native scroll, done simple, lightweight, easy to use and cross-browser.

  • Owner: Grsmto/simplebar
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

SimpleBar does NOT implement a custom scroll behaviour. It keeps the native overflow: auto scroll and only replace the scrollbar visual appearance.

Design it as you want

SimpleBar uses pure CSS to style the scrollbar. You can easily customize it as you want! Or even have multiple style on the same page...or just keep the default style ("Mac OS" scrollbar style).

Lightweight and performant

Only 6kb minified. SimpleBar doesn't use Javascript to handle scrolling. You keep the performances/behaviours of the native scroll.

Supported everywhere

SimpleBar has been tested on the following browsers: Chrome, Firefox, Safari, Edge, IE11.

Getting started

The easiest way to use SimpleBar is with the default dependency-free version: npm install simplebar.

If you are using a framework, SimpleBar also supports the most popular ones: Vue, Angular and React.

Demo

You can check our demo page (which is also the one we use for automated tests).

Changelog

See changelog here : https://github.com/Grsmto/simplebar/releases

Credits

Main metrics

Overview
Name With OwnerGrsmto/simplebar
Primary LanguageTypeScript
Program languageJavaScript (Language Count: 5)
Platform
License:MIT License
所有者活动
Created At2013-05-29 20:39:40
Pushed At2025-05-10 13:13:25
Last Commit At2025-05-10 14:13:03
Release Count428
Last Release Namesimplebar-website@0.2.1 (Posted on 2025-05-10 14:13:23)
First Release Nameversion_1.0 (Posted on 2012-06-11 08:39:01)
用户参与
Stargazers Count6.2k
Watchers Count65
Fork Count540
Commits Count1.4k
Has Issues Enabled
Issues Count585
Issue Open Count106
Pull Requests Count100
Pull Requests Open Count2
Pull Requests Close Count33
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private