Menu
A simple vertical menu
# API
Menu
Name | Description | Type | Values | Default |
---|---|---|---|---|
accordion | Close automatically the previous selected menu list | Boolean | — | true |
Menu List
Name | Description | Type | Values | Default |
---|---|---|---|---|
label | Menu list label | String | — | — |
icon | Icon name | String | — | — |
icon-pack | Icon pack to use | String | — | mdi |
aria-role | Role attribute to be passed to list container for better accessibility. Use menu only in situations where your dropdown is really related to navigation. | String | menu | — |
Menu Item
Name | Description | Type | Values | Default |
---|---|---|---|---|
label | Menu item label | String | — | — |
icon | Icon name | String | — | — |
icon-pack | Icon pack to use | String | — | mdi |
disabled | Item is disabled | Boolean | - | false |
active | Item is active, use the .sync modifier to make it two-way binding | Boolean | - | false |
expanded | Item is expanded when default contains menu items, use the .sync modifier to make it two-way binding | Boolean | - | false |
animation | Custom animation (transition name) | String | — | fade |
tag | Button tag name | String | a , router-link , nuxt-link or other nuxt alias | a |
aria-role | Role attribute to be passed to list item for better accessibility. Use menuitem only in situations where your menu item is really related to navigation. | String | menuitem | — |
Any native attribute | — | — | — | — |
This page is open source. Noticed a typo or something's unclear?