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+.
Pros:
localStorage for persistence, which aligns with Filament’s frontend-centric nature. Avoids server-side state handling, reducing backend load.filament/panels dark mode) without requiring custom CSS overrides.Cons:
PanelProvider. No database migrations, routes, or middleware changes are needed.filament/support CSS classes).filament/support icons or custom SVG). No built-in icon library is included.filament/spatie-laravel-medialibrary with custom navigation), conflicts may arise. Testing with existing plugins is critical.filament-widgets, filament-notifications).collapsed: boolean) and provide an opt-out mechanism.composer require slym758/filament-collapsible-sidebar.app/Providers/Filament/AdminPanelProvider.php:
->plugins([
\Slym758\CollapsibleSidebar\CollapsibleSidebarPlugin::make(),
])
filament/spatie-media-library, filament/notifications). Conflicts are likely if plugins:
filament/panels). For custom themes, ensure Tailwind classes (e.g., transition-all) are not overridden.PanelProvider.How can I help you explore Laravel packages today?