© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
Sivan-Dev

How to hide menu under condition?

Hi Everyone,

Is there a method to hide the side menu based on a condition? For example, in the user table, I have a
social_login
social_login
column. If
social_login
social_login
has a value of 1, I want to hide a specific menu item (e.g., Settings).

Any suggestions?
Solution
if you are using a resource: https://filamentphp.com/docs/3.x/panels/resources/getting-started#authorization

if you are using a custom page: https://filamentphp.com/docs/3.x/panels/pages#authorization
Pages - Panel Builder - Filament
Getting started - Panel Builder - Filament
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Hide left menu
FilamentFFilament / ❓┊help
3y ago
hide Tabs based on condition
FilamentFFilament / ❓┊help
3y ago
How to hide this button - conditionally
FilamentFFilament / ❓┊help
6mo ago
Render relation manager under condition
FilamentFFilament / ❓┊help
11mo ago