## Alert

Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.

Alerts on Bootstrap

#### Alert Subtle Examples

    <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 primary alert—check it out!</div>
    <div class="alert alert-subtle-success" role="alert">A simple primary alert—check it out!</div>
    <div class="alert alert-subtle-danger" role="alert">A simple primary alert—check it out!</div>
    <div class="alert alert-subtle-warning" role="alert">A simple primary alert—check it out!</div>
    <div class="alert alert-subtle-info" role="alert">A simple primary alert—check it out!</div>

A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!

#### Alert Outline Examples

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

A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!

#### Phoenix Alert Examples

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

A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!

#### Solid Alert Examples

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

A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!
A simple primary alert—check it out!

#### Alerts with icon

    <div class="alert alert-outline-warning d-flex align-items-center" role="alert">
      <span class="fas fa-info-circle text-warning fs-5 me-3"></span>
      <p class="mb-0 flex-1">A simple primary alert—check it out!</p>
      <button class="btn-close" type="button" data-bs-dismiss="alert" aria-label="Close"></button>
    </div>
    <div class="alert alert-outline-success d-flex align-items-center" role="alert">
      <span class="fas fa-check-circle text-success fs-5 me-3"></span>
      <p class="mb-0 flex-1">A simple primary alert—check it out!</p>
      <button class="btn-close" type="button" data-bs-dismiss="alert" aria-label="Close"></button>
    </div>
    <div class="alert alert-outline-danger d-flex align-items-center" role="alert">
      <span class="fas fa-times-circle text-danger fs-5 me-3"></span>
      <p class="mb-0 flex-1">A simple danger alert—check it out!</p>
      <button class="btn-close" type="button" data-bs-dismiss="alert" aria-label="Close"></button>
    </div>

A simple primary alert—check it out!

A simple primary alert—check it out!

A simple danger alert—check it out!

#### Additional Content

    <div class="alert alert-subtle-success" role="alert">
      <h4 class="alert-heading fw-semibold">Well done!</h4>
      <p>Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.</p>
      <hr class="bg-body-tertiary" />
      <p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>
    </div>

#### Well done!

Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.

Whenever you need to, be sure to use margin utilities to keep things nice and tidy.

#### Dismissing

    <div class="alert alert-subtle-warning alert-dismissible fade show" role="alert">
      <strong>Holy guacamole!</strong> You should check in on some of those fields below.
      <button class="btn-close" type="button" data-bs-dismiss="alert" aria-label="Close"></button>
    </div>

Holy guacamole! You should check in on some of those fields below.

##### On this page

##### Demo widget

I need help with something

I can’t reorder a product I previously ordered

How do I place an order?

My payment method not working

##### Eric

Ask us anything – we’ll get back to you here or by email within 24 hours.

##### Theme Customizer

Explore different styles according to your preferences

##### Color Scheme

Light
Dark
Auto

##### RTL

Change text direction

##### Support Chat

Toggle support chat

##### Navigation Type

Vertical
Horizontal
Combo
Dual nav

##### Vertical Navbar Appearance

Default Default
Darker Lighter

##### Horizontal Navbar Shape

Default
Slim

##### Horizontal Navbar Appearance

Default
Darker Lighter
Purchase template
customize