Browse components

TopNavbar

Top bar with brand, optional link list, theme toggle and a responsive mobile menu. Use embedded for a link-only strip inside your own header.

organisms 3 variants
Variants / states: headersidebarembedded

Live example

Default usage you can copy and adapt.

TopNavbar with inline links

Full bar with items prop

Embedded link list

Embedded link list

Link row inside your own header layout

Embedded link list

Props

The props you are most likely to need, with types and defaults.

Props / API
NameTypeRequiredDefaultDescription
brandstringNo""Brand text shown beside the logo area
brandHrefstringNoundefinedWhen set, the brand is a link
itemsTopNavbarNavItem[]No[]Built-in nav links (ignored when a nav snippet is provided)
navVariant"header" | "sidebar"No"header"Layout for built-in link list
embeddedbooleanNofalseRender only the link list (or nav snippet) inside a nav landmark
currentPathstringNo""Active route for built-in links