Empty StateReady

Empty state can be used when there is no data to display to describe what the user can do next. Empty state provides explanation and guidance to help user progress.

Edit in CodePen
Open in new window
Edit in CodePen
Open in new window
Edit in CodePen
Open in new window
Edit in CodePen
Open in new window
View RTL
<nord-empty-state>
  <h2>Something’s wrong</h2>
  <p>We were unable to connect to the service. Click Retry to try again or View log to learn what happened.</p>
  <nord-stack justify-content="center" gap="s" direction="horizontal">
    <nord-button>View log</nord-button>
    <nord-button variant="primary">Retry</nord-button>
  </nord-stack>
</nord-empty-state>

Slots

Slot nameDescription
Default slot

default slot

Usage

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

Do

  • Use when another component or part of UI has no items or data to show.
  • Help users by clearly explaining the benefit and utility of a product or feature.
  • Be encouraging and never make users feel unsuccessful or guilty.

Don’t

  • Don’t use as a generic banner to highlight specific content.

Content guidelines

Empty state headings should state to the user what’s wrong or why there’s no content:

No results found
Error

When writing empty state headings, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):

You don’t have access to this content
You Don’t Have Access To This Content

Descriptions in empty states should add useful and relevant additional information:

We were unable to connect to the service. Click Retry to try again or View log to learn what happened.
No connection.

Button labels should be clear, accurate and predictable. It should be possible for the user to understand what will happen when they click a button:

Clear filters
Clear

When writing button labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):

View log
View Log

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

Request access
Request an access

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.