NavigationBar receives items with unique names, accessible labels, icon components, and callbacks. activeItemName controls which item is highlighted. The bar does not perform routing.
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.
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.