RuiMenuItem

Sources: ../../src/componentsMenu/MenuItem.vue
Item to use in `rui-menu`

Item to use in rui-menu

Props

Name Required Type Default Allowed values Description
Content
caption string null

Main content if not using the slot. Is also used for component title attribute

icon string null

Additional icon

to object|string null

Router-link "to" prop. Use either to or link, not both

href string null

Link. Use either link or to, not both

Display
variant string null
destructive, creative, recorder, canceling, helper

Color variant

State
active boolean false

Active state

Events

This component has no events.

Slots

Name Description
default

Item content. Default to caption if not provided