UI Customization
Scrollbar Customizer
Design beautiful custom scrollbars for your website. Customize colors, width, and border radius with live preview.
Live Preview
Customize
CSS Code
1/* Custom Scrollbar Styles */2/* For Webkit browsers (Chrome, Safari, Edge) */3.custom-scrollbar::-webkit-scrollbar {4 width: 10px;5 height: 10px;6}78.custom-scrollbar::-webkit-scrollbar-track {9 background: #f1f1f1;10 border-radius: 5px;11}1213.custom-scrollbar::-webkit-scrollbar-thumb {14 background: #6366f1;15 border-radius: 5px;16}1718.custom-scrollbar::-webkit-scrollbar-thumb:hover {19 background: #4f46e5;20}2122/* For Firefox */23.custom-scrollbar {24 scrollbar-width: auto;25 scrollbar-color: #6366f1 #f1f1f1;26}
Tailwind Usage
1/* Add to your globals.css */2@layer utilities {3 .scrollbar-custom {4 scrollbar-width: auto;5 scrollbar-color: #6366f1 #f1f1f1;6 }78 .scrollbar-custom::-webkit-scrollbar {9 width: 10px;10 height: 10px;11 }1213 .scrollbar-custom::-webkit-scrollbar-track {14 background: #f1f1f1;15 border-radius: 5px;16 }1718 .scrollbar-custom::-webkit-scrollbar-thumb {19 background: #6366f1;20 border-radius: 5px;21 }2223 .scrollbar-custom::-webkit-scrollbar-thumb:hover {24 background: #4f46e5;25 }26}2728/* Usage */29<div className="scrollbar-custom overflow-y-auto h-64">30 {/* Your content */}31</div>