© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
2 replies
Nashoba

Add logout navigationItem to sidebar

Hello !
I'm trying to add a navigation item on my sidebar to logout, I made this in my panel :
->navigationItems([
                NavigationItem::make('Déconnexion')
                    ->url('/logout')
                    ->icon('heroicon-o-arrow-left-start-on-rectangle')
                    ->sort(12)
            ])
->navigationItems([
                NavigationItem::make('Déconnexion')
                    ->url('/logout')
                    ->icon('heroicon-o-arrow-left-start-on-rectangle')
                    ->sort(12)
            ])


but it's not the right method for logout and I can't link the Logout action because NavigationItem doesn't have something to do this
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

reposition logout header into sidebar footer
FilamentFFilament / ❓┊help
3y ago
Sidebar add tabs
FilamentFFilament / ❓┊help
3y ago
Add button to cluster sidebar
FilamentFFilament / ❓┊help
2y ago
Add action to sidebar navigation
FilamentFFilament / ❓┊help
3y ago