Active theme set to LightDarkLight high contrastDark high contrast and saved in preferences.
Copied to clipboard.
Error submitting your feedback! Please try again.
We’re hiring frontend developers! View open positions.

HeaderReady

The header is a block of designated space for labelling the currently viewed context as well as providing primary actions.

Edit in CodePen
Open in new window
Edit in CodePen
Open in new window
View RTL
<nord-header>
<nord-button variant="plain" size="s">
<nord-icon color="var(--n-color-icon)" name="navigation-toggle" label="Menu"></nord-icon>
</nord-button>
<h1 class="n-typescale-l">Dashboard</h1>
<nord-button slot="end">Export</nord-button>
<nord-button variant="primary" slot="end">
<nord-icon slot="start" size="s" name="interface-add-small"></nord-icon>
Create new
</nord-button>
</nord-header>

Slots

Slot nameDescription
Default slotThe header content.
endOptional slot for buttons, toggles, etc.

Usage #

This section includes guidelines for designers and developers about the usage of this component in different contexts.

Do #

  • Use the header component to show a heading to describe the current view.
  • Use the header component to hold primary actions.
  • Use the header component at a visual high position at full width.

Don’t #

  • Don’t overcrowd the header component with too many actions or information.
  • Don’t nest the header component too deeply and restrict its available space.

Content guidelines #

The header component should be a containing element placed high on the page to present high level controls and to describe the page itself. It shouldn’t be overcrowded with controls or information.

[Menu] Dashboard [Account] [Log out]
[Menu] Use the cards below to view various information [Export] [Save] [Edit Profile] [Log out] [Preferences]

Integration

For integration guidelines, please see Web Components documentation. This documentation explains how to implement and use Nord Web Components across different technologies such as Vue.js, React, or Vanilla JavaScript.

Integration Guidelines

Localization

Nord provides a lightweight solution for localizing its components. Not all components need localizing, as for the most part snippets of text are set per instance. For full localization guidelines, please see Localization documentation.

Localization Guidelines

Troubleshooting

If you experience any issues while using Nord Web Components, please head over to the Support page for more guidelines and ways to contact us.


Was this page helpful?

YesNo
Send feedback

We use this feedback to improve our documentation.