Sidebar Menu Item

Prop

Description

Type

Default

title

Shows title in the sidebar item. This is required prop.

/

/

icon

Shows icon on top before the title

String

null

href

This can be user if you dont want to have sidebar submenu for this item but direct link

String

null

to

If you are using $router then you can use to prop for adding redirect with the router

String

null

submenu-size

On every item submenu sidebar you can change size. (sizes: small, medium, half-screen and full-screen)

Boolean

'small'

Last updated