A collection of stunning, ready-to-use custom scrollbar styles for modern web projects.
git clone https://github.com/Clementabcd/Beautiful-Custom-Scrollbars.git
### Via CDN (jsDelivr)
```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Clementabcd/Beautiful-Custom-Scrollbars@main/styles/liquid-glass.css">
Style | Preview | Description |
---|---|---|
Liquid Glass | ![Preview] | Translucent, frosted glass effect |
Aurora Borealis | ![Preview] | Color-shifting gradient animation |
Marble Vein | ![Preview] | Elegant marble texture effect |
Cyberpunk Neon | ![Preview] | Retro-futuristic neon style |
Nature Moss | ![Preview] | Organic green tones |
Galaxy Swirl | ![Preview] | Deep space cosmic effect |
Golden Luxury | ![Preview] | Luxurious gold accents |
Minimal Glass | ![Preview] | Ultra-clean subtle design |
Feature | Chrome | Firefox | Safari | Edge |
---|---|---|---|---|
Basic Styles | β | β | β | β |
Blur Effects | β | β | β | β |
Animations | β | β | β | β |
SVG Backgrounds | β | β | β | β |
All scrollbar styles can be easily customized by editing these common properties:
::-webkit-scrollbar {
width: 10px; /* Change thickness */
height: 10px; /* For horizontal scrollbars */
}
::-webkit-scrollbar-thumb {
background: #yourcolor; /* Solid color */
background: linear-gradient(...); /* Gradient */
}
backdrop-filter: blur(Xpx)
and opacity@keyframes
duration or colorsborder
thickness/colorbox-shadow
valuesFor each style, modify these Firefox-specific properties:
html {
scrollbar-width: thin | auto | none;
scrollbar-color: thumb-color track-color;
}
import React, { useEffect } from 'react';
import './styles/liquid-glass.css';
const ScrollableComponent = () => {
useEffect(() => {
document.documentElement.style.setProperty('--scrollbar-width', '12px');
}, []);
return (
<div className="overflow-y-auto">
{/* Your content */}
</div>
);
};
import './styles/liquid-glass.css';
export default {
directives: {
scrollbar: {
mounted(el) {
el.classList.add('custom-scrollbar');
}
}
}
}
Found a bug or want to add another beautiful style?
git checkout -b new-scrollbar-style
)styles/
directoryMIT License - Free for personal and commercial use