Default

Basic user menu with profile, settings, and logout.

With Icons

Menu items with leading icons for better visual identification.

Admin User

Admin user menu with dashboard, user management, and security options.

Developer Menu

Developer-focused user menu with API keys, docs, and team management.

Usage

<UserMenu name="John Doe" avatar="JD"> <a href="/profile">Profile</a> <a href="/settings">Settings</a> <a href="/logout">Logout</a></UserMenu><UserMenu name="Alice Martin" avatar="AM"> <a href="#"><Icon name="user" size="14" /> My Profile</a> <a href="#"><Icon name="settings" size="14" /> Settings</a> <a href="#"><Icon name="log-out" size="14" /> Sign Out</a></UserMenu>

Props

PropTypeDefaultDescription
nametext""User display name shown in the menu trigger
avatartext""Avatar initials (e.g. "JD" for John Doe)
childrencontent-Menu items - links or buttons for user actions