Menu
A simple menu
Base
Show code
Class props
| Class prop | Description | Props | Suffixes | |
|---|---|---|---|---|
| itemActiveClass | Class of the active menu-item. | |||
| itemClass | Class of the menu-item. | |||
| itemDisabledClass | Class of the disabled menu-item. | |||
| itemIconTextClass | Class of the icon of menu-item. | |||
| itemSubmenuClass | Class of the menu-item when is a submenu. | |||
| itemWrapperClass | Class of the root element of menu-item. | |||
| listClass | Class of the menu-list. | |||
| listLabelClass | Class of the menu-list label. | |||
| rootClass | Class of the root element (menu). |
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| accordion | boolean | - | true | |
| activable | boolean | - | true | |
| override | boolean | - |
Slots
| Name | Description | Bindings |
|---|---|---|
| default |
Style
| CSS Variable | SASS Variable | Default |
|---|---|---|
| --oruga-menu-item-color | $menu-item-color | $grey-dark |
| --oruga-menu-item-hover-color | $menu-item-hover-color | $black |
| --oruga-menu-item-hover-background-color | $menu-item-hover-background-color | $grey-light |
| --oruga-menu-item-active-color | $menu-item-active-color | $primary-invert |
| --oruga-menu-item-active-background-color | $menu-item-active-background-color | $primary |
| --oruga-menu-item-disabled-color | $menu-item-disabled-color | $grey-light |
| --oruga-menu-list-border-left | $menu-list-border-left | 1px solid $primary |
| --oruga-menu-list-line-height | $menu-list-line-height | 1.25em |
| --oruga-menu-item-padding | $menu-item-padding | 0.5em 0.75em |
| --oruga-menu-nested-list-margin | $menu-nested-list-margin | 0.75em |
| --oruga-menu-nested-list-padding-left | $menu-nested-list-padding-left | 0.75em |
| --oruga-menu-label-color | $menu-label-color | $grey |
| --oruga-menu-label-font-size | $menu-label-font-size | 0.75em |
| --oruga-menu-label-spacing | $menu-label-spacing | 1em |
Oruga