Alert

Link color in dark theme

Use the .alert-link utility class to quickly provide matching colored links within any alert.

Primary Alert

Secondary Alert

Success Alert

Info Alert

Warning Alert

Danger Alert

Light Alert

Dark Alert

Link color in light theme

Use the .alert-link utility class to quickly provide matching colored links within any alert.

Primary Light Alert

Secondary Light Alert

Success Light Alert

Info Light Alert

Warning Light Alert

Danger Light Alert

White Light Alert

Dark Light Alert

Outline dark and light alerts

Use the .border-* utility class to quickly provide matching border and border-width within any alert.

Alerts with icons and text actions

Use the .dismiss-text class to add dismiss text instead of icon

Dismissing dark alert

Use the .alert-dismissible utility class to quickly remove the alerts.

Dismissing light alert

Use the .alert-dismissible utility class to quickly remove the alerts.

Live alert

Click the button below to show an alert,then dismiss it with the built-in close button.

Left border alert

Use the .border-left-wrapper to change border-left radius.

Additional content

Use the .alert utility class to quickly provide additional content within any alerts.