Toast alerts are used to provide timely information about system occurrences as well as feedback on the outcome of user actions.
Show design guidelines
Along with a description that follows the title.
Along with a description that follows the title.
Along with a description that follows the title.
Along with a description that follows the title.
Dismissible toasts have a close button
Will appear with a shake animation
Formatted buttons with toast-ctas slot
Save
Cancel
alignContent
| |
|---|
| Attribute | align-content |
| Type | "center" | "left" | "right" |
| Default | 'left' |
| Required | false |
| Description | The content alignment inside the toast |
dismissible
| |
|---|
| Attribute | dismissible |
| Type | boolean |
| Default | false |
| Required | false |
| Description | If true, the toast can be dismissed by clicking the close button |
headline
| |
|---|
| Attribute | headline |
| Type | string |
| Default | undefined |
| Required | false |
| Description | The bolded first sentence of the toast |
shake
| |
|---|
| Attribute | shake |
| Type | boolean |
| Default | false |
| Required | false |
| Description | If true, the toast will shake when it appears |
variant
| |
|---|
| Attribute | variant |
| Type | "danger" | "info" | "success" | "warning" |
| Default | 'info' |
| Required | false |
| Description | sets the theme/color of the toast |
| Name | Description | Bubbles |
|---|
certaraClose | Event emitted when the toast is closed if dismissible is true | true |
There are no public methods available for this component
| Name | Description |
|---|
| Default toast content |
toast-ctas | Slot for additional call-to-action buttons or links |