User Menu
User Menu: Account pill with avatar, name, and email that opens into profile, settings, messages, and sign out. The header dropdown every SaaS app needs, with keyboard shortcut labels. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install User Menu
npx motion-ui-skill add user-menuComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactnextreacttailwind-merge
Source files
User Menu
Account pill with avatar, name, and email that opens into profile, settings, messages, and sign out. The header dropdown every SaaS app needs, with keyboard shortcut labels.
Install
npx motion-ui-skill add user-menu
Dependencies
clsxlucide-reactnextreacttailwind-merge
Usage
"use client";
import { UserMenuDropdown } from "@/components/dropdowns/user-menu-dropdown";
export function UserMenuDropdownDemo() {
return (
<div className="flex items-center justify-center p-6">
<UserMenuDropdown />
</div>
);
}
API Reference
UserMenuDropdown
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |