Skip to main content
NavigationBar receives items with unique names, accessible labels, icon components, and callbacks. activeItemName controls which item is highlighted. The bar does not perform routing.
Connect each callback to your router when the items change routes. isHidden hides the bar. For ordinary navigation links with tab styling, use TabButton.

Props

string
required
Name of the item to highlight. The application owns navigation.
boolean
default:"false"
Hides the bar visually and from the accessibility tree.
{ name: string; label: string; Icon: IconComponent; onClick: () => void; }[]
required
Navigation items with a unique name, accessible label, Icon component, and onClick callback.