---
title: "User Menu | Free React & Tailwind Craft Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/craft/user-menu"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/dropdowns/user-menu-dropdown.tsx"
install_command: "npx motion-ui-skill add user-menu"
dependencies: ["clsx","lucide-react","next","react","tailwind-merge"]
category: "craft"
subcategory: "dropdowns"
---

# 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

```bash
npx motion-ui-skill add user-menu
```

## Dependencies

- `clsx`
- `lucide-react`
- `next`
- `react`
- `tailwind-merge`

## Usage

```tsx
"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 |

## Source Files

- [components/dropdowns/user-menu-dropdown.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/dropdowns/user-menu-dropdown.tsx)
- [lib/cn.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/cn.ts)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
