##### Basic Alerts

Alerts are available for any length of text, as well as an optional close button. For proper styling, use one of the eight required contextual classes (e.g.,`.alert-success`).

This information is for your reference
Check the details before proceeding.
Your action was successful.
There was an error with your action.
There might be an issue you need to check.
Here is some information for you.
Try out the latest tool added to your dashboard.
Updates are available in your profile settings.

    <div class="alert alert-primary" role="alert">
        This information is for your reference
    </div>
    <div class="alert alert-secondary" role="alert">
        Check the details before proceeding.
    </div>
    <div class="alert alert-success" role="alert">
        Your action was successful.
    </div>
    <div class="alert alert-danger" role="alert">
        There was an error with your action.
    </div>
    <div class="alert alert-warning" role="alert">
        There might be an issue you need to check.
    </div>
    <div class="alert alert-info" role="alert">
        Here is some information for you.
    </div>
    <div class="alert alert-light" role="alert">
        Try out the latest tool added to your dashboard.
    </div>
    <div class="alert alert-dark mb-0" role="alert">
        Updates are available in your profile settings.
    </div>

##### Outline Alerts

Create outline alerts with Bootstrap using the `.alert-outline-*` classes. Replace `*` with a color variant like `primary`, `success`, or `danger` for different outline styles.

This information is for your reference
Check the details before proceeding.
Everything is set up and ready to go.
We couldn’t process your request. Please try again later.
This action will permanently delete the item.
Scheduled maintenance will occur at midnight.
You can enable notifications in your profile.
Try out the latest tool added to your dashboard.

    <div class="alert alert-outline-primary" role="alert">
        This information is for your reference
    </div>
    <div class="alert alert-outline-secondary" role="alert">
        Check the details before proceeding.
    </div>
    <div class="alert alert-outline-success" role="alert">
        Everything is set up and ready to go.
    </div>
    <div class="alert alert-outline-danger" role="alert">
        We couldn’t process your request. Please try again later.
    </div>
    <div class="alert alert-outline-warning" role="alert">
        This action will permanently delete the item.
    </div>
    <div class="alert alert-outline-info" role="alert">
        Scheduled maintenance will occur at midnight.
    </div>
    <div class="alert alert-outline-light" role="alert">
        You can enable notifications in your profile.
    </div>
    <div class="alert alert-outline-dark mb-0" role="alert">
        Try out the latest tool added to your dashboard.
    </div>

##### Subtle Alerts

Create outline alerts with Bootstrap using the `.alert-subtle-*` classes. Replace `*` with a color variant like `primary`, `success`, or `danger` for different outline styles.

A simple primary alert—check it out!
A simple secondary alert—check it out!
A simple success alert—check it out!
A simple danger alert—check it out!
A simple warning alert—check it out!
A simple info alert—check it out!
A simple light alert—check it out!
A simple dark alert—check it out!

    <div class="alert alert-subtle-primary" role="alert">
        A simple primary alert—check it out!
    </div>
    <div class="alert alert-subtle-secondary" role="alert">
        A simple secondary alert—check it out!
    </div>
    <div class="alert alert-subtle-success" role="alert">
        A simple success alert—check it out!
    </div>
    <div class="alert alert-subtle-danger" role="alert">
        A simple danger alert—check it out!
    </div>
    <div class="alert alert-subtle-warning" role="alert">
        A simple warning alert—check it out!
    </div>
    <div class="alert alert-subtle-info" role="alert">
        A simple info alert—check it out!
    </div>
    <div class="alert alert-subtle-light" role="alert">
        A simple light alert—check it out!
    </div>
    <div class="alert alert-subtle-dark" role="alert">
        A simple dark alert—check it out!
    </div>

##### Left Border Alerts

Add a left border to alerts in Bootstrap using the `.alert-border-*` class. This class applies a primary color border to the left side of the alert box.

