• Alert For a stronger visual treatment.
  • useToast For asynchronous messages that float above the page.
Follows the WAI-ARIA Alert Pattern, announcing messages with a polite level of importance.
Note that the caution tone is not supported because it’s not possible to achieve an accessible contrast ratio while maintining an acceptable semantic colour. For this case, consider using an Alert instead.
A Notice can contain layout components such as Stack and Inline, as well as typographic components such as Text,TextLink and List. We do not recommend using Button elements inside of Notice.
This component has only been designed to use standard size text. Any other size of text will break the alignment with the icon.