A banner for status, warnings, or errors.

<rl-alert variant="info" title="Connected">Widget handshake succeeded.</rl-alert>

Examples

Error

<rl-alert variant="error" title="Failed">Could not save the record.</rl-alert>

Success

<rl-alert variant="success" title="Saved">Changes are live.</rl-alert>

API

PropTypeDefaultDescription
variant"default" | "info" | "success" | "warning" | "error""default"Intent.
titlestringHeading of the alert.
dismissiblebooleanfalseShows a close action.