slym758/filament-collapsible-sidebar
Add a desktop-only collapsible sidebar to Filament 4 with a simple toggle button. Collapses to icon-only mode, persists state via localStorage, supports dark mode, and includes smooth animations. Compatible with PHP 8.2+.
A Filament plugin that adds a collapsible sidebar with icon-only view when collapsed.
Install via Composer:
composer require slym758/filament-collapsible-sidebar
Add the plugin to your panel provider:
use Slym758\CollapsibleSidebar\CollapsibleSidebarPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
CollapsibleSidebarPlugin::make(),
]);
}
That's it! A toggle button will appear in your sidebar.
Add screenshots here
Please see CHANGELOG for more information.
The MIT License (MIT). Please see License File for more information.
How can I help you explore Laravel packages today?