Use Empty State...
- When there is no content to display in a particular section of the UI. For example, when a user clears a screen, finishes a piece of work, completes a task, or has no data in a particular location.
- To create an opportunity to engage users positively by providing context, direction and guidance on how best to start, continue or complete a task.
Don't use Empty State...
- For validating user inputs. Instead, use a
FormError
on Standard Form.
Illustration
An illustration can be placed inside of an Empty State. On EmptyStateIllustration
, use illustrationType
to set the illustration according to the semantic intent of the Empty State content.
The current version of Empty State has a single, generic illustration. The Design System and Creative teams are working together to create a series of illustrations.
Title
The EmptyStateTitle
subcomponent should contain the problem definition to explain why the view is empty. See Problem definition for more information.
Description
The EmptyStateDescription
subcomponent should contain the solution definition to outline the next steps. See Solution definition for more information.
Actions
The EmptyStateActions
subcomponent should contain the next best action to get the user back on task. See Next best action for more information.
Footer
The EmptyStateFooter
subcomponent can be used to provide additional information or ancillary links that are tangential to the task at hand. See Additional information for more information.
Size
Use size="large"
to increase the size of an Empty State. Potential uses include full-page empty states such as an error page.