muazzam/slick-scrollbar
| Install | |
|---|---|
composer require muazzam/slick-scrollbar |
|
| Latest Version: | v1.1.1 |
| PHP: | ^8.2 |
| License: | MIT |
| Last Updated: | Jul 13, 2026 |
| Links: | GitHub · Packagist |
Slick Scrollbar
📖 About
Slick Scrollbar is a lightweight plugin that gives your Filament v4 & v5 panels clean, theme-aware scrollbars.
It automatically inherits your panel’s colors (secondary → primary) and works seamlessly in both light and dark mode.
✨ Features
- 🎨 Automatic theme colors — Uses panel secondary (500/600), or falls back to primary (500/600).
- 🎛️ Customizable — Override size, color, and hover color with CSS variables, hex, RGB, OKLCH, or Filament Color palettes.
- 🖥️ Cross-browser support — Works on Firefox, Chrome, Edge, and Safari.
- 🌗 Dark mode ready — Adapts to your Filament theme out of the box.
📦 Installation
Install via Composer:
composer require muazzam/slick-scrollbar
Filament will auto-discover the service provider.
⚙️ Usage
Enable the plugin in your panel provider:
use Muazzam\SlickScrollbar\SlickScrollbarPlugin;
public function panel(\Filament\Panel $panel): \Filament\Panel
{
return $panel->plugins([
SlickScrollbarPlugin::make(),
]);
}
That’s it 🎉 — scrollbars will automatically use your panel’s theme colors.
🎨 Configuration & Customization
Default behavior
If your panel defines custom colors:
->colors([
'primary' => \Filament\Support\Colors\Color::Amber,
'secondary' => \Filament\Support\Colors\Color::Cyan,
])
The plugin will use:
- Secondary: 500 for normal, 600 for hover
- If no secondary is defined → Primary: 500 for normal, 600 for hover
- If neither are set, the plugin falls back to safe defaults (amber / cyan).
Override settings
use Filament\Support\Colors\Color;
SlickScrollbarPlugin::make()
->size('6px') // scrollbar width/height (default: 8px)
->palette('primary') // force panel palette ('primary' or 'secondary')
->color(Color::Amber) // use a Filament palette (500 normal, 600 auto for hover)
->hoverColor(Color::Amber, 700) // pick a custom shade
->color('#ef4444') // hex
->hoverColor('rgb(220 38 38)') // rgb()
->color('var(--primary-500)'); // reference CSS vars directly
📸 Screenshots

📋 Requirements
- PHP ^8.2
- Laravel ^10 | ^11 | ^12 | ^13
- Filament ^4.0 | ^5.0
🚀 Versioning
- v1.x → Compatible with Filament v4 and v5
- Future Filament majors will get their own major version of this package when breaking API changes require it.
🔧 Development
Clone and install:
git clone https://github.com/Muazzamkhan95/slick-scrollbar.git
cd slick-scrollbar
composer install
In your app’s composer.json:
"repositories": [
{
"type": "path",
"url": "../slick-scrollbar",
"options": { "symlink": true }
}
]
Require it locally:
composer require muazzam/slick-scrollbar:*@dev
📝 License
This package is open-sourced software licensed under the MIT license.
❤️ Credits
- Muazzam Khan – Author
- Filament – Admin
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| v1.1.1 | ^8.2 | MIT | |
| v1.1.0 | ^8.2 | MIT | |
| v1.0.0 | ^8.2 | MIT |