Best Practices
Properties
Variant
Value | Usage | Example |
---|---|---|
info | Message without a clear semantic that doesn’t require immediate attention. For example, announcements, product invitations, and progress feedback. | ”A new Products experience is available. This version will be discontinued in June 2024.” with a Try new version action |
critical | Action that failed due to a technical error or a user error. Include a proposed action or, when it’s not possible, explain what to do next. | ”There are 2 invoices that could not be processed because of a technical issue” with a Try again action |
warning | Unexpected behavior or something to be cautious about. Consider including a proposed action or explaining what to do next. | ”Stores in this account still can’t sell to the final customer” with an Activate account action |
positive | Action that matched or surpassed expectations. | ”The performance of this seller improved and now meets minimum requirements” with a View performance action |