Menu button

A button with more than one action.

Props

text
string | undefined
The button label text. When provided, displays as a text button with a dropdown icon.
type
primary | secondary | tertiary
The button style variant.
Defaults to primary.
testId
string
Sets a data-testid attribute for automated testing.
leadingIcon
GoAIconType
Icon displayed before the button text. When no text is provided, displays as an icon button.
leadingIconTheme
IconTheme
Theme for the leading icon.
Defaults to outline.
maxWidth
string
Maximum width of the dropdown menu.
size
MenuActionSize
Size of the button and menu items.
Defaults to normal.

Events

onAction
(event: Event) => void
_action
CustomEvent
Examples
Examples show common usage patterns and implementation guidance.

No usage guidelines have been documented for this component yet.

All GoA Design System components are built to meet WCAG 2.2 AA standards. The following guidelines provide additional context for accessible implementation.

No accessibility-specific guidelines have been documented for this component yet.