kopia lustrzana https://github.com/shoelace-style/shoelace
23 wiersze
685 B
Markdown
23 wiersze
685 B
Markdown
# Menu Divider
|
|
|
|
[component-header:sl-menu-divider]
|
|
|
|
Menu dividers are used to visually group menu items.
|
|
|
|
```html preview
|
|
<sl-menu
|
|
style="max-width: 200px; border: solid 1px var(--sl-panel-border-color); border-radius: var(--sl-border-radius-medium);"
|
|
>
|
|
<sl-menu-item value="1">Option 1</sl-menu-item>
|
|
<sl-menu-item value="2">Option 2</sl-menu-item>
|
|
<sl-menu-divider></sl-menu-divider>
|
|
<sl-menu-item value="3">Option 3</sl-menu-item>
|
|
<sl-menu-item value="4">Option 4</sl-menu-item>
|
|
<sl-menu-divider></sl-menu-divider>
|
|
<sl-menu-item value="5">Option 5</sl-menu-item>
|
|
<sl-menu-item value="6">Option 6</sl-menu-item>
|
|
</sl-menu>
|
|
```
|
|
|
|
[component-metadata:sl-menu-divider]
|