Menu Label
Menu Label
Menu labels are used to describe a group of menu items.
html
<six-menu style="
max-width: 200px;
border: solid 1px var(--six-panel-border-color);
border-radius: var(--six-border-radius-medium);
"
>
<six-menu-label>Fruits</six-menu-label>
<six-menu-item value="apple">Apple</six-menu-item>
<six-menu-item value="banana">Banana</six-menu-item>
<six-menu-item value="orange">Orange</six-menu-item>
<six-menu-divider></six-menu-divider>
<six-menu-label>Vegetables</six-menu-label>
<six-menu-item value="broccoli">Broccoli</six-menu-item>
<six-menu-item value="carrot">Carrot</six-menu-item>
<six-menu-item value="zucchini">Zucchini</six-menu-item>
</six-menu>
Slots
Slot | Description |
---|---|
The menu label's content. |
Shadow Parts
Part | Description |
---|---|
"base" | The component's base wrapper. |
Copyright © 2021-present SIX-Group