Skip to main content

NavItem

A single nav item, which can also include a dropdown list of NavItem.

<NavItem label='Nav item' />

Props

Active

<NavItem label='Active' active />
<NavItem
label='With dropdown'
dropdown={
<>
<NavItem label='Nav item' />
<NavItem label='Nav item' />
<NavItem label='Nav item' />
</>
}
/>

Icon

<NavItem label='Icon' icon={{/* icon */}} />