Getting Started
With AmpereUI you can kickstart your next project in just seconds
Just you need to add this link tag to you html and you will be good to go.
<link rel="stylesheet" href="https://ampereui.netlify.app/ampereUI.css" /> |
AmpereUI uses unicon
icon for most of the places and
for some place it use fontawesome icon
. You can however
use any of these at any places as per your convinience.
AmpereUI sets the base font size to 10px
and hence
1rem = 10px
. This is helpful in making the typography
and spacing responsive. So we would suggest you to keep your style
sheet also in terms of 10px as the base size.
Colors
AmpereUI comes with 10 different colors
We provide you with 10 different colors namely black
,
pink
, red
, orange
,
yellow
, green
, teal
,
blue
, indigo
, purple
. Each
color comes with 6 shade namely red-1
,
red-2
and so on.
For background-color you can add the classes like
bg-red-1
, bg-red-2
and so on for all the
different colors.
For font-color you can add the classes like red-1
,
red-2
and so on for all the different colors.
Example of different color text using helper class
Red Text
Blue Text
Orange Text
Purple Text
<h4 class="h4 red-4">Red Text</h4> | |
<h4 class="h4 blue-4">Blue Text</h4> | |
<h4 class="h4 orange-4">Orange Text</h4> | |
<h4 class="h4 purple-4">Purple Text</h4> |
Example of same color text with different shade using helper class
Indigo - 1
Indigo - 2
Indigo - 3
Indigo - 4
Indigo - 5
Indigo - 6
<h4 class="h4 indigo-1">Indigo - 1</h4> | |
<h4 class="h4 indigo-2">Indigo - 2</h4> | |
<h4 class="h4 indigo-3">Indigo - 3</h4> | |
<h4 class="h4 indigo-4">Indigo - 4</h4> | |
<h4 class="h4 indigo-5">Indigo - 5</h4> | |
<h4 class="h4 indigo-6">Indigo - 6</h4> |
Example of different background color using helper class
<div class="box bg-black-1">black</div> | |
<div class="box bg-pink-1">pink</div> | |
<div class="box bg-red-1">red</div> | |
<div class="box bg-yellow-1">yellow</div> | |
<div class="box bg-orange-1">orange</div> | |
<div class="box bg-blue-1">blue</div> | |
<div class="box bg-purple-1">purple</div> | |
<div class="box bg-indigo-1">indigo</div> | |
<div class="box bg-teal-1">teal</div> | |
<div class="box bg-green-1">green</div> |
Example of red color with all 6 shades
<div class="box bg-red-1"></div> | |
<div class="box bg-red-2"></div> | |
<div class="box bg-red-3"></div> | |
<div class="box bg-red-4"></div> | |
<div class="box bg-red-5"></div> | |
<div class="box bg-red-6"></div> |
Example of red purple with all 6 shades
<div class="box bg-purple-1"></div> | |
<div class="box bg-purple-2"></div> | |
<div class="box bg-purple-3"></div> | |
<div class="box bg-purple-4"></div> | |
<div class="box bg-purple-5"></div> | |
<div class="box bg-purple-6"></div> |
Typography
Let's talk a little bit about typography
Typography play a very important role in making your site look
aesthetic and giving the taste of your product. AmpereUI gives a all
the necessary helper classes needed for typography including
alignemnt
, font-sizes
,
font-weight
, text-decoration
and so on.
Headings
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
<h1 class="h1">Hello World</h1> | |
<h2 class="h2">Hello World</h2> | |
<h3 class="h3">Hello World</h3> | |
<h4 class="h4">Hello World</h4> | |
<h5 class="h5">Hello World</h5> | |
<h6 class="h6">Hello World</h6> |
Font Weights
Black
Bold
Semi Bold
Medium
Regular
Light
<h4 class="h4 black">Black</h4> | |
<h4 class="h4 bold">Bold</h4> | |
<h4 class="h4 semi-bold">Semi Bold</h4> | |
<h4 class="h4 medium">Medium</h4> | |
<h4 class="h4 regular">Regular</h4> | |
<h4 class="h4 light">Light</h4> |
Text Alignments
Left Text
Lorem ipsum dolor sit amet consectetur adipisicing elit. Cupiditate libero autem excepturi adipisci nemo rem provident facere officia tenetur eaque?
Center Text
Lorem ipsum dolor sit amet consectetur adipisicing elit. Cupiditate libero autem excepturi adipisci nemo rem provident facere officia tenetur eaque?
Right Text
Lorem ipsum dolor sit amet consectetur adipisicing elit. Cupiditate libero autem excepturi adipisci nemo rem provident facere officia tenetur eaque?
<h3 class="h3 tx-center">Left Text</h3> | |
<p class="tx-16 tx-left"> | |
Lorem ipsum dolor sit amet consectetur adipisicing elit. Cupiditate libero | |
autem excepturi adipisci nemo rem provident facere officia tenetur eaque? | |
</p> | |
<h3 class="h3 tx-center">Center Text</h3> | |
<p class="tx-16 tx-center"> | |
Lorem ipsum dolor sit amet consectetur adipisicing elit. Cupiditate libero | |
autem excepturi adipisci nemo rem provident facere officia tenetur eaque? | |
</p> | |
<h3 class="h3 tx-center">Right Text</h3> | |
<p class="tx-16 tx-right"> | |
Lorem ipsum dolor sit amet consectetur adipisicing elit. Cupiditate libero | |
autem excepturi adipisci nemo rem provident facere officia tenetur eaque? | |
</p> |
Font Style
capitalize
LOWERCASE
uppercase
Strike Text
Underline
<h4 class="h4 tx-capitalize">capitalize</h4> | |
<h4 class="h4 tx-lowercase">LOWERCASE</h4> | |
<h4 class="h4 tx-uppercase">uppercase</h4> | |
<h4 class="h4 tx-strike">Strike Text</h4> | |
<h4 class="h4 tx-underline">Underline</h4> |
Text Sizes
12px text
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perspiciatis nisi distinctio obcaecati magnam, a laboriosam dignissimos vel repellendus ex nihil.
14px text
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perspiciatis nisi distinctio obcaecati magnam, a laboriosam dignissimos vel repellendus ex nihil.
16px text
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perspiciatis nisi distinctio obcaecati magnam, a laboriosam dignissimos vel repellendus ex nihil.
18px text
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perspiciatis nisi distinctio obcaecati magnam, a laboriosam dignissimos vel repellendus ex nihil.
20px text
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perspiciatis nisi distinctio obcaecati magnam, a laboriosam dignissimos vel repellendus ex nihil.
24px text
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perspiciatis nisi distinctio obcaecati magnam, a laboriosam dignissimos vel repellendus ex nihil.
<h4 class="h4">12px text</h4> | |
<p class="tx-12"> | |
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perspiciatis nisi | |
distinctio obcaecati magnam, a laboriosam dignissimos vel repellendus ex | |
nihil. | |
</p> | |
<h4 class="h4">14px text</h4> | |
<p class="tx-14"> | |
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perspiciatis nisi | |
distinctio obcaecati magnam, a laboriosam dignissimos vel repellendus ex | |
nihil. | |
</p> | |
<h4 class="h4">16px text</h4> | |
<p class="tx-16"> | |
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perspiciatis nisi | |
distinctio obcaecati magnam, a laboriosam dignissimos vel repellendus ex | |
nihil. | |
</p> | |
<h4 class="h4">18px text</h4> | |
<p class="tx-18"> | |
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perspiciatis nisi | |
distinctio obcaecati magnam, a laboriosam dignissimos vel repellendus ex | |
nihil. | |
</p> | |
<h4 class="h4">20px text</h4> | |
<p class="tx-20"> | |
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perspiciatis nisi | |
distinctio obcaecati magnam, a laboriosam dignissimos vel repellendus ex | |
nihil. | |
</p> | |
<h4 class="h4">24px text</h4> | |
<p class="tx-24"> | |
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perspiciatis nisi | |
distinctio obcaecati magnam, a laboriosam dignissimos vel repellendus ex | |
nihil. | |
</p> |
Spacing
Now it's time to take a look on spacing classes provided by the library.
About Margin
We provide all the necessary classes for padding
and
margin
.
The convention for margin
on all side is
m-auto
, m-0
, m-8
,
m-10
, m-16
, m-20
and
m-24
.
The convention for margin-left
on all side is
ml-auto
, ml-0
, ml-8
,
ml-10
, ml-16
, ml-20
and
ml-24
.
For margin-right
, the convetion is
mr-auto
and similar.
For margin-bottom
, the convetion is
mb-auto
and similar.
For margin-top
, the convetion is
mt-auto
and similar.
For margin-vertical
, the convetion is
mv-auto
and similar.
For margin-horizontal
, the convetion is
mh-auto
and similar.
Margin - Demo
Padding Demo
<div class="grid-component"> | |
<div class="spacing-box span-2"> | |
<h6 class="h6 spacing-box-content ml-10 mr-16">Margin - Demo</h6> | |
</div> | |
<div class="spacing-box span-2"> | |
<h6 class="h6 spacing-box-content pl-16">Padding Demo</h6> | |
</div> | |
</div> |
Avatars
Here are the examples of avatars with text.
You can simply add avatar
class to a div and write the
text you want on the avatar ,.e.g AZ
. We also provide
three variants for the avatars namely avatar-sm
,
avatar-md
and avatar-lg
for different
sizes as per your need.
For the image avatar you can simply add the
avatar
class on the image tag as hown in the below code
snippet. The size variation works with the image avatar too.