A simple primary alert—check it out!
A simple secondary alert—check it out!
A simple success alert—check it out!
A simple danger alert—check it out!
A simple warning alert—check it out!
A simple info alert—check it out!
A simple light alert—check it out!
A simple dark alert—check it out!

    <div class="alert alert-border-primary" role="alert">
        A simple primary alert—check it out!
    </div>
    <div class="alert alert-border-secondary" role="alert">
        A simple secondary alert—check it out!
    </div>
    <div class="alert alert-border-success" role="alert">
        A simple success alert—check it out!
    </div>
    <div class="alert alert-border-danger" role="alert">
        A simple danger alert—check it out!
    </div>
    <div class="alert alert-border-warning" role="alert">
        A simple warning alert—check it out!
    </div>
    <div class="alert alert-border-info" role="alert">
        A simple info alert—check it out!
    </div>
    <div class="alert alert-border-light" role="alert">
        A simple light alert—check it out!
    </div>
    <div class="alert alert-border-dark" role="alert">
        A simple dark alert—check it out!
    </div>

##### Subtle Alerts with Icons

Create outline alerts with Bootstrap using the `.alert-subtle-*` classes. Replace `*` with a color variant like `primary`, `success`, or `danger` for different outline styles.

A simple primary alert—check it out!
A simple secondary alert—check it out!
A simple success alert—check it out!
A simple danger alert—check it out!

    <div class="alert alert-subtle-primary d-flex align-items-center" role="alert">
        <i class="bi bi-info-circle-fill me-2"></i>
        A simple primary alert—check it out!
    </div>
    <div class="alert alert-subtle-secondary d-flex align-items-center" role="alert">
        <i class="bi bi-exclamation-circle-fill me-2"></i>
        A simple secondary alert—check it out!
    </div>
    <div class="alert alert-subtle-success d-flex align-items-center" role="alert">
        <i class="bi bi-check-circle-fill me-2"></i>
        A simple success alert—check it out!
    </div>
    <div class="alert alert-subtle-danger d-flex align-items-center" role="alert">
        <i class="bi bi-x-circle-fill me-2"></i>
        A simple danger alert—check it out!
    </div>

##### Enhanced Alerts with Left Borders

Add a left border to alerts in Bootstrap using the `.alert-border-*` class. This class applies a primary color border to the left side of the alert box.

A simple primary alert—check it out!
A simple secondary alert—check it out!
A simple success alert—check it out!
A simple danger alert—check it out!

    <div class="alert alert-border-primary d-flex align-items-center" role="alert">
        <i class="bi bi-info-circle-fill me-2"></i>
        <div>A simple primary alert—check it out!</div>
    </div>
    <div class="alert alert-border-secondary d-flex align-items-center" role="alert">
        <i class="bi bi-exclamation-circle-fill me-2"></i>
        <div>A simple secondary alert—check it out!</div>
    </div>
    <div class="alert alert-border-success d-flex align-items-center" role="alert">
        <i class="bi bi-check-circle-fill me-2"></i>
        <div>A simple success alert—check it out!</div>
    </div>
    <div class="alert alert-border-danger d-flex align-items-center" role="alert">
        <i class="bi bi-x-circle-fill me-2"></i>
        <div>A simple danger alert—check it out!</div>
    </div>

##### Solid Alerts

Display default alerts in Bootstrap using the `.alert` class. Add contextual classes like `.alert-primary`, `.alert-success`, or `.alert-danger` for different alert styles.

A simple primary alert—check it out!
A simple secondary alert—check it out!
A simple success alert—check it out!
A simple danger alert—check it out!
A simple warning alert—check it out!
A simple info alert—check it out!
A simple light alert—check it out!
A simple dark alert—check it out!

    <div class="alert alert-solid-primary" role="alert">
        A simple primary alert—check it out!
    </div>
    <div class="alert alert-solid-secondary" role="alert">
        A simple secondary alert—check it out!
    </div>
    <div class="alert alert-solid-success" role="alert">
        A simple success alert—check it out!
    </div>
    <div class="alert alert-solid-danger" role="alert">
        A simple danger alert—check it out!
    </div>
    <div class="alert alert-solid-warning" role="alert">
        A simple warning alert—check it out!
    </div>
    <div class="alert alert-solid-info" role="alert">
        A simple info alert—check it out!
    </div>
    <div class="alert alert-solid-light" role="alert">
        A simple light alert—check it out!
    </div>
    <div class="alert alert-solid-dark mb-0" role="alert">
        A simple dark alert—check it out!
    </div>

