slym758/filament-collapsible-sidebar
Filament Collapsible Sidebar
A Filament plugin that adds a collapsible sidebar with icon-only view when collapsed.
Features
- 🎯 Easy toggle button
- 🎨 Icon-only view when collapsed
- 💾 State persistence (localStorage)
- 🌙 Dark mode support
- ⚡ Smooth animations
- 📱 Desktop only (hidden on mobile)
Requirements
- PHP 8.2+
- Filament 4.0+
Installation
Install via Composer:
composer require slym758/filament-collapsible-sidebar
Usage
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.
Screenshots
Add screenshots here
Changelog
Please see CHANGELOG for more information.
License
The MIT License (MIT). Please see License File for more information.
Credits
Related Packages
emuniq/filament-collapsible-subnav
A Filament v3, v4 & v5 plugin for collapsible sub-navigation sidebar.
12,596
9
digital-creative/collapsible-resource-manager
A custom sidebar menu with collapsible groups
915,815
199
awcodes/filament-table-repeater
A modified version of the Filament Forms Repeater to display it as a table.
948,909
267