---
title: Dropdown Menu
description: Displays a menu to the user — such as a set of actions or functions — triggered by a button.
featured: true
component: true
radix:
link: https://www.radix-ui.com/docs/primitives/components/dropdown-menu
api: https://www.radix-ui.com/docs/primitives/components/dropdown-menu#api-reference
---
## Installation
```bash
npx shadcn-ui add dropdown-menu
```
Manual Installation
1. Install the `@radix-ui/react-dropdown-menu` component from radix-ui:
```bash
npm install @radix-ui/react-dropdown-menu
```
2. Copy and paste the following code into your project.
This is the `` primitive. You can place it in a file at
`components/ui/dropdown-menu.tsx`.
## Usage
```tsx
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuLabel,
DropdownMenuSeparator,
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu"
```
```tsx
Open
My Account
Profile
Billing
Team
Subscription
```
## Examples
### Checkboxes
### Radio Group