Documentation v8.0.12

Overview

Metronic  customizes the Bootstrap Alerts  through creative use of Bootstrap utilities and with handpicked icons.

Basic Example

Use .alertwith .alert-{color}classes to set the alert's style defined with $theme-colorsmapped in src/sass/_variables.scss:
This is an alert
The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert
The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert
The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert
The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert
The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert
The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert
The alert component can be used to highlight certain parts of your page for higher content visibility.
<!--begin::Alert-->
<div class="alert alert-primary">
    <!--begin::Icon-->
    <span class="svg-icon svg-icon-2hx svg-icon-primary me-3">...</span>
    <!--end::Icon-->

    <!--begin::Wrapper-->
    <div class="d-flex flex-column">
        <!--begin::Title-->
        <h5 class="mb-1">This is an alert</h5>
        <!--end::Title-->
        <!--begin::Content-->
        <span>The alert component can be used to highlight certain parts of your page for higher content visibility.</span>
        <!--end::Content-->
    </div>
    <!--end::Wrapper-->
</div>
<!--end::Alert-->

Solid Colors

Use .alertwith .bg-{color}classes to set the alert's style with a solid color. Please refer to our Theme colorsfor more info.
Add the class .alert-dismissibleto the parent .alertwrapper and data-bs-dismiss="alert"to the close button to allow dismissing alerts. Please take note of the HTML markup sample below for all required responsive classes.
This is an alert
The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert
The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert
The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert
The alert component can be used to highlight certain parts of your page for higher content visibility.
<!--begin::Alert-->
<div class="alert alert-dismissible bg-primary d-flex flex-column flex-sm-row p-5 mb-10">
    <!--begin::Icon-->
    <span class="svg-icon svg-icon-2hx svg-icon-light me-4 mb-5 mb-sm-0">...</span>
    <!--end::Icon-->

    <!--begin::Wrapper-->
    <div class="d-flex flex-column text-light pe-0 pe-sm-10">
        <!--begin::Title-->
        <h5 class="mb-1">This is an alert</h5>
        <!--end::Title-->
        <!--begin::Content-->
        <span>The alert component can be used to highlight certain parts of your page for higher content visibility.</span>
        <!--end::Content-->
    </div>
    <!--end::Wrapper-->

    <!--begin::Close-->
    <button type="button" class="position-absolute position-sm-relative m-2 m-sm-0 top-0 end-0 btn btn-icon ms-sm-auto" data-bs-dismiss="alert">
        <span class="svg-icon svg-icon-2x svg-icon-light">...</span>
    </button>
    <!--end::Close-->
</div>
<!--end::Alert-->

Light Colors

Use .alertwith .bg-light-{color}classes to set the alert's style with a light color. Please refer to our Theme colorsfor more info.
Add the class .alert-dismissibleto the parent .alertwrapper and data-bs-dismiss="alert"to the close button to allow dismissing alerts. Please take note of the HTML markup sample below for all required responsive classes.
This is an alert The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert The alert component can be used to highlight certain parts of your page for higher content visibility.
<!--begin::Alert-->
<div class="alert alert-dismissible bg-light-primary d-flex flex-column flex-sm-row p-5 mb-10">
    <!--begin::Icon-->
    <span class="svg-icon svg-icon-2hx svg-icon-primary me-4 mb-5 mb-sm-0">...</span>
    <!--end::Icon-->

    <!--begin::Wrapper-->
    <div class="d-flex flex-column pe-0 pe-sm-10">
        <!--begin::Title-->
        <h5 class="mb-1">This is an alert</h5>
        <!--end::Title-->
        <!--begin::Content-->
        <span>The alert component can be used to highlight certain parts of your page for higher content visibility.</span>
        <!--end::Content-->
    </div>
    <!--end::Wrapper-->

    <!--begin::Close-->
    <button type="button" class="position-absolute position-sm-relative m-2 m-sm-0 top-0 end-0 btn btn-icon ms-sm-auto" data-bs-dismiss="alert">
        <span class="svg-icon svg-icon-1 svg-icon-primary">...</span>
    </button>
    <!--end::Close-->
</div>
<!--end::Alert-->

Border Examples

