A persistent message communicating state in response to a user action.
Usage
To display an alert, pass a title and an optional description.
There was an error connecting to Confluence.
Please try again. If the issue persists, you can reconnect manually.
Colors
The default gray alert can be changed to other colors using the variant prop. Pass info, success, warning, or error to change the alert background and default icon.
There was an error connecting to Confluence.
Please try again. If the issue persists, you can reconnect manually.
There was an error connecting to Confluence.
Please try again. If the issue persists, you can reconnect manually.
There was an error connecting to Confluence.
Please try again. If the issue persists, you can reconnect manually.
There was an error connecting to Confluence.
Please try again. If the issue persists, you can reconnect manually.
Dark mode
Set theme to dark to display the alert on a dark background.
There was an error connecting to Confluence.
Please try again. If the issue persists, you can reconnect manually.
There was an error connecting to Confluence.
Please try again. If the issue persists, you can reconnect manually.
There was an error connecting to Confluence.
Please try again. If the issue persists, you can reconnect manually.
There was an error connecting to Confluence.
Please try again. If the issue persists, you can reconnect manually.
Icon
For consistency, all alerts display an icon. However, the default icon can be overridden. Import an icon from FontAwesome and pass it to icon.
An unknown error occurred.
Actions
To render buttons beneath the description, pass an array of ButtonProps to the actions prop.
There was an error connecting to Confluence.
Please try again. If the issue persists, you can reconnect manually.
Lists
If you need to display a list of items—for example, a list of errors—pass an array of strings to descriptionList.
We couldn't submit your form.
Please fix the following errors and try again:
Title is required
Description is required
Date is required
Sizing
Alert will automatically shrink padding and text size when beneath 384px wide.
Example available on wider screens
Condensed
Default
There was an error connecting to Confluence.
Please try again. If the issue persists, you can reconnect manually.