Skip to main content

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.

View Alert Plugin

Dependencies

This plugin depends upon:

See distribution for how to include these dependencies.

Uses

Use with the Style Kit alert component to create dismissible alerts.

Examples

<div class="bsk-alert bsk-alert-solid bsk-alert-success bsk-alert-dismissible" role="alert">
  <button type="button" class="bsk-close" data-dismiss="alert" aria-label="Close">&times;</button>
  A dismissible alert
</div>