--- layout: default title: "Alerts - Sleek Admin Dashboard Template" parent: "components" sub_parent: "components" activePage: "alert" plugins: [] ---
Alerts provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. Read bootstrap documentaion for more details.
For icon alert add <i class="mdi mdi-alert mr-1"></i>
inside < div class="alert" role="alert">
. Get classes for material icon here.
Alerts are available for any length of text, as well as an optional dismiss button. For proper
styling, use one of the eight required contextual classes (e.g., .alert-success
).
For inline dismissal, use the alerts jQuery plugin.
For Heightlighted Alert add class .alert-highlighted
to <div class="alert" role="alert">
For outline Alert add class .alert-outlined
to < div class="alert" role="alert">