F
Filament4mo ago
NolanN

How to customize sidebar collapse icon

I thought I had read about this in the doc previously but I can't seem to find it anywhere. Is there a way to customize the icon that is show in the topbar for collapsing the sidebar nav?
No description
Solution:
in app provider: ```php FilamentIcon::register([ 'panels::sidebar.collapse-button' => 'icon', ]);...
Jump to solution
3 Replies
Solution
Lara Zeus
Lara Zeus4mo ago
in app provider:
FilamentIcon::register([
'panels::sidebar.collapse-button' => 'icon',
]);
FilamentIcon::register([
'panels::sidebar.collapse-button' => 'icon',
]);
replace the icon to what you want
NolanN
NolanN4mo ago
Perfect, thanks @Lara Zeus !