Skip to content

Alert

The Alert component provides contextual messages for typical user actions.

Examples

html
<Alert type="info">
    The quick brown fox jumped over the lazy dogs.
</Alert>

Component Props

PropDescriptionOptions
typethe type of alertinfo, warning, danger, success

CSS Classes

ClassDescription
.alertmain class applied to the root alert element
.alert-{type}specific class applied to the root alert element for the given prop.type