UI MarCom 3

Menu Stable Dark theme

With a Menu users can make a selection from a number of options in a vertical list.

<uimc-menu>
  <uimc-menu-item selected></uimc-menu-item>
  <uimc-menu-item></uimc-menu-item>
</uimc-menu>
AttributeDescriptionValuesDefault
themeSet the color scheme of the componentlight, darklight

SlotSlotted content
defaultNest some <uimc-menu-item>
AttributeDescriptionValuesDefault
selectedSets the currently selected item

CallbackArgumentDescription
onClickeventPass a callback function that gets triggered when a menu item is clicked

SlotSlotted content
defaultItem name or a hyperlink

Working sample

Menu Item 1Menu Item 2Menu Item 3Menu Item 4Menu Item 5
<uimc-menu>
  <uimc-menu-item selected></uimc-menu-item>
  <uimc-menu-item></uimc-menu-item>
</uimc-menu>

Dark theme

Menu Item 1Menu Item 2Menu Item 3
<uimc-menu theme="dark">
  <uimc-menu-item>Menu Item 1</uimc-menu-item>
  <uimc-menu-item selected>Menu Item 2</uimc-menu-item>
  <uimc-menu-item>Menu Item 3</uimc-menu-item>
</uimc-menu>