Wraps top-level navigation and branding.


To implement NavigationBar component into your project you’ll need to add the import:

import NavigationBar from "@kiwicom/orbit-components/lib/NavigationBar";
import LinkList from "@kiwicom/orbit-components/lib/LinkList";
import TextLink from "@kiwicom/orbit-components/lib/TextLink";

After adding import into your project you can use it simply like:

<NavigationBar onMenuOpen={handleDrawerOpen}>
<LinkList direction="row">
<TextLink> Link 1 </TextLink>
<TextLink> Link 2 </TextLink>
<TextLink> Link 3 </TextLink>


Table below contains all types of the props available in the NavigationBar component.

childrenReact.NodeThe content of the NavigationBar.
dataTeststringOptional prop for testing purposes.
idstringSet id for NavigationBar
onMenuOpen() => void \| PromiseFunction for handling onClick event on HamburgerMenu icon. If null, the HamburgerMenu won’t appear.
onHide() => void \| PromiseFunction for handling event when the NavigationBar disappears.
onShow() => void \| PromiseFunction for handling event when the NavigationBar appears.
hideOnScrollbooleantrueTurn on or off hiding navigation bar on scroll
openTitlestring"Open navigation menu"Property for passing translation string to open Button