Shared views are here
Save a filter and share it with your team. Learn more
Payment received
Invoice INV-1042 was paid in full.
Storage almost full
You’ve used 9.2 of 10 GB. Remove old files or add more storage.
Deployment failed
The build for mobile-app exited with code 1.
- Add the registry
- Add alert
Usage
Put an icon first to show it beside the text.
Alerts don't announce themselves. For a message that appears after something the user did, add
role="alert" or role="status", or use a toast.
Composition
Examples
With actions
AlertAction puts buttons in the top right corner. Give an icon-only dismiss button an
aria-label.
Payment received
Invoice INV-1042 was paid in full.
Deployment failed
The build for mobile-app exited with code 1.