© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3mo ago•
4 replies
Sjoerd24

Hiding sidebar by default for tablet users

Panels4️⃣v4
So it is possible to make the sidebar collapsible like this: ->sidebarCollapsibleOnDesktop(). I would like to collaps by default it for some users, is that possible? (i have certain "tablet" users and for them i want to keep the layout as clean as possible, but it should still be possible to access the menu if needed)

I can filter for these users pretty easily (they have a userrole "node") but is there a way to set the default value for the hiding or showing of this sidebar?

Also small second question, if you link from within a modal to a resource, if users click on this link they get a warning that they are leaving the page. Is it possibly to not get this error? Maybe load the resource page through livewire or something?
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

Sidebar Collapsed by Default
FilamentFFilament / ❓┊help
3y ago
sidebar navigation close by default
FilamentFFilament / ❓┊help
7mo ago
Make sidebar closed by default on mobile.
FilamentFFilament / ❓┊help
3y ago
Hiding Navigation Sidebar in a custom page
FilamentFFilament / ❓┊help
3y ago