Empty State

A message to users when there is nothing to show.

Usage

The goal of an empty state is to improve the user experience of your product, from onboarding to encouraging users to interact with it.

Empty states or zero-data states are messages displayed to users when there is no content to show.

How to use How not to use AnatomyElements

Writing & Tone

Use “we”, “our” and “you” to create a sense that we are speaking directly to our customers.


BehaviorLinks

The link in the call to action should lead the user to:


Order & AlignmentPosition

Ideally, an empty state should align vertically and horizontally in the middle of its container. In some cases, you may align the empty state component closer to the action or task that must be performed in order to dismiss it.


Overflow RulesTruncate

The empty state message should be short yet descriptive enough but not so much as to cause the need for truncation.

Scrolling

A container with an empty state should never contain a scrollbar.


Feedback

We would like to get your feedback. Tell us how you use this component in your projects and how we can improve it.

Style

HTML/CSS