Skip to content

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

License

Notifications You must be signed in to change notification settings

Grsmto/simplebar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6bf02cd · Mar 4, 2025
Aug 22, 2024
Oct 23, 2024
Mar 4, 2025
Nov 1, 2018
Jan 14, 2023
Feb 11, 2023
Jun 13, 2024
Apr 10, 2019
Jan 16, 2023
Dec 10, 2024
Apr 26, 2016
Aug 22, 2024
Jan 12, 2023
Oct 18, 2019
Sep 19, 2019
Feb 11, 2023
Dec 10, 2024
Dec 10, 2024
Sep 19, 2019
Mar 4, 2025

Repository files navigation

SimpleBar


NPM version NPM downloads Build Status


SimpleBar does only one thing: replace the browser's default scrollbar with a custom CSS-styled one without losing performances. Unlike some popular plugins, SimpleBar doesn't mimic scroll with Javascript, causing janks and strange scrolling behaviours... You keep the awesomeness of native scrolling...with a custom scrollbar! SimpleBar does NOT implement a custom scroll behaviour. It keeps the native overflow: auto scroll and only replace the scrollbar visual appearance.

Buy Me A Coffee

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