© 2026 Hedgehog Software, LLC

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

Is there a way to add clusters to the user menu?

I'm trying to add a cluster to my user menu, but I can't seem to find anything in the docs, nor in the cluster class. Is it possible at all or should I switch to navigation groups?
Solution
Figured it out:

What you can do is the following in your adminPanelProvider
->userMenuItems([
  'CRM' => MenuItem::make()->label(__('CRM'))->url(fn() => CRM::getUrl()),
])
->userMenuItems([
  'CRM' => MenuItem::make()->label(__('CRM'))->url(fn() => CRM::getUrl()),
])


Not doing the
->url(fn() => CRM::getUrl())
->url(fn() => CRM::getUrl())
but
->url(CRM::getUrl())
->url(CRM::getUrl())
will try and resolve the cluster URL to early in the process and throw errors
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Add Notifications to user menu
FilamentFFilament / ❓┊help
3y ago
Is there a way to add ->readOnly() to a Select?
FilamentFFilament / ❓┊help
3y ago
Add a link to the admin panel in user menu
FilamentFFilament / ❓┊help
3y ago
Is there a way to add pagination to a repeater component?
FilamentFFilament / ❓┊help
3y ago