Alert
To display a specified message
Usage
Add alert
class in <div>
tag.
<section>
<div class="alert">
This is alert
</div>
</section>
Appearance
Alert contains four styles to display messages, there are alert-info
, alert-success
, alert-error
, and alert-warning
classes.
This is info alert
This is success alert
This is error alert
This is warning alert
<section class="flex flex-column flex-justify-content-start gap-row-small">
<div class="alert alert-info">
This is info alert
</div>
<div class="alert alert-success">
This is success alert
</div>
<div class="alert alert-error">
This is error alert
</div>
<div class="alert alert-warning">
This is warning alert
</div>
</section>
To get outlined alert, add alert-outline
class where the alert
class is located.
This is info alert
This is success alert
This is error alert
This is warning alert
<section class="flex flex-column flex-justify-content-start gap-row-small">
<div class="alert alert-outline alert-info">
This is info alert
</div>
<div class="alert alert-outline alert-success">
This is success alert
</div>
<div class="alert alert-outline alert-error">
This is error alert
</div>
<div class="alert alert-outline alert-warning">
This is warning alert
</div>
</section>
Variables
Coming soon