Loading...

Alerts

Basic alerts

Basic alerts use the.alert class with the following color variants:.alert-{primary|secondary|success|info|warning|danger|light|dark}.

Alerts with icon

Icon alerts use.alert combined with.alert-media and a contextual color:.alert-{primary|secondary|success|info|warning|danger|light|dark}.

Outline alerts

Outline alerts use.alert-outline-{primary|secondary|success|info|warning|danger|light|dark} for subtle, low-emphasis messages.

Dismissible alerts

Dismissible alerts use.alert-dismissible together with.alert-{context} and a close button.

Alerts with description

Alerts with extended content use.alert-media and.alert-body to support headings and descriptions.