OverlayScrollbars

screenshot of OverlayScrollbars
angular
react
solid
svelte
vite
vue
scss

A javascript scrollbar plugin that hides the native scrollbars, provides custom styleable overlay scrollbars, and preserves the native functionality and feel.

Overview:

OverlayScrollbars is a javascript scrollbar plugin designed to hide native scrollbars, provide custom styleable overlay scrollbars, and maintain native functionality and feel. It was created to address the issue of ugly and space-consuming scrollbars that didn't meet the developer's requirements in terms of features, quality, simplicity, license, and browser support.

Features:

  • Simple and well-documented API
  • High browser compatibility with Firefox 59+, Chrome 55+, Opera 42+, Edge 15+, and Safari 10+
  • Fully Accessible with native scrolling behavior preserved
  • Server-side compatibility with Node, Deno, and Bun for SSR, SSG, and ISR support
  • Tested on various devices like Mobile, Desktop, and Tablet
  • Tested with various inputs including Mouse, Touch, and Pen
  • Treeshaking to bundle only necessary components
  • Automatic update detection without the need for constant polling
  • Dependency-free with 100% self-written code for optimal size and functionality

npm & nodejs

OverlayScrollbars can be installed using npm or any preferred package manager:

npm install overlayscrollbars
angular
Angular

Angular is a TypeScript-based open-source framework by Google for building dynamic single-page applications and cross-platform mobile apps with MVC architecture and a rich set of features.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

solid
Solid

SolidJS is a declarative JavaScript library for building user interfaces, offering a reactive programming model for efficient updates. It stands out for its reactivity system that minimizes unnecessary re-renders and its small bundle size, making it a performant choice for developing lightweight and reactive web applications.

svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

scss
SCSS

SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

rollup
Rollup

RollupJS is a popular and efficient JavaScript module bundler that takes the code from multiple modules and packages them into a single optimized file, minimizing the overall size of the application and improving its performance.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.