Nav GroupReady

Navigation group includes all the actions or items in a single group and is used for grouping items into related categories.

Edit in CodePen
Open in new window
Edit in CodePen
Open in new window
Edit in CodePen
Open in new window
View RTL
<nord-nav-group style="max-inline-size: 220px">
  <nord-nav-item href="#" icon="navigation-search">Search</nord-nav-item>
  <nord-nav-item href="#" icon="navigation-notifications">Notifications</nord-nav-item>
  <nord-nav-item href="#" icon="navigation-tasks">My tasks</nord-nav-item>
</nord-nav-group>

Properties

PropertyAttributeDescriptionTypeDefault
headingheading

Heading and accessible label for the nav group

string | undefinedundefined

Events

EventDescriptionType
toggle

Dispatched whenever a nav item's state changes between open and closed.

NordEvent
activate

Dispatched whenever a nav item has been marked as active

NordEvent

Slots

Slot nameDescription
Default slot

The default slot used for the nav items.


Dependencies

This component is internally dependent on the following components:


Usage

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

Do

  • 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

  • Don’t use for grouping other types of content.

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):

My tasks
My Tasks

Avoid unnecessary words and articles in item labels, such as “the”, “an” or “a”:

Change theme
Change the theme

Avoid ending item labels in punctuation:

Switch user
Switch user.

Use as few words as possible to describe each item label:

Payments
Payments in your clinic

Avoid all caps for item labels and group titles:

Dashboard
DASHBOARD

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

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.