<!-- text avatar --> | |
<div class="avatar-text avatar-sm with-badge">AZ</div> | |
<div class="avatar-text avatar with-badge">AZ</div> | |
<div class="avatar-text avatar-md with-badge">AZ</div> | |
<div class="avatar-text avatar-lg with-badge">AZ</div> | |
<!-- image avatar --> | |
<img src="https://i.ibb.co/ftMCWW2/portrait-1.jpg" class="avatar avatar-sm"/> | |
<img src="https://i.ibb.co/ftMCWW2/portrait-1.jpg" class="avatar" /> | |
<img src="https://i.ibb.co/ftMCWW2/portrait-1.jpg" class="avatar avatar-md"/> | |
<img src="https://i.ibb.co/ftMCWW2/portrait-1.jpg" class="avatar avatar-lg"/> | |
Alerts
Here are the examples of alerts.
For the alert you can simply add the
alert
class in the div with icon of your choice as
shown in the below code snippet. In the icon you need to add the
class alert-icon
to make it work.
There are four types of alerts , a basic alert with class of
alert
, alert-primary
,
alert-warning
, alert-info
,
If you want small alert you can alert-sm
class to the
alert div and you will be good to go.
If you want to make alert with dismiss just add
alert-action
class to the icon and add the javascript
code from below.
<div class="alert alert-primary"> | |
This is primary alert | |
<i class="alert-icon uil uil-check"></i> | |
</div> | |
<div class="alert alert-warning"> | |
This is a warning alert | |
<i class="alert-icon uil uil-exclamation-circle"></i> | |
</div> | |
<div class="alert alert-info"> | |
This is an info alert | |
<i class="alert-icon uil uil-shield-exclamation"></i> | |
</div> | |
<div class="alert"> | |
This is an basic alert | |
<i class="alert-icon uil uil-times alert-action"></i> | |
</div> | |
<!-- small --> | |
<div class="alert alert-primary alert-sm"> | |
This is small primary alert | |
<i class="alert-icon uil uil-check"></i> | |
</div> | |
<div class="alert alert-warning alert-sm"> | |
This is a small warning alert | |
<i class="alert-icon uil uil-exclamation-circle"></i> | |
</div> | |
<div class="alert alert-info alert-sm"> | |
This is an small info alert | |
<i class="alert-icon uil uil-shield-exclamation"></i> | |
</div> | |
<div class="alert alert-sm"> | |
This is an small basic alert | |
<i class="alert-icon uil uil-times alert-action"></i> | |
</div> |
// * ----- js for alerts with dismiss ----- // | |
const alertDismiss = document.querySelectorAll(".alert-action"); | |
alertDismiss.forEach((item) => { | |
item.addEventListener("click", function (e) { | |
e.target.parentNode.style.display = "none"; | |
}); | |
}); |
Badges
Here are the examples of badges on icon.
We also offer badges on icon components where you can either put count on the badges of you can put some icon also in the badges. Take a look below.
You can also change the color of the badge by simply adding color and bg color classes of your choice to the badge.
<div class="badge-container"> | |
<i class="badge-icon uil uil-message"></i> | |
<i class="badge">5</i> | |
</div> | |
<div class="badge-container"> | |
<i class="badge-icon uil uil-envelope"></i> | |
<i class="badge">7+</i> | |
</div> | |
<div class="badge-container"> | |
<i class="badge-icon uil uil-upload"></i> | |
<i class="badge bg-orange-2 orange-6">3</i> | |
</div> | |
<div class="badge-container"> | |
<i class="badge-icon uil uil-shopping-bag"></i> | |
<i class="badge uil uil-exclamation-circle bg-pink-2 pink-6"></i> | |
</div> | |
<div class="badge-container"> | |
<i class="badge-icon uil-bell"></i> | |
<i class="badge bg-indigo-2 indigo-6">9+</i> | |
</div> |
Profile with badges
Here are the examples of profile with badges


