Manage Content
Default
PropTypeDefaultRequiredDescription
items{ label: string; badge?: string }[]YesThe nav items to render.
defaultActivestringNoLabel of the item marked active on first render.
Do
  • Give the active item a filled background plus a coloured left border and text — never colour alone.
  • Keep badge counts to items with genuinely pending work, not decoration.
  • Group related items under a section label rather than one long flat list.
Don't
  • Use more than two levels of nesting — if the IA needs a third level, it needs restructuring instead.
  • Change the active-item treatment between pages of the same product.