aymanalhattami/filament-slim-scrollbar
vendor:publish step for customization (e.g., overriding CSS variables), but not required for basic usage.::-webkit-scrollbar.!important (common in CSS scrollbar hacks). Risk of overriding existing styles if your app has custom scrollbar CSS.::-webkit-scrollbar rules pre-integration.::-webkit-scrollbar in your codebase).composer require aymanalhattami/filament-slim-scrollbar
php artisan vendor:publish --tag="filament-slim-scrollbar-assets"
| Factor | Compatibility |
|---|---|
| Laravel Version | 8.x–11.x (assumed, as Filament 3.x–5.x targets these). |
| Filament Version | 2.x (v1.x), 3.x–5.x (v2.x+). |
| Dark/Light Mode | ✅ Automatic (uses Filament’s theme system). |
| Custom CSS Overrides | ⚠️ Risk of conflicts if existing ::-webkit-scrollbar styles use high specificity. |
| JavaScript Frameworks | ❌ No direct support (e.g., Alpine.js, Livewire may need manual testing). |
| Mobile Responsiveness | ✅ Responsive by default; Firefox has large-screen fallback (v2.1.0+). |
resources/css/filament-slim-scrollbar.css).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| CSS Conflict with Existing Styles | Scrollbars render incorrectly. | Audit CSS pre-integration; use !important sparingly in overrides. |
| Firefox Incompatibility | Scrollbars missing on small screens. | Accept large-screen fallback or implement a polyfill. |
| Filament Version Mismatch | Package breaks UI. | Pin to a compatible version in composer.json (e.g., aymanalhattami/filament-slim-scrollbar:^2.1). |
| Layout Shifts in Tables | Content jumps during scrolling. | Test with CLS metrics; add scroll-behavior: smooth if needed. |
| Dark/Light Mode Glitches | Scrollbar color mismatches theme. | Ext |
How can I help you explore Laravel packages today?