Cards
Here are the examples of vertical card.

The world of Turtle
By Discovery
<div class="card-container"> | |
<img class="card-img-v" src="https://picsum.photos/1000" alt="" /> | |
<div class="content-container"> | |
<h2 class="card-title">The world of Turtle</h2> | |
<h2 class="card-subheading">By Discovery</h2> | |
<div class="bottom-container"> | |
<small class="pill yellow">Wildlife</small> | |
<button class="btn btn-text">Read</button> | |
</div> | |
</div> | |
</div> |
Here are the examples of vertical product card.

XBox Controller
$19.90
$29.90<div class="card-container"> | |
<div class="card-img-grid"> | |
<img | |
class="card-img img-with-icon" | |
src="https://picsum.photos/1000" | |
alt="" | |
/> | |
<i class="uil uil-heart card-icon icon-on-image"></i> | |
</div> | |
<div class="content-container"> | |
<h2 class="card-title">Roadster Blue Jeans</h2> | |
<div class="price-container"> | |
<h3 class="price-text">$19.90</h3> | |
<small class="cutout-price">$29.90</small> | |
</div> | |
<div class="bottom-container"> | |
<div class="rating-container"> | |
<i class="fa fa-star tx-20 yellow-4"></i> | |
<small class="rating-text">4.3 <span class="regular">(57)</span></small> | |
</div> | |
<small class="pill purple">NEW</small> | |
</div> | |
</div> | |
</div> |
Here are the examples of vertical card with dismiss.

