Skip to main content

Global Header

The Header is the topmost, persistent navigation bar across the application. It contains global actions and utilities such as the product logo, primary navigation, search, and user profile access. It anchors the user in the application and remains consistent across all views.

https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS-Zeta---Components?node-id=36505-1553&t=zQGdS7IVRlDXO4ye-4

Demo

zeta-web v0.11.0
Web Components


A header with support for displaying a zeta-navigation-menu

Storybook

https://design.zebra.com/web/storybook/?path=/docs/components-global-header--docs

Slots

NameDescriptionType
defaultThe main content of the header.text
leadingThe leading content on the header.text
navigation-menuThe navigation menu. The position is based on the 'menuPosition' property.text
trailingThe trailing content on the header.text

Attributes

NameDescriptionTypeDefault
headlineThe headline text on the header. Can also be slotted.string | undefinedundefined
menuPositionThe position of the navigation."inline" | "below""inline"
data-themestring"dark"

Inherited Attributes

NameDescriptionTypeDefaultInherited From
roundedWhether the component is rounded or sharp.When true, rounded will set the border radius of the first child, and any children with class 'contourable-target' to --radius-minimal.Otherwise, this value will be --radius-none.boolean | undefinedtrueContourable