Menu representing a set of actions, triggered by a button.
This component inherits parts and props from the Radix Dropdown Menu component. View source
Wraps the Button or Icon Button that toggles the dropdown menu. Supports common margin props.
If using Icon Button as a trigger, sideOffset
and alignOffset
will likely need to be set to account for extra ghost button padding. Here are some common examples: