Empty states display when content can’t be shown. This could be on a user’s first interaction with a product or site, when data is unavailable or when an error has occurred in the interactive state of an application.
The main principle in using an empty state is to improve user experience by providing reassurance, clarity and actionable steps. Other advantages of a well-designed empty state are that they:
Empty states include a non-interactive image and supporting text. Variants may also include one or two buttons to initiate user actions.
Empty states can be configured with elements to suit a range of contexts.
Icons provide a visual hint for faster understanding or to differentiate between different empty states in the same page.
Pictograms
Images strengthen the meaning of other content with a visual metaphor. Use this when the empty state is the primary element on a page.
Action buttons allow a user to take action to resolve the empty state.
Empty state is available in small and large sizes.
All elements in the empty state are centre-aligned. When all elements are used, they sit in a vertical stack.
Content in empty states can include images, icons and text. All these elements should be:
Titles, descriptions and button text are an integral part of empty state design. The content you use should reassure users, provide guidance and maintain a positive experience for all people. Including correct h-tags in semantic markup is vital to allow navigation for users of assistive technology.
Titles are short statements which explain the reason for the Empty State, e.g.: ‘No data found’.
When writing titles:
Descriptions suggest steps to resolve the issue, e.g., ‘Please refine your search to view more results’.
When you write accessible descriptions, ensure they:
Button labels explicitly indicate exactly what happens when a user interacts with them.
When you write button labels, ensure they:
Choosing words, sentences and punctuation that are clear, reassuring, and actionable improves how users experience your product. The impact of content on user experience of your product and the Shell brand means choosing language with purpose and context in mind.
Read more about voice and tone in our content guidelines.
Images and icons are non-interactive visual information which enhance the meaning of the empty state. When matched with the context, they reinforce meaning and work in harmony with text to convey an appropriate tone.
Read more about Shell DS icons in our iconography guidelines.
Shell DS components are programmatically determinable with appropriate semantic markup and are designed to meet colour contrast requirements. If you’re not using Shell DS code, you will need to cover the accessibility considerations for each component in this pattern.
Ensure that semantic markup supports people using assistive technologies so that they can scan content in the empty state. Titles must be correctly identified with the relevant h tags to enable navigation by users of assistive technologies.
Empty states contain informative images which convey a simple concept or information. These images may not correspond exactly with the text in title and heading, so an appropriate alt-tag must be written to convey the meaning of the image. For more guidance, please refer to WCAG accessibility best-practice on informative images.
Ensure colour contrast in images and button labels meet colour contrast ratio of at least 3:1. Text on labels requires a contrast ratio of 4.5:1.
Every effort has been made to ensure that the Shell Design System follows accessibility best practice.
The Shell DS React framework incorporates keyboard operation to support the widest variety of assistive technologies and devices. For any future frameworks other than React, accessibility will need to be reviewed.
Help us to help you by contacting the Accessibility team for support and information regarding any questions relating to accessibility.
Is this page useful for you?
Your feedback helps to improve our documentation.