TIL: How to collapse sidebar menu in Filament
12.7.2025
filament TIL
⭐ Filament quick tip:
If you want to collapse the sidebar in filament you can use either of these two methods on your AdminPanelProvider.php
-
Either you can use
->sidebarCollapsibleOnDesktop()which it it’s gonna show the navigation icons. -
Or you can use
->sidebarFullyCollapsibleOnDesktop()which it’s only gonna show the hamburger menu icon.