Dropdown Menu

Displays a menu to the user such as a set of actions or functions, triggered by a button.

Usage

Checkboxes

Radio group

Props

PropTypeDefaultDescription
align'start' | 'center' | 'end''center'Alignment of the dropdown content relative to the trigger
side'top' | 'right' | 'bottom' | 'left''bottom'The side of the trigger on which the dropdown appears
sideOffsetnumber8Distance in pixels from the trigger
disabledbooleanfalseDisables the menu item
checkedboolean-Whether the checkbox item is checked (for DropdownMenuCheckboxItem)
valuestring-Value for radio group items (for DropdownMenuRadioItem)
renderReactElement | ((props, state) => ReactElement)-Replaces the rendered element, for example a Button trigger or a Link item