Alert
<gcds-alert>
-
GitHub -
Figma
Alert component preview
Problems alerts solve
- Communicate information that appears dynamically in response to an event, such as:
- a person’s action, like submitting an application or saving progress.
- a system event, like a report being ready to download or a password about to expire.
- Communicate important or time-sensitive information when users should be made aware of it promptly.
- Display messages without interrupting the current task.
Related components
Alert roles
Information
- Inform people about the current state of their task, access, or eligibility.
- Provide status updates about a task or background process.
- Communicate contextual information that helps people understand why an action is unavailable or no longer needed.
- Inform people about non-critical information that’s relevant to their current task or situation.
You can only have one application in progress at a time. Finish or withdraw your current application before satrting another one.
Success
- Confirm that a person’s action was completed successfully.
- Notify people when a requested process or task has finished successfully.
You can always review your preferences in Settings.
Warning
- Inform people about conditions that may affect their current task.
- Explain the potential consequences of continuing with an action.
Change your password to keep access to your account.
Danger
- Communicate when an action could not be completed successfully.
- Explain a problem that’s preventing a person from completing their current task.
Check your information and try again.