Xbox Controller
$19.90
$29.90<div class="card-container"> | |
<div class="card-img-grid"> | |
<img | |
class="card-img img-with-icon" | |
src="https://picsum.photos/400" | |
alt="" | |
/> | |
<i class="uil uil-times card-icon icon-on-image"></i> | |
</div> | |
<div class="content-container"> | |
<h2 class="card-title">Roadster Blue Jeans</h2> | |
<div class="price-container"> | |
<h3 class="price-text">$19.90</h3> | |
<small class="cutout-price">$29.90</small> | |
</div> | |
<div class="bottom-container"> | |
<div class="rating-container"> | |
<i class="fa fa-star tx-20 yellow-4"></i> | |
<small class="rating-text">4.3 <span class="regular">(57)</span></small> | |
</div> | |
<small class="pill purple">NEW</small> | |
</div> | |
</div> | |
</div> |
Here are the examples of basic vertical card.

The World Of White Tiger
John Doe
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Dolore, architecto.
<div class="card-container"> | |
<img class="card-img" src="https://picsum.photos/2000" alt="" /> | |
<div class="content-container"> | |
<h2 class="card-title">Roadster Blue Jeans</h2> | |
<h3 class="card-subheading">Robert Maya</h3> | |
<p class="card-description"> | |
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Dolore, | |
architecto. | |
</p> | |
</div> | |
</div> |
Here are the examples of basic horizontal card.

The world of Turtle
By Discovery
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
<div class="card-container container-lg"> | |
<img class="card-img-lg" src="https://picsum.photos/500" alt="" /> | |
<div class="content-container"> | |
<h2 class="card-title">The world of Turtle</h2> | |
<h2 class="card-subheading">By Discovery</h2> | |
<p class="card-description"> | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit. | |
</p> | |
<div class="bottom-container"> | |
<button class="btn btn-text">Read</button> | |
<div class="icon-container"> | |
<i class="uil uil-heart card-icon"></i> | |
<i class="uil uil-message card-icon"></i> | |
<i class="uil uil-bookmark card-icon"></i> | |
</div> | |
</div> | |
</div> | |
</div> |
Here are the examples of horizontal product card.

