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.
Open in new window
Open in new window
Open in new window
Open in new window
View RTL
<nord-navigationstyle="max-inline-size: 250px"><nord-dropdownslot="header"expand><nord-buttonslot="toggle"expand><nord-avatarslot="start"variant="square">B</nord-avatar> Bath Clinic</nord-button><nord-dropdown-groupheading="laura.williams@nordhealth.com"><nord-dropdown-item><nord-avatarslot="start"size="s"variant="square">B</nord-avatar> Bath Clinic<nord-iconslot="end"name="interface-checked"></nord-icon></nord-dropdown-item><nord-dropdown-item><nord-avatarslot="start"size="s"variant="square"style="--n-avatar-color:var(--n-color-status-success)"> O</nord-avatar> Ocean Beach Clinic</nord-dropdown-item></nord-dropdown-group><nord-dropdown-group><nord-dropdown-item>Add another clinic</nord-dropdown-item><nord-dropdown-item>Customize style</nord-dropdown-item></nord-dropdown-group><nord-dropdown-item>Sign out from all clinics</nord-dropdown-item></nord-dropdown><nord-nav-groupheading="Workspace"><nord-nav-itemactiveicon="navigation-dashboard">Dashboard</nord-nav-item><nord-nav-itemicon="navigation-payments">Payments</nord-nav-item><nord-nav-itemicon="navigation-reports">Reports</nord-nav-item><nord-nav-itemicon="navigation-settings">Settings</nord-nav-item></nord-nav-group></nord-navigation>
<nord-navigationstyle="max-inline-size: 250px"><nord-dropdownslot="header"expand><nord-buttonslot="toggle"expand><nord-avatarslot="start"name="Bath Clinic"variant="square">B</nord-avatar> Bath Clinic</nord-button><nord-dropdown-groupheading="laura.williams@nordhealth.com"><nord-dropdown-item><nord-avatarslot="start"name="Bath Clinic"size="s"variant="square">B</nord-avatar> Bath Clinic<nord-iconslot="end"name="interface-checked"></nord-icon></nord-dropdown-item><nord-dropdown-item><nord-avatarslot="start"name="Ocean Beach Clinic"size="s"variant="square"style="--n-avatar-color:var(--n-color-status-success)"> O</nord-avatar> Ocean Beach Clinic</nord-dropdown-item><nord-dropdown-item><nord-avatarslot="start"name="Park Animal Hospital"size="s"variant="square"style="--n-avatar-color:var(--n-color-status-highlight)"> P</nord-avatar> Park Animal Hospital</nord-dropdown-item><nord-dropdown-item><nord-avatarslot="start"name="Balboa Pet Hospital"size="s"variant="square"style="--n-avatar-color:var(--n-color-status-danger)"> B</nord-avatar> Balboa Pet Hospital</nord-dropdown-item></nord-dropdown-group><nord-dropdown-group><nord-dropdown-item>Add another clinic</nord-dropdown-item><nord-dropdown-item>Customize style</nord-dropdown-item></nord-dropdown-group><nord-dropdown-item>Sign out from all clinics</nord-dropdown-item></nord-dropdown><nord-nav-group><nord-nav-itemaria-describedby="search"icon="navigation-search">Search</nord-nav-item><nord-tooltipid="search"position="inline-end"> Search<nord-iconslot="shortcut"name="keyboard-option"label="Option key"></nord-icon><spanslot="shortcut">S</span></nord-tooltip><nord-nav-itemicon="navigation-notifications"aria-describedby="notifications"badge="12"> Notifications</nord-nav-item><nord-tooltipid="notifications"position="inline-end"> Notifications<nord-iconslot="shortcut"name="keyboard-option"label="Option key"></nord-icon><spanslot="shortcut">N</span></nord-tooltip><nord-nav-itemicon="navigation-tasks"aria-describedby="tasks">My tasks</nord-nav-item><nord-tooltipid="tasks"position="inline-end"> My tasks<nord-iconslot="shortcut"name="keyboard-option"label="Option key"></nord-icon><spanslot="shortcut">M</span></nord-tooltip></nord-nav-group><nord-nav-groupheading="Workspace"><nord-nav-itemhref="#"icon="navigation-dashboard">Dashboard</nord-nav-item><nord-nav-itemicon="navigation-payments"> Payments<nord-nav-groupslot="subnav"><nord-nav-itemhref="#"active>All transactions</nord-nav-item><nord-nav-itemhref="#">Payments</nord-nav-item><nord-nav-itemhref="#">Disputes</nord-nav-item></nord-nav-group></nord-nav-item><nord-nav-itemicon="navigation-reports"> Reports<nord-nav-groupslot="subnav"><nord-nav-itemhref="#">Payments</nord-nav-item><nord-nav-itemhref="#">Disputes</nord-nav-item><nord-nav-itemhref="#">Payouts</nord-nav-item></nord-nav-group></nord-nav-item><nord-nav-itemhref="#"icon="navigation-settings">Settings</nord-nav-item></nord-nav-group><nord-dropdownexpandslot="footer"><nord-buttonslot="toggle"expand><nord-avatarslot="start"aria-hidden="true"name="Laura Williams"></nord-avatar> Laura Williams</nord-button><nord-dropdown-group><nord-dropdown-itemhref="#">View profile</nord-dropdown-item><nord-dropdown-item>Settings</nord-dropdown-item></nord-dropdown-group><nord-dropdown-group><nord-dropdown-item> Show keyboard shortcuts<divslot="end"class="n-color-text-weaker n-font-size-xs">Cmd+K</div></nord-dropdown-item><nord-dropdown-item>Help & Support</nord-dropdown-item><nord-dropdown-item>API</nord-dropdown-item></nord-dropdown-group><nord-dropdown-item> Sign out<nord-iconslot="end"name="interface-logout"></nord-icon></nord-dropdown-item></nord-dropdown></nord-navigation><script>const navigation = document.querySelector("nord-navigation")// for demo purposes, activate nav items on click.// in most cases you should instead integrate with your chosen router navigation.addEventListener("click",e=>{if(e.target.matches("nord-nav-item")&& e.target.href){ e.target.active =true e.preventDefault()}})</script>
<nord-navigationstyle="max-inline-size: 250px"><nord-dropdownslot="header"expand><nord-buttonslot="toggle"expand><nord-avatarslot="start"name="Bath Clinic"variant="square">B</nord-avatar> Bath Clinic</nord-button><nord-dropdown-groupheading="laura.williams@nordhealth.com"><nord-dropdown-item><nord-avatarslot="start"name="Bath Clinic"size="s"variant="square">B</nord-avatar> Bath Clinic<nord-iconslot="end"name="interface-checked"></nord-icon></nord-dropdown-item><nord-dropdown-item><nord-avatarslot="start"name="Ocean Beach Clinic"size="s"variant="square"style="--n-avatar-color:var(--n-color-status-success)"> O</nord-avatar> Ocean Beach Clinic</nord-dropdown-item><nord-dropdown-item><nord-avatarslot="start"name="Park Animal Hospital"size="s"variant="square"style="--n-avatar-color:var(--n-color-status-highlight)"> P</nord-avatar> Park Animal Hospital</nord-dropdown-item><nord-dropdown-item><nord-avatarslot="start"name="Balboa Pet Hospital"size="s"variant="square"style="--n-avatar-color:var(--n-color-status-danger)"> B</nord-avatar> Balboa Pet Hospital</nord-dropdown-item></nord-dropdown-group><nord-dropdown-group><nord-dropdown-item>Add another clinic</nord-dropdown-item><nord-dropdown-item>Customize style</nord-dropdown-item></nord-dropdown-group><nord-dropdown-item>Sign out from all clinics</nord-dropdown-item></nord-dropdown><nord-nav-group><nord-nav-itemaria-describedby="search"icon="navigation-search">Search</nord-nav-item><nord-tooltipid="search"position="inline-end"> Search<nord-iconslot="shortcut"name="keyboard-option"label="Option key"></nord-icon><spanslot="shortcut">S</span></nord-tooltip><nord-nav-itemicon="navigation-notifications"aria-describedby="notifications"badge="12"> Notifications</nord-nav-item><nord-tooltipid="notifications"position="inline-end"> Notifications<nord-iconslot="shortcut"name="keyboard-option"label="Option key"></nord-icon><spanslot="shortcut">N</span></nord-tooltip><nord-nav-itemicon="navigation-tasks"aria-describedby="tasks">My tasks</nord-nav-item><nord-tooltipid="tasks"position="inline-end"> My tasks<nord-iconslot="shortcut"name="keyboard-option"label="Option key"></nord-icon><spanslot="shortcut">M</span></nord-tooltip></nord-nav-group><nord-nav-groupheading="Workspace"><nord-nav-itemhref="#"icon="navigation-dashboard">Dashboard</nord-nav-item><nord-nav-itemicon="navigation-payments"> Payments<nord-nav-groupslot="subnav"><nord-nav-itemhref="#"active>All transactions</nord-nav-item><nord-nav-itemhref="#">Payments</nord-nav-item><nord-nav-itemhref="#">Disputes</nord-nav-item></nord-nav-group></nord-nav-item><nord-nav-itemicon="navigation-reports"open> Reports<nord-nav-groupslot="subnav"><nord-nav-itemhref="#">Payments</nord-nav-item><nord-nav-itemhref="#">Disputes</nord-nav-item><nord-nav-itemhref="#">Payouts</nord-nav-item></nord-nav-group></nord-nav-item><nord-nav-itemhref="#"icon="navigation-settings">Settings</nord-nav-item></nord-nav-group><nord-dropdownexpandslot="footer"><nord-buttonslot="toggle"expand><nord-avatarslot="start"aria-hidden="true"name="Laura Williams"></nord-avatar> Laura Williams</nord-button><nord-dropdown-group><nord-dropdown-itemhref="#">View profile</nord-dropdown-item><nord-dropdown-item>Settings</nord-dropdown-item></nord-dropdown-group><nord-dropdown-group><nord-dropdown-item> Show keyboard shortcuts<divslot="end"class="n-color-text-weaker n-font-size-xs">Cmd+K</div></nord-dropdown-item><nord-dropdown-item>Help & Support</nord-dropdown-item><nord-dropdown-item>API</nord-dropdown-item></nord-dropdown-group><nord-dropdown-item> Sign out<nord-iconslot="end"name="interface-logout"></nord-icon></nord-dropdown-item></nord-dropdown></nord-navigation><script>const navigation = document.querySelector("nord-navigation")// for demo purposes, activate nav items on click.// in most cases you should instead integrate with your chosen router navigation.addEventListener("click",e=>{if(e.target.matches("nord-nav-item")&& e.target.href){ e.target.active =true e.preventDefault()}})</script>
<nord-layout><nord-navigationsticky-footerslot="nav"><nord-dropdownslot="header"expand><nord-buttonslot="toggle"expand><nord-avatarslot="start"variant="square">B</nord-avatar> Bath Clinic</nord-button><nord-dropdown-groupheading="laura.williams@nordhealth.com"><nord-dropdown-item><nord-avatarslot="start"name="Bath Clinic"size="s"variant="square">B</nord-avatar> Bath Clinic<nord-iconslot="end"name="interface-checked"></nord-icon></nord-dropdown-item><nord-dropdown-item><nord-avatarslot="start"name="Ocean Beach Clinic"size="s"variant="square"style="--n-avatar-color:var(--n-color-status-success)"> O</nord-avatar> Ocean Beach Clinic</nord-dropdown-item><nord-dropdown-item><nord-avatarslot="start"name="Park Animal Hospital"size="s"variant="square"style="--n-avatar-color:var(--n-color-status-highlight)"> P</nord-avatar> Park Animal Hospital</nord-dropdown-item><nord-dropdown-item><nord-avatarslot="start"name="Balboa Pet Hospital"size="s"variant="square"style="--n-avatar-color:var(--n-color-status-danger)"> B</nord-avatar> Balboa Pet Hospital</nord-dropdown-item></nord-dropdown-group><nord-dropdown-group><nord-dropdown-item>Add another clinic</nord-dropdown-item><nord-dropdown-item>Customize style</nord-dropdown-item></nord-dropdown-group><nord-dropdown-item>Sign out from all clinics</nord-dropdown-item></nord-dropdown><nord-nav-group><nord-nav-itemicon="medical-heart-rate"> Patient care<nord-nav-groupslot="subnav"><nord-nav-itemhref="#"active>Dashboard</nord-nav-item><nord-nav-itemhref="#">Triage</nord-nav-item><nord-nav-itemhref="#">Laboratory</nord-nav-item><nord-nav-itemhref="#">Diagnostic imaging</nord-nav-item><nord-nav-itemhref="#">Patient referrals</nord-nav-item><nord-nav-itemhref="#">Health plans</nord-nav-item><nord-nav-itemhref="#">E-prescriptions</nord-nav-item></nord-nav-group></nord-nav-item><nord-nav-itemopenicon="interface-calendar"> Calendar<nord-nav-groupslot="subnav"><nord-nav-itemhref="#">Appointments</nord-nav-item><nord-nav-itemhref="#">Shifts</nord-nav-item><nord-nav-itemhref="#">Reminders</nord-nav-item></nord-nav-group></nord-nav-item><nord-nav-itemopenicon="generic-shipping"> Inventory<nord-nav-groupslot="subnav"><nord-nav-itemhref="#">Item bundles</nord-nav-item><nord-nav-itemhref="#">Item lists & groups</nord-nav-item><nord-nav-itemhref="#">Orders</nord-nav-item><nord-nav-itemhref="#">Stock</nord-nav-item><nord-nav-itemhref="#">Wholesalers</nord-nav-item><nord-nav-itemhref="#">Controlled medicines</nord-nav-item><nord-nav-itemhref="#">Item price change</nord-nav-item><nord-nav-itemhref="#">Stock level & items</nord-nav-item><nord-nav-itemhref="#">Item purchase</nord-nav-item></nord-nav-group></nord-nav-item><nord-nav-itemopenicon="navigation-reports"> Reports<nord-nav-groupslot="subnav"><nord-nav-itemhref="#">Performance</nord-nav-item><nord-nav-itemhref="#">Clinic statistics</nord-nav-item><nord-nav-itemhref="#">Business intelligence</nord-nav-item></nord-nav-group></nord-nav-item><nord-nav-itemopenicon="generic-bank"> Finances<nord-nav-groupslot="subnav"><nord-nav-itemhref="#">Invoices</nord-nav-item><nord-nav-itemhref="#">Estimates</nord-nav-item><nord-nav-itemhref="#">Insurance claims</nord-nav-item><nord-nav-itemhref="#">Commissions</nord-nav-item><nord-nav-itemhref="#">Discount invoices</nord-nav-item></nord-nav-group></nord-nav-item><nord-nav-itemhref="#"icon="navigation-settings">Settings</nord-nav-item></nord-nav-group><nord-nav-itemslot="footer"href="#"badge="4"icon="interface-customer-support">Get support</nord-nav-item></nord-navigation><nord-top-barslot="top-bar"><nord-inputexpandlabel="Search"hide-labeltype="search"placeholder="Search"></nord-input></nord-top-bar><nord-headerslot="header"><h1class="n-typescale-l">Dashboard</h1><nord-buttonvariant="primary"slot="end"size="s"><nord-iconslot="start"name="interface-add-small"></nord-icon> Create new</nord-button><nord-tooltipid="export"position="block-end">Export data as Spreadsheet</nord-tooltip></nord-header><nord-stackgap="l"><nord-card><h2slot="header">Description</h2><nord-bannervariant="info"> This example has “sticky footer” enabled for the navigation sidebar.</nord-banner></nord-card></nord-stack></nord-layout>
Properties
Property
Attribute
Description
Type
Default
stickyFooter
sticky-footer
Controls whether the navigations's footer has sticky positioning.
boolean
false
Events
Event
Description
Type
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 name
Description
Default slot
The main section of the sidebar, for holding nav components.
header
The top section of the sidebar.
footer
The bottom section of the sidebar.
CSS Properties
CSS Custom Properties provide more fine grain control over component presentation. We advise utilizing existing properties on the component before using these.
Property
Description
Default
--n-navigation-background-color
Controls the background color of the navigation element.
var(--n-color-nav-surface)
Dependencies
This component is internally dependent on the following components:
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.
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.