Default Alerts

Basic alert styles for different contexts

Alerts with Links

Use .alert-link class for matching links

Dismissible Alerts
Dismissible Alerts

Add close button to dismiss alerts

Alerts with Heading

Use .alert-heading for titles

Alerts with Icons
Icon Alerts

Alerts with icons using flex layout

Icon Alerts Dismissible

Icon alerts with close button

Outline Alerts
Outline Style

Alerts with transparent background

Outline with Icons

Outline alerts with icons

Solid Alerts
Solid Style

Alerts with solid background colors

Solid with Icons

Solid alerts with icons

Alerts with Additional Content
Alerts with Lists

Include bullet points in alerts

Alerts with Buttons

Include action buttons in alerts

Live Examples
Toast-style Alerts

Compact alerts for notifications

Trigger Alerts

Click buttons to show alerts dynamically

Real-World Examples
Common Use Cases

Examples of alerts in typical scenarios

Cookie Consent
Email Verification
Payment Success
System Maintenance
Feature Announcement
Form Validation