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.
Size
Use size="large"
to increase the size of an Empty State. Potential uses include full-page empty states such as an error page.
Actions
The EmptyStateActions
subcomponent should contain the next best action to get the user back on task. See Guidelines for more information.