Appearance
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
Prop | Description | Options |
---|---|---|
type | the type of alert | info , warning , danger , success |
CSS Classes
Class | Description |
---|---|
.alert | main class applied to the root alert element |
.alert-{type} | specific class applied to the root alert element for the given prop.type |