--- title: Navigation Bar sidebar_position: 4 sidebar_custom_props: icon: TbRectangle --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import { SandpackEditor} from '@site/src/ui/SandpackEditor' import navBarCode from '!!raw-loader!@site/src/ui/navigation/navBarCode.js' Renders a navigation bar that contains multiple `NavigationBarItem` components.
Props Type Description
activeItemName string The name of the currently active navigation item
items array An array of objects representing each navigation item. Each object contains the `name` of the item, the `Icon` component to display, and an `onClick` function to be called when the item is clicked