Menu Item

A MenuItem is a component that represents individual list items in a menu.

default
active
menu item
menu item

Code

<div class="backoffice-menuitem">menu item</div>
<div class="backoffice-menuitem backoffice-menuitem-active">
  menu item (Active)
</div>
Class nametype
backoffice-menuitemcomponentContainer element
backoffice-menuitem-active,
backoffice-menuitem[data-active]
modifierSets the display of the active status
backoffice-menuitem-link:hover,
backoffice-menuitem-hover,
backoffice-menuitem[data-is-hover]
modifierSets the display of the hover status
backoffice-menuitem-link:hover:after,
backoffice-menuitem-hover:after,
backoffice-menuitem[data-is-hover]:after
modifier

Sets the display of the :after pseudo-element in the hover status

backoffice-menuitem kbdmodifierSets the display properties of a kbd element
backoffice-menuitem smallmodifierSets the display properties of a small element

Was this page helpful?