Bose Headphone
$19.90
$29.90 NEW 10% OFLorem ipsum dolor sit amet consectetur adipisicing elit. Temporibus nisi unde mollitia iure impedit. Quos!
<div class="card-container container-lg"> | |
<div class="card-img-grid"> | |
<img | |
class="card-img card-img-lg img-with-icon" | |
src="https://picsum.photos/3000" | |
alt="" | |
/> | |
<i class="uil uil-heart card-icon icon-on-image"></i> | |
</div> | |
<div class="content-container"> | |
<div class="content-container"> | |
<h2 class="card-title">Roadster Blue Jeans</h2> | |
<div class="price-container"> | |
<h3 class="price-text">$19.90</h3> | |
<small class="cutout-price">$29.90</small> | |
<small class="pill purple tx-12">NEW</small> | |
<small class="pill green tx-12">10% OF</small> | |
</div> | |
<p class="card-description"> | |
Lorem ipsum dolor sit amet consectetur adipisicing elit. Temporibus nisi | |
unde mollitia iure impedit. Quos! | |
</p> | |
</div> | |
<div class="bottom-container"> | |
<div class="rating-container"> | |
<i class="fa fa-star tx-20 yellow-4"></i> | |
<small class="rating-text">4.3 <span class="regular">(57)</span></small> | |
</div> | |
<button class="btn btn-text"> | |
<i class="uil uil-shopping-cart-alt"></i> ADD TO CART | |
</button> | |
</div> | |
</div> | |
</div> |
Here are the examples of horizontal product card with text overlay.
<div class="grid-wrapper"> | |
<div class="card-container container-lg with-text-overlay"> | |
<div class="card-img-grid"> | |
<img | |
class="card-img img-with-icon" | |
src="https://picsum.photos/3000" | |
alt="" | |
/> | |
<i class="uil uil-heart card-icon icon-on-image"></i> | |
</div> | |
<div class="content-container"> | |
<div class="content-container"> | |
<h2 class="card-title">Roadster Blue Jeans</h2> | |
<div class="price-container"> | |
<h3 class="price-text">$19.90</h3> | |
<small class="cutout-price">$29.90</small> | |
<small class="pill purple tx-12">NEW</small> | |
<small class="pill green tx-12">10% OF</small> | |
</div> | |
<p class="card-description"> | |
Lorem ipsum dolor sit amet consectetur adipisicing elit. Temporibus | |
nisi unde mollitia iure impedit. Quos! | |
</p> | |
</div> | |
<div class="bottom-container"> | |
<div class="rating-container"> | |
<i class="fa fa-star tx-20 yellow-4"></i> | |
<small class="rating-text" | |
>4.3 <span class="regular">(57)</span></small | |
> | |
</div> | |
<button class="btn btn-text"> | |
<i class="uil uil-shopping-cart-alt"></i> ADD TO CART | |
</button> | |
</div> | |
</div> | |
</div> | |
<div class="text-overlay">OUT OF STOCKS</div> | |
</div> |
Here are the examples of horizontal text only card
The Road Not Taken
by Mobashir FarhanLorem ipsum dolor sit amet consectetur adipisicing elit. Temporibus nisi unde mollitia iure impedit. Quos!
<div class="card-container container-lg"> | |
<div class="content-container"> | |
<div class="content-container"> | |
<h2 class="card-title">The Road Not Taken</h2> | |
<small class="card-subheading">by Mobashir Farhan</small> | |
<p class="card-description"> | |
Lorem ipsum dolor sit amet consectetur adipisicing elit. Temporibus nisi | |
unde mollitia iure impedit. Quos! | |
</p> | |
</div> | |
<div class="price-container"> | |
<button class="btn btn-text">BOOKMARK</button> | |
<button class="btn btn-text">READ</button> | |
</div> | |
</div> | |
</div> |
Here are the examples of small horizontal card

The world of Turtle
By Discovery
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sunt quaerat qui illum.
<div class="card-container-horizontal"> | |
<img | |
class="card-img card-img-horizontal" | |
src="https://picsum.photos/2000" | |
alt="" | |
/> | |
<div class="content-container pd-10"> | |
<h2 class="card-title tx-20">The world of Turtle</h2> | |
<h2 class="card-subheading">By Discovery</h2> | |
<p class="card-description"> | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sunt quaerat qui | |
illum. | |
</p> | |
<div class="bottom-container"> | |
<button class="btn btn-text">Read</button> | |
<div class="icon-container"> | |
<i class="uil uil-heart card-icon"></i> | |
<i class="uil uil-message card-icon"></i> | |
<i class="uil uil-bookmark card-icon"></i> | |
</div> | |
</div> | |
</div> | |
</div> |
Here are the examples of small horizontal card

Roadster Blue Jeans
$19.90
$29.90<div class="card-container-horizontal"> | |
<img | |
class="card-img card-img-horizontal" | |
src="https://picsum.photos/2000" | |
alt="" | |
/> | |
<div class="content-container"> | |
<h2 class="card-title">Roadster Blue Jeans</h2> | |
<div class="price-container"> | |
<h3 class="price-text">$19.90</h3> | |
<small class="cutout-price">$29.90</small> | |
</div> | |
<div class="bottom-container"> | |
<div class="rating-container"> | |
<i class="fa fa-star tx-20 yellow-4"></i> | |
<small class="rating-text">4.3 <span class="regular">(57)</span></small> | |
</div> | |
<small class="pill orange tx-12">10% OFF</small> | |
<small class="pill purple tx-12">NEW</small> | |
</div> | |
</div> | |
</div> |
Here are the examples of small horizontal product card with dismiss

Bose Headphone
$19.90
$29.90<div class="card-container-horizontal"> | |
<img | |
class="card-img card-img-horizontal" | |
src="https://picsum.photos/2000" | |
alt="" | |
/> | |
<div class="content-container"> | |
<h2 class="card-title"> | |
Roadster Blue Jeans | |
<i class="uil uil-times tx-20 dismiss-icon"></i> | |
</h2> | |
<div class="price-container"> | |
<h3 class="price-text">$19.90</h3> | |
<small class="cutout-price">$29.90</small> | |
</div> | |
<div class="bottom-container"> | |
<div class="rating-container"> | |
<i class="fa fa-star tx-20 yellow-4"></i> | |
<small class="rating-text">4.3 <span class="regular">(57)</span></small> | |
</div> | |
<small class="pill orange tx-12">10% OFF</small> | |
<small class="pill purple tx-12">NEW</small> | |
</div> | |
</div> | |
</div> |
Here are the examples of small vertical product card for product listing

XBox Controller
Men Skinny Jeans
$19.90
$29.90<div class="card-container-small"> | |
<div class="card-img-grid"> | |
<img class="card-img img-with-icon" src="../assets/jeans-1.png" alt="" /> | |
<i class="uil uil-heart card-icon-small icon-on-image"></i> | |
</div> | |
<div class="content-container-small"> | |
<h2 class="card-title-small">XBox Controller</h2> | |
<h4 class="card-subtitle-small">Men Skinny Jeans</h4> | |
<div class="bottom-container"> | |
<div class="price-container"> | |
<h3 class="price-text-small">$19.90</h3> | |
<small class="cutout-price-small">$29.90</small> | |
</div> | |
<div class="rating-container"> | |
<i class="fa fa-star tx-16 yellow-4"></i> | |
<small class="rating-text-small">4.3</small> | |
</div> | |
</div> | |
<div class="pill-container"> | |
<small class="pill pill-sm orange">10% OFF</small> | |
<small class="pill pill-sm grey">HOT PICK</small> | |
</div> | |
<button class="btn btn-primary wp-100">Add to cart</button> | |
</div> | |
</div> |
Here are the examples of small vertical product for wishlist

XBox Controller
Men Skinny Jeans
$19.90
$29.90<div class="card-container-small"> | |
<div class="card-img-grid"> | |
<img class="card-img img-with-icon" src="../assets/jeans-1.png" alt="" /> | |
<i class="uil uil-times card-icon-small icon-on-image"></i> | |
</div> | |
<div class="content-container-small"> | |
<h2 class="card-title-small">XBox Controller</h2> | |
<h4 class="card-subtitle-small">Men Skinny Jeans</h4> | |
<div class="bottom-container"> | |
<div class="price-container"> | |
<h3 class="price-text-small">$19.90</h3> | |
<small class="cutout-price-small">$29.90</small> | |
</div> | |
<div class="rating-container"> | |
<i class="fa fa-star tx-16 yellow-4"></i> | |
<small class="rating-text-small">4.3</small> | |
</div> | |
</div> | |
<button class="btn btn-tertiary wp-100">Move to cart</button> | |
</div> | |
</div> |
Here are the examples of small horizontal product card with quantity buttons

Roadster Jeans
Men Skinny Jeans
$19.90
$29.90<div class="card-container-horizontal"> | |
<img | |
class="card-img card-img-horizontal" | |
src="../assets/jeans-1.png" | |
alt="" | |
/> | |
<div class="content-container pd-10"> | |
<h2 class="card-title tx-20">Roadster Jeans</h2> | |
<h2 class="card-subheading">Men Skinny Jeans</h2> | |
<div class="bottom-container"> | |
<div class="price-container"> | |
<h3 class="price-text-small">$19.90</h3> | |
<small class="cutout-price-small">$29.90</small> | |
</div> | |
<div class="rating-container"> | |
<i class="fa fa-star tx-16 yellow-4"></i> | |
<small class="rating-text-small">4.3</small> | |
</div> | |
</div> | |
<div class="qty-container"> | |
<button class="qty-btn"> | |
<i class="uil uil-minus"></i> | |
</button> | |
<div class="qty-display">2</div> | |
<button class="qty-btn"> | |
<i class="uil uil-plus"></i> | |
</button> | |
</div> | |
<div class="bottom-container"> | |
<button class="btn btn-text btn-sm">MOVE TO WISHLIST</button> | |
<button class="btn btn-text btn-sm">REMOVE</button> | |
</div> | |
</div> | |
</div> |
Images
Here are the examples responsive image
For the responsive image just add img-res
class to any
image tag. FOr round image add img-round
in the image
tag.
<!-- resposive image --> | |
<img src="https://picsum.photos/500" alt="" class="img-res" /> | |
<!-- round image --> | |
<img src="https://picsum.photos/500" alt="" class="img-res img-round" /> | |
Inputs
Here are the examples text fields
<!-- required --> | |
<label class="label label-required" for="text">Name </label> | |
<input type="text" class="text-input" required /> | |
<!-- basic with validation text --> | |
<div class="input-wrapper"> | |
<label class="label" for="text">Email </label> | |
<input type="email" class="text-input" /> | |
<small class="validation-message red-5" | |
><i class="uil uil-exclamation-circle"></i>Please enter the fields | |
correctly</small | |
> | |
</div> | |
<!-- readonly --> | |
<input type="text" class="text-input" value="Readonly" readonly /> | |
<!-- disabled --> | |
<input type="text" class="text-input" value="Disabled" disabled /> |
Here are the radio buttons,checbox, and range component
<form action="" class="form-group"> | |
<div class="slide-container"> | |
<h5 class="form-group-heading">Price Range</h5> | |
<input | |
type="range" | |
min="1" | |
max="100" | |
value="10" | |
class="slider" | |
id="myRange" | |
/> | |
</div> | |
<div class="radio-checkbox-container"> | |
<h5 class="form-group-heading">Themes</h5> | |
<label class="radio-checkbox-label" for="party"> | |
<input type="radio" id="party" name="theme" value="party" /> | |
Party</label | |
> | |
<label class="radio-checkbox-label" for="traditional"> | |
<input type="radio" id="traditional" name="theme" value="traditional" /> | |
Traditional</label | |
> | |
<label class="radio-checkbox-label" for="western"> | |
<input type="radio" id="western" name="theme" value="western" /> | |
Western</label | |
> | |
</div> | |
<div class="radio-checkbox-container"> | |
<h5 class="form-group-heading">Colors</h5> | |
<label class="radio-checkbox-label" for="red"> | |
<input type="checkbox" name="color" id="red" value="red" /> | |
Red</label | |
> | |
<label class="radio-checkbox-label" for="blue"> | |
<input type="checkbox" name="color" id="blue" value="blue" /> | |
Blue</label | |
> | |
<label class="radio-checkbox-label" for="black"> | |
<input type="checkbox" name="color" id="black" value="black" /> | |
Black</label | |
> | |
</div> | |
</form> |
Text Utilities
Here are the examples text utilities
Heading H1
Heading H2
Heading H3
Heading H4
Heading H5
Heading H6
Center text
Lorem ipsum dolor sit amet consectetur adipisicing elit. Porro quod harum a accusantium autem quam sapiente sit? Quos, praesentium doloremque.
Left text
Lorem ipsum dolor sit amet consectetur adipisicing elit. Porro quod harum a accusantium autem quam sapiente sit? Quos, praesentium doloremque.
Right text
Lorem ipsum dolor sit amet consectetur adipisicing elit. Porro quod harum a accusantium autem quam sapiente sit? Quos, praesentium doloremque.
This is bold text
This is semi bold text
This is medium text
This is regular text
This is light text
<h1 class="h1">Heading H1</h1> | |
<h2 class="h2">Heading H2</h2> | |
<h3 class="h3">Heading H3</h3> | |
<h4 class="h4">Heading H4</h4> | |
<h5 class="h5">Heading H5</h5> | |
<h6 class="h6">Heading H6</h6> | |
<p class="tx-20 bold">This is bold text</p> | |
<p class="tx-20 semi-bold">This is semi bold text</p> | |
<p class="tx-20 medium">This is medium text</p> | |
<p class="tx-20">This is regular text</p> | |
<p class="tx-20 light">This is light text</p> |
Lists
Here are the example of lists
We offer three types of list , a basic stacked no bullet list, a no
bulleted list with icon which is unicon
by default. It
also comes with a inline spaced list.
- Item 1
- Item 2
- Item 3
List title
- Item 1
- Item 2
- Item 3
List title
- Item 1
- Item 2
- Item 3
<ul class="no-bullet-list"> | |
<h1 class="h4 list-title">List title</h1> | |
<li>Item 1</li> | |
<li>Item 2</li> | |
<li>Item 3</li> | |
</ul> | |
<ul class="no-bullet-list"> | |
<h1 class="h4 list-title">List title</h1> | |
<li><i class="uil uil-envelope"></i> Item 1</li> | |
<li><i class="uil uil-upload"></i> Item 2</li> | |
<li><i class="uil uil-heart"></i> Item 3</li> | |
</ul> | |
<ul class="spaced-list"> | |
<li><i class="uil uil-envelope"></i> Item 1</li> | |
<li><i class="uil uil-upload"></i> Item 2</li> | |
<li><i class="uil uil-heart"></i> Item 3</li> | |
</ul> |
Modal
Here is the example of modal
Are you sure ?
Do you really want to delete ?
<div class="modal-container"> | |
<h1 class="h4 black-6">Are you sure ?</h1> | |
<p class="tx-14 medium black-5">Do you really want to delete ?</p> | |
<div class="modal-button-container"> | |
<button class="btn btn-text">Cancel</button> | |
<button class="btn btn-text">OK</button> | |
</div> | |
</div> |
Rating
Here is the example of rating component
By default the star style is grey. If you want to add the active
style add the star-active
class to thei tag containing
the star icon.
<div class="rating-wrapper"> | |
<div class="rating-header"> | |
<h1 class="h4 tx-center black-6">Rate Us</h1> | |
<p class="tx-14 black-4 tx-center"> | |
Leave your rating for us to make your experience better in the future | |
</p> | |
</div> | |
<div class="star-container"> | |
<i class="star star-active fas fa-star"></i> | |
<i class="star star-active fas fa-star"></i> | |
<i class="star star-active fas fa-star"></i> | |
<i class="star fas fa-star"></i> | |
<i class="star fas fa-star"></i> | |
</div> | |
<button class="btn btn-primary">Submit</button> | |
</div> |
Toast
Here is the example of toast
Toast comes with without action button as well as with action button. It has four variation basic toast, success toast, warning toast, and info toast and all are fullt configurable where you can use any icon of your own choice and add or remove action button. For the dismissal of toast add the js code from the below.
// * ----- js for toast ----- // | |
const toastCloseButton = document.querySelectorAll(".close-btn"); | |
toastCloseButton.forEach((btn) => { | |
btn.addEventListener("click", (e) => { | |
e.target.parentNode.parentNode.style.display = "none"; | |
}); | |
}); |
For positioning of the toast you can add the following classes
namely top-left
, top-right
,
bottom-right
, bottom-right
.
Message not sent
Your message has not been sent
Successful
You can now check your mail
Request failed
Please try agian after sometime.
Request failed
Please try agian after sometime.
<!-- basic toaast with action button --> | |
<div class="toast"> | |
<i class="uil uil-heart toast-icon"></i> | |
<div class="toast-body"> | |
<h5 class="toast-title">Message not sent</h5> | |
<p class="toast-text">Your message has not been sent</p> | |
<button class="toast-btn">RETRY</button> | |
</div> | |
<button class="close-btn"><i class="uil uil-times"></i></button> | |
</div> | |
<!-- success toast --> | |
<div class="toast toast-success"> | |
<i class="uil uil-check toast-icon"></i> | |
<div class="toast-body"> | |
<h5 class="toast-title">Successful</h5> | |
<p class="toast-text">You can now check your mail</p> | |
</div> | |
<button class="close-btn"><i class="uil uil-times"></i></button> | |
</div> | |
<!-- danger toast --> | |
<div class="toast toast-danger"> | |
<i class="uil uil-exclamation-circle toast-icon"></i> | |
<div class="toast-body"> | |
<h5 class="toast-title">Request failed</h5> | |
<p class="toast-text">Please try agian after sometime.</p> | |
</div> | |
<button class="close-btn"><i class="uil uil-times"></i></button> | |
</div> | |
<!-- info toast --> | |
<div class="toast toast-info"> | |
<i class="uil uil-shield-exclamation toast-icon"></i> | |
<div class="toast-body"> | |
<h5 class="toast-title">Request failed</h5> | |
<p class="toast-text">Please try agian after sometime.</p> | |
</div> | |
<button class="close-btn"> | |
<i class="uil uil-times"></i> | |
</button> | |
</div> |
Grid
Here is the example of grid system
We offer a very basic 4 column grid system where your simply give
the grid-component
class to the parent and you get a 4
column grid.
Now in order to make your children take space according to you, your
can add the children with classes like span-2
to take
space of two children, span-3
, for three children and
span-4
for all the four children.
Below is the example of all the use case possible with our 4 column grid.
<div class="grid-component"> | |
<div class="grid-item">1</div> | |
<div class="grid-item">2</div> | |
<div class="grid-item">3</div> | |
<div class="grid-item">4</div> | |
<!-- spanning two by two column --> | |
<div class="grid-item span-2">5</div> | |
<div class="grid-item span-2">6</div> | |
<!-- spanning 3 by 2 column --> | |
<div class="grid-item span-3">7</div> | |
<div class="grid-item">8</div> | |
<!-- spanning 4 column --> | |
<div class="grid-item span-4">9</div> | |
</div> |
For a responsive 4 column grid add the class
grid-component-responsive
to the parent and when the
screen size become smaller it will become a 2-column grid.
<div class="grid-component-responsive"> | |
<div class="grid-item">1</div> | |
<div class="grid-item">2</div> | |
<div class="grid-item">3</div> | |
<div class="grid-item">4</div> | |
</div> |
For a stacked 4 column grid add the class
grid-component-stacked
to the parent and when the
screen size become smaller it will become a stacked