© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
dyo

custom name in User Menu Items

I want to show the user role in user menu items..

i tried these script in filament::serving in boot AppServiceProvider
Filament::registerUserMenuItems([
    'account' => UserMenuItem::make()->url('/admin/my-profile')
        ->label(auth()->user()->name . ' - ' . auth()->user()->role->name),
]);
Filament::registerUserMenuItems([
    'account' => UserMenuItem::make()->url('/admin/my-profile')
        ->label(auth()->user()->name . ' - ' . auth()->user()->role->name),
]);

what should i do, to make the text is not going to be like 'text-overflow: ellipsis', i want to the text is fully displayed..
image.png
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 items to user dropdown menu in panel.
FilamentFFilament / ❓┊help
3y ago
Move items in menu
FilamentFFilament / ❓┊help
2y ago
SPA Issue with User Menu Items
FilamentFFilament / ❓┊help
5mo ago
User menu items, route not found
FilamentFFilament / ❓┊help
3y ago