##### Link Alerts

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

A simple primary alert with an example link. Give it a click if you like.
A simple secondary alert with an example link. Give it a click if you like.
A simple success alert with an example link. Give it a click if you like.
A simple danger alert with an example link. Give it a click if you like.
A simple warning alert with an example link. Give it a click if you like.
A simple info alert with an example link. Give it a click if you like.
A simple light alert with an example link. Give it a click if you like.
A simple dark alert with an example link. Give it a click if you like.

    <div class="alert alert-primary" role="alert">
        A simple primary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    </div>
    <div class="alert alert-secondary" role="alert">
        A simple secondary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    </div>
    <div class="alert alert-success" role="alert">
        A simple success alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    </div>
    <div class="alert alert-danger" role="alert">
        A simple danger alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    </div>
    <div class="alert alert-warning" role="alert">
        A simple warning alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    </div>
    <div class="alert alert-info" role="alert">
        A simple info alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    </div>
    <div class="alert alert-light" role="alert">
        A simple light alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    </div>
    <div class="alert alert-dark mb-0" role="alert">
        A simple dark alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
    </div>

##### Icons Alerts

Similarly, you can use flexbox utilities and Bootstrap Icons to create alerts with icons. Depending on your icons and content, you may want to add more utilities or custom styles.

An example alert with an icon
An example success alert with an icon
An example warning alert with an icon
An example danger alert with an icon

    <div class="alert alert-info d-flex align-items-center mb-0" role="alert">
        <i class="bi bi-info-circle-fill flex-shrink-0 me-2"></i>
        <div>
            An example alert with an icon
        </div>
    </div>
    <div class="alert alert-outline-success d-flex align-items-center mb-0" role="alert">
        <i class="bi bi-check-circle-fill flex-shrink-0 me-2"></i>
        <div>
            An example success alert with an icon
        </div>
    </div>
    <div class="alert alert-border-warning d-flex align-items-center mb-0" role="alert">
        <i class="bi bi-exclamation-triangle-fill flex-shrink-0 me-2"></i>
        <div>
            An example warning alert with an icon
        </div>
    </div>
    <div class="alert alert-subtle-danger d-flex align-items-center mb-0" role="alert">
        <i class="bi bi-exclamation-triangle-fill flex-shrink-0 me-2"></i>
        <div>
            An example danger alert with an icon
        </div>
    </div>

##### Dismissing Alerts

Using the alert JavaScript plugin, it’s possible to dismiss any alert inline.

You’re All Set! The changes were saved without any issues.
Critical Error! Something went wrong. Contact support if this continues.
Password Expiring! Update your password to keep your account secure.
Upcoming Changes: Some features may be unavailable during the update.

    <div class="alert alert-success alert-dismissible fade show mb-0" role="alert">
        <strong>You’re All Set!</strong> The changes were saved without any issues.
        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
    </div>
    <div class="alert alert-outline-danger alert-dismissible fade show mb-0" role="alert">
        <strong>Critical Error!</strong> Something went wrong. Contact support if this continues.
        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
    </div>
    <div class="alert alert-border-warning alert-dismissible fade show mb-0" role="alert">
        <strong>Password Expiring!</strong> Update your password to keep your account secure.
        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
    </div>
    <div class="alert alert-solid-info alert-dismissible fade show mb-0" role="alert">
        <strong>Upcoming Changes:</strong> Some features may be unavailable during the update.
        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
    </div>

Theme Customization

###### Layout:

##### Vertical

##### Horizontal

##### Semi Box

###### Content Width:

##### Default

##### Box

###### Layout Direction:

##### LTR

##### RTL

###### Layout Mode:

##### Light

##### Dark

##### System

###### Sidebar Size:

##### Default

##### Medium

##### Icon

##### Icon hover

###### Sidebar Color:

##### Light

##### Dark