Compact action and choice menus with their own semantics—not a grid pretending to be a menu.
A thin neutral border and soft shadow separate menus from matching backgrounds. Edge corners stay concentric: the outer radius includes the item radius, padding, and border.
<PopoverTrigger
placement="bottom"
role="presentation"
content={({ close }) => (
<Menu label="Actions" onClose={close}>
<MenuItem icon="pencil" onClick={edit}>
Edit
</MenuItem>
<MenuItem disabled onClick={archive}>
Archive
</MenuItem>
<MenuSeparator />
<MenuItem checked={details} onClick={() => setDetails(!details)}>
Show details
</MenuItem>
<MenuItem destructive icon="trash" onClick={remove}>
Delete
</MenuItem>
</Menu>
)}
>
{({ toggle, expanded, id }) => (
<Button
color="secondary"
aria-haspopup="menu"
aria-expanded={expanded}
aria-controls={id}
onClick={() => toggle()}
>
Actions
</Button>
)}
</PopoverTrigger>
Keep form fields outside Menu; use a Popover or SearchList for mixed content.