© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
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
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Was this page helpful?
Yes
No
Similar Threads
Recent Announcements
Similar Threads
Hide left menu
F
Filament / ❓┊help
3y ago
hide Tabs based on condition
F
Filament / ❓┊help
3y ago
How to hide this button - conditionally
F
Filament / ❓┊help
6mo ago
Render relation manager under condition
F
Filament / ❓┊help
11mo ago