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-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>

Alert Outline Examples

<div class="alert alert-outline-primary" 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>

Phoenix Alert Examples

<div class="alert alert-phoenix-primary" 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>

Solid Alert Examples

<div class="alert alert-primary" 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>

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>

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>

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>

Thank you for creating with Phoenix|
2024 ©Themewagon

v1.18.0

Theme Customizer

Explore different styles according to your preferences

Color Scheme
RTL

Change text direction

Support Chat

Toggle support chat

Navigation Type
Vertical Navbar Appearance
Horizontal Navbar Shape
Horizontal Navbar Appearance
Purchase template
customize