Use .alertwith .bg-light-{color}and .borderclasses to set the alert's style with borders. Please refer to our Theme colorsand Bordersfor more info.
Add the class .alert-dismissibleto the parent .alertwrapper and data-bs-dismiss="alert"to the close button to allow dismissing alerts. Please take note of the HTML markup sample below for all required responsive classes.
This is an alert with a basic border
The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert with a dashed border
The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert with a thick border
The alert component can be used to highlight certain parts of your page for higher content visibility.
This is an alert with a thick dashed border
The alert component can be used to highlight certain parts of your page for higher content visibility.
<!--begin::Alert-->
<div class="alert alert-dismissible bg-light-primary border border-primary d-flex flex-column flex-sm-row p-5 mb-10">
    <!--begin::Icon-->
    <span class="svg-icon svg-icon-2hx svg-icon-primary me-4 mb-5 mb-sm-0">...</span>
    <!--end::Icon-->

    <!--begin::Wrapper-->
    <div class="d-flex flex-column pe-0 pe-sm-10">
        <!--begin::Title-->
        <h5 class="mb-1">This is an alert</h5>
        <!--end::Title-->
        <!--begin::Content-->
        <span>The alert component can be used to highlight certain parts of your page for higher content visibility.</span>
        <!--end::Content-->
    </div>
    <!--end::Wrapper-->

    <!--begin::Close-->
    <button type="button" class="position-absolute position-sm-relative m-2 m-sm-0 top-0 end-0 btn btn-icon ms-sm-auto" data-bs-dismiss="alert">
        <i class="bi bi-x fs-1 text-primary"></i>
    </button>
    <!--end::Close-->
</div>
<!--end::Alert-->

Rich Content Example

Here's a sample of an alert with rich content elements inside it. Please take note of the HTML markup sample below for all required classes.
This is an alert
The alert component can be used to highlight certain parts of your page for higher content visibility.
Please read our Terms and Conditionsfor more info.
<!--begin::Alert-->
<div class="alert alert-dismissible bg-light-danger d-flex flex-center flex-column py-10 px-10 px-lg-20 mb-10">
    <!--begin::Close-->
    <button type="button" class="position-absolute top-0 end-0 m-2 btn btn-icon btn-icon-danger" data-bs-dismiss="alert">
        <span class="svg-icon svg-icon-1">...</span>
    </button>
    <!--end::Close-->

    <!--begin::Icon-->
    <span class="svg-icon svg-icon-5tx svg-icon-danger mb-5">...</span>
    <!--end::Icon-->

    <!--begin::Wrapper-->
    <div class="text-center">
        <!--begin::Title-->
        <h5 class="fw-bolder fs-1 mb-5">This is an alert</h5>
        <!--end::Title-->

        <!--begin::Separator-->
        <div class="separator separator-dashed border-danger opacity-25 mb-5"></div>
        <!--end::Separator-->

        <!--begin::Content-->
        <div class="mb-9">
            The alert component can be used to highlight certain parts of your page for <strong>higher content visibility</strong>.<br/>
            Please read our <a href="#" class="fw-bolder me-1">Terms and Conditions</a> for more info.
        </div>
        <!--end::Content-->

        <!--begin::Buttons-->
        <div class="d-flex flex-center flex-wrap">
            <a href="#" class="btn btn-outline btn-outline-danger btn-active-danger m-2">Cancel</a>
            <a href="#" class="btn btn-danger m-2">Ok, I got it</a>
        </div>
        <!--end::Buttons-->
    </div>
    <!--end::Wrapper-->
</div>
<!--end::Alert-->

Activity Logs

There are 2 new tasks for you in “AirPlus Mobile APp” project:
Added at 4:23 PM by
img
Meeting with customer
Application Design
img
img
A
In Progress
View
Project Delivery Preparation
CRM System Development
img
B
Completed
View
Invitation for crafting engaging designs that speak human workshop
Sent at 4:23 PM by
img
Task #45890merged with #45890in “Ads Pro Admin Dashboard project:
Initiated at 4:23 PM by
img
3 new application design concepts added:
Created at 4:23 PM by
img
New case #67890is assigned to you in Multi-platform Database Design project
Added at 4:23 PM by
Alice Tan
You have received a new order:
Placed at 5:05 AM by
img

Database Backup Process Completed!

Login into Metronic Admin Dashboard to make sure the data integrity is OK
Proceed
New order #67890is placed for Workshow Planning & Budget Estimation
Placed at 4:23 PM by
Jimmy Bold
Pic
Brian Cox 2 mins
How likely are you to recommend our company to your friends and family ?
5 mins You
Pic
Hey there, we’re just writing to let you know that you’ve been subscribed to a repository on GitHub.
Pic
Brian Cox 1 Hour
Ok, Understood!
2 Hours You
Pic
You’ll receive notifications for all issues, pull requests!
Pic
Brian Cox 3 Hours
You can unwatch this repository immediately by clicking here: Keenthemes.com
4 Hours You
Pic
Most purchased Business courses during this sale!
Pic
Brian Cox 5 Hours
Company BBQ to celebrate the last quater achievements and goals. Food and drinks provided
Just now You
Pic
Pic
Brian Cox Just now
Right before vacation season we have the next Big Deal for you.

Explore Metronic

Demo1

Demo2

demo
Coming soon

Demo3

demo
Coming soon

Demo4

demo
Coming soon

Demo5

Demo6

demo
Coming soon

Demo7

demo
Coming soon

Demo8

demo
Coming soon

Demo9

demo
Coming soon

Demo10

demo
Coming soon

Demo11

demo
Coming soon

Demo12

demo
Coming soon

Demo13

demo
Coming soon

Demo14

demo
Coming soon

Demo15

demo
Coming soon