Menu Divider

<gr-menu-divider> | GrMenuDivider

Menu dividers are used to visually group menu items.

Option 1 Option 2 Option 3 Option 4 Option 5 Option 6
style="max-width: 200px; border: solid 1px var(--gr-panel-border-color); border-radius: var(--gr-border-radius-medium);"

<gr-menu-item value="1">Option 1</gr-menu-item>
<gr-menu-item value="2">Option 2</gr-menu-item>
<gr-menu-item value="3">Option 3</gr-menu-item>
<gr-menu-item value="4">Option 4</gr-menu-item>
<gr-menu-item value="5">Option 5</gr-menu-item>
<gr-menu-item value="6">Option 6</gr-menu-item>

CSS custom properties

Name Description
--border-color Border color of the menu item divider
--margin-bottom Bottom margin of the menu item divider
--margin-top Top margin of the menu item divider