1. Docs
  2. Dropdown Menu

Dropdown Menu

Displays a list of options that can be selected by the user, typically triggered by a click or hover

Loading...

Installation

Examples

Group

Use <DropdownGroup /> to organize items into individual sections

Loading...

Checkboxes

Use <DropdownMenuCheckboxItem /> to render an item with a checkbox appearance

Loading...

Radio Group

Use <DropdownMenuRadioGroup /> & <DropdownMenuRadioItem /> to render an item with a radio group appearance

Loading...

Side

Setting the side prop to top bottom left or right in <DropdownMenuContent /> will open the menu at the specified position (default is bottom).

Loading...

Align

Setting the align prop to start center or end in <DropdownMenuContent /> will open the menu at the specified position (default is center).

Loading...

Controlled

Loading...

Props

Use same props to: <DropdownMenuSubTrigger /> <DropdownMenuCheckboxItem /> <DropdownMenuRadioItem />

PropTypeDefault
variantsolid outline soft ghostsoft
colordefault primary secondary success errordefault