Navigation is used to display the primary navigation in the sidebar of an application. Navigation includes a list of links that users use to move between sections of the application.
<nord-navigation style="max-inline-size: 250px">
<nord-button slot="header" expand variant="switch">
<span slot="start" aria-hidden="true" class="n-clinic-icon">B</span>
<nord-nav-item active icon="navigation-dashboard">Dashboard</nord-nav-item>
|Default slot||The main section of the sidebar, for holding nav components.|
|The top section of the sidebar.|
|The bottom section of the sidebar.|
This section includes guidelines for designers and developers about the usage of this component in different contexts.
- Use for primary navigation items that perform an action when clicked. Each action should navigate to a URL or trigger another action like a modal overlay.
- Group navigation items into navigation groups based on related categories.
- Use group headings to clarify the category of a section.
- Use icons for all top level navigation items.
- Don’t place a
<nav>element inside the navigation component, as it already contains one internally.
Content guidelines #
When writing navigation item labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):
Avoid unnecessary words and articles in item labels, such as “the”, “an” or “a”:
Avoid ending item labels in punctuation:
Use as few words as possible to describe each item label:
Avoid all caps for item labels and group titles:
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.
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.