ActionMenu
ActionMenu combines an ActionButton with a Menu for simple "more actions" use cases.
size
align
direction
Where the Menu opens relative to its trigger.
direction
menuSize
isQuiet
isDisabled
API
<ActionMenu>
<MenuItem />
</ActionMenu>
ActionMenu
Name | Type | Default |
---|---|---|
menuSize | 'S'
| 'M'
| 'L'
| 'XL' | Default: — |
isDisabled | boolean | Default: — |
Whether the button is disabled. | ||
size | 'XS'
| 'S'
| 'M'
| 'L'
| 'XL' | Default: 'M'
|
The size of the ActionButton. | ||
isQuiet | boolean | Default: — |
Whether the button should be displayed with a quiet style. | ||
styles | StylesProp | Default: — |
Spectrum-defined styles, returned by the style() macro. | ||
children | ReactNode | | Default: — |
The contents of the collection. | ||
items | Iterable | Default: — |
Item objects in the collection. | ||
disabledKeys | Iterable | Default: — |
The item keys that are disabled. These items cannot be selected, focused, or otherwise interacted with. | ||