menu
Command menus or context menus. Contains menu-item children.
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
label | string | - | Trigger button text. |
open | boolean | true | Whether the menu is visible. |
variant | dropdown | list | dropdown | Inline list or absolute dropdown. |
menu(label="Actions" open=true) menu-item Edit menu-item Duplicate menu-item(danger=true) Delete