simplebar

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

  • 所有者: Grsmto/simplebar
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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

主要指标

概览
名称与所有者Grsmto/simplebar
主编程语言TypeScript
编程语言JavaScript (语言数: 5)
平台
许可证MIT License
所有者活动
创建于2013-05-29 20:39:40
推送于2025-05-10 13:13:25
最后一次提交2025-05-10 14:13:03
发布数428
最新版本名称simplebar-website@0.2.1 (发布于 2025-05-10 14:13:23)
第一版名称version_1.0 (发布于 2012-06-11 08:39:01)
用户参与
星数6.2k
关注者数65
派生数540
提交数1.4k
已启用问题?
问题数585
打开的问题数106
拉请求数100
打开的拉请求数2
关闭的拉请求数33
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?