System status
SystemStatus communicates essential platform-wide information, such as maintenance or outage alerts. These messages are displayed to be noticed immediately, prompting users to consider taking action based on four severity levels (with corresponding icons and colors): info, success, warning and error.
| Salt package | @salt-ds/lab |
|---|---|
| Available since | 1.0.0-alpha.48 |
Use info system status to communicate important updates or new features that do not require immediate action.
An info icon displays alongside a supporting message.
Use error system status for critical issues that affect the user's ability to access or use the platform. The messaging should explain what's affected and, where possible, what the user can do, such as try again later. When relevant, add a supporting action, such as viewing the service status. See the interactive example for how to add actions.
An error icon displays alongside a supporting message.
Use warning system status to warn users about potential issues, such as scheduled outages or events that might impact the product experience. Warnings don't prevent the user from using the application or completing their current workflow.
A warning icon displays alongside a supporting message.
Use success system status to communicate successfully completed system actions.
A success icon displays alongside a supporting message.
Use a title in a system status to highlight important information, and use description text to provide supporting details.
The interactive system status includes actions that let users respond to it.
Use SystemStatusActions to add actions such as view status and dismiss. Use OnSolidButton for these actions.
A system status added to the page after it loads isn't announced by screen readers on its own. To announce it, add it to a live region that's on the page from first load. See the accessibility guidance for which role to use.
A system status is positioned at the same level as the main content, causing any subsequent content to shift accordingly. For example, when a system status is dismissed, the content below it moves up to its original position.