ComponentsAlert
Alert
Show information that matters to the task at hand.
Scheduled maintenance
Workspace search may be briefly unavailable on Friday from 18:00 to 18:30.
Setup
Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.
Error alert
Explain what went wrong and how to recover.
Upload failed
The image is larger than 5 MB. Choose a smaller file and try again.
Alert with an action
Offer the next step directly in the alert.
Usage
| Semantics | Use role="alert" for important updates that appear dynamically. Use a normal section for static informational content. |
|---|---|
| Action | Keep the action in the alert when it directly addresses the message. |