Skip to content
On this page

Alert

Alert is a component that displays a message to the user.

Theme Color Alerts

html
<div>
  <div class=" alert alert-primary">content....</div>
</div>

TIP

You can use class for alert type. Available types: class="alert-primary", class="alert-secondary", class="alert-success", class="alert-info", class="alert-danger", class="alert-warning",

Light Color Alerts

Just add light to the type. For example: class:light-mode alert-primary;

Outline Alerts

Just add outline to the type. For example: class:alert-outline-primary;

Dismissible

You can use dismissible props to make an alert dismissible.

COPYRIGHT © 2022 Codeshaper, All rights reserved.