Alert
Overview
The Style Kit includes a customised version of the Bootstrap alert plugin to be compatible with Style Kit specific classes. It’s functionality and data API remain exactly the same.
Dependencies
See distribution for how to include these dependencies.
Uses
Use with the Style Kit alert component to create dismissible alerts.
Examples
A dismissible alert
<div id="alert-id" class="bsk-alert bsk-alert-solid bsk-alert-success bsk-alert-dismissible" role="alert">
<button type="button" class="bsk-close" data-bs-dismiss="alert" data-bs-target="#alert-id" aria-label="Close">×</button>
A dismissible alert
</div>