Skip to main content

NavItem

activebooleanrequired

Whether the item is active/enabled

badge object

Optional badge to display

textstringrequired

Badge display text

typestringrequired

Badge type (success, warning, danger, info, etc.)

childrenundefined[]nullable

Nested navigation items

exactboolean

Require exact path match for active state

icon

Icon identifier (string or array for FontAwesome)

labelstring

Additional label text

namestringrequired

Display name of the navigation item

newtabboolean

Open link in new tab

tostring

Route path for navigation

NavItem
{
"active": true,
"badge": {
"text": "string",
"type": "string"
},
"children": "Unknown Type: array,null",
"exact": true,
"label": "string",
"name": "string",
"newtab": true,
"to": "string"
}