NavigationBar is a horizontal navigation component that provides a consistent header for application navigation and wayfinding. It supports flexible content areas, theming, and custom styling.
Basics
With Tab Navigation
Use the bottom prop to add tab navigation below the main content.
With Search
Accessibility
Use accessibilityLabel to provide context for screen readers. The default label is "main navigation".
When using interactive elements in the navigation bar, ensure each has appropriate accessibility labels describing their action.
Composed Examples
Full Navigation with Back Button
A complete navigation example with dynamic back button visibility and tab navigation.
Responsive Navigation
A responsive navigation bar that adapts to screen size. On mobile, the search input collapses to an icon button.