kopia lustrzana https://github.com/shoelace-style/shoelace
781 B
781 B
Menu
[component-header:sl-menu]
Menus provide a list of options for the user to choose from.
Use menu items, menu dividers, and menu labels to compose a menu.
<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="undo">Undo</sl-menu-item>
<sl-menu-item value="redo">Redo</sl-menu-item>
<sl-menu-divider></sl-menu-divider>
<sl-menu-item value="cut">Cut</sl-menu-item>
<sl-menu-item value="copy">Copy</sl-menu-item>
<sl-menu-item value="paste">Paste</sl-menu-item>
<sl-menu-item value="delete">Delete</sl-menu-item>
</sl-menu>
[component-metadata:sl-menu]