slym758 / filament-collapsible-sidebar
A Filament v4 plugin that adds a collapsible sidebar with icon-only view
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:CSS
pkg:composer/slym758/filament-collapsible-sidebar
Requires
- php: ^8.2
- filament/filament: ^4.0
- spatie/laravel-package-tools: ^1.16
README
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.