Skip to content

Menu

Navigation menu for sidebar or top.

Basic Usage

loading

Horizontal Menu

loading

Use NeoSubMenu with NeoMenuItem children for nested menus.

loading

API

NeoMenu

PropDescriptionType
defaultActiveDefault active indexstring
modeMode'horizontal' | 'vertical'
collapseWhether collapsed (vertical mode)boolean
backgroundColorBackground colorstring
textColorText colorstring
activeTextColorActive item text colorstring

NeoMenuItem

PropDescriptionType
indexUnique identifierstring
disabledDisabledboolean

NeoSubMenu

PropDescriptionType
indexUnique identifier (use parent-child for nested)string
titleSubmenu titlestring
disabledDisabledboolean

Events: select.

MIT License