Menu representing a set of actions, triggered by a button.
This component inherits props from the Dropdown Menu primitive.
Contains all the parts of a dropdown menu.
Wraps the control that will open the dropdown menu.
An optional icon part.
The component that pops out when the dropdown menu is open.
Used to render a label. It won't be focusable using arrow keys.
The component that contains the dropdown menu items.
Used to group multiple Item parts.
Used to group multiple RadioItem parts.
An item that can be controlled and rendered like a radio.
An item that can be controlled and rendered like a checkbox.
Contains all the parts of a submenu.
An item that opens a submenu. Must be rendered inside DropdownMenu.Sub.
The component that pops out when a submenu is open. Must be rendered inside DropdownMenu.Sub.
Use the size prop to control the size.
Use the variant prop to customize the visual style of the dropdown menu.
Use the color prop to assign a specific color. You can also pass color to a specific item to override for semantic reasons (ie. destruction action).
Use the highContrast prop to increase color contrast with the background.