This component allows you to attach standard menu interactions to a custom trigger element, e.g. OverflowMenu uses this internally. This should only be used if standard alternatives aren’t suitable.
The space between the menu and the trigger element can be customised via the offsetSpace prop, which also accepts responsive values, e.g. offsetSpace={{ mobile: 'xsmall', tablet: 'small' }}
For destructive actions like “Delete” you can set the menu item’s tone to critical. When using this feature, you may want to consider providing a confirmation via a Dialog.
When using menu items with icons, you may find that not all of them have or need one. In order to maintain a uniform alignment across all the menu items, you can provide the reserveIconSpace prop.