Skip to main content
Pricing

User Menu

Pro

An avatar-triggered dropdown for account-level actions and navigation. Displays the user's avatar or initials as the trigger, which opens a floating menu containing the user's name and email, navigation links (Profile, Settings, Billing), and a sign-out action. Commonly placed in the top-right corner of the application header. Positioned below and aligned to the right edge of the trigger.

4 variants

JP
Jonathan Pace
hello@thepace.io
Profile
Settings
Billing
Sign out

Variants

VariantDescriptionWhen to use
DefaultStandard user menu with avatar trigger, user info header, and grouped action items.Use in the global header for account-related navigation and actions.
With StatusUser menu trigger showing an online/away/busy status indicator on the avatar.Use in collaboration tools where presence status matters.

Usage Guidelines

Do

Show the user's name and email in the menu header for identity confirmation.

Don't

Include non-account-related actions — keep the menu focused on user and account.

Do

Group related items with separators — profile settings, team management, sign-out.

Don't

Hide the sign-out option behind a submenu — it must be directly accessible.

Do

Place sign-out as the last item, visually separated from other actions.

Don't

Use a generic icon instead of the user's avatar for the trigger.

Do

Use the avatar or initials as the trigger for instant recognition.

Don't

Open the user menu on hover — require a click for intentional interaction.

Code

This component is included in Lexicon Pro

From €149 — one-time purchase, lifetime access

View pricing

Design Tokens

This component is included in Lexicon Pro

From €149 — one-time purchase, lifetime access

View pricing

Accessibility

  • Trigger button has aria-haspopup="true" and aria-expanded reflecting state.
  • Uses role="menu" with role="menuitem" children, same as Dropdown Menu.
  • Escape closes the menu and returns focus to the trigger.
  • The avatar trigger must have aria-label="Account menu" or similar descriptive text.
  • User info in the header should be marked up as presentational, not as menu items.

Keyboard Interactions

Enter/SpaceOpens the user menu when the trigger is focused.
ArrowDownMoves focus to the next menu item.
ArrowUpMoves focus to the previous menu item.
EscapeCloses the menu and returns focus to the trigger.
HomeMoves focus to the first menu item.
EndMoves focus to the last menu item.