Alert

Alerts are used to provide important information to user.

Alert with text, link and icon.

There are five types of alert: primary, secondary, success, warning and error. Refer to code snippet below to get the desired alert.

A simple primary alert—check it out!
A simple secondary alert with— an example link
check_circle An example success alert with an icon
warning An example warning alert with an icon
error An example danger alert with an icon

Alert with dismiss button.

Alert can have dismiss button to close it. Refer to code snippet.

A simple primary alert—check it out!
close

Javascript code


Avatar

Avatar is used to show profile photo.

Image Avatar

Avatar have four sizes: small, medium, large and x-large. Refer to code snippet to get the desired avatar size.

avatar
avatar
avatar
avatar

Text Avatar

Text avatar is used to show users initials if profile photo is not provided. Just like avatar, text avatar have four sizes: small, medium, large and x-large. Refer to code snippet to get the desired size.

PD
PD
PD
PD

Badge

Badge is used to display user status information or notification count.

Badge on Icon

Badge on icon is used to show the count. Refer to code snippet.

home 5
shopping_cart 5
notifications 5

Badge on Avatar

Badge on avatar is used to show user status: online or offline. Refer to code snippet.

avatar
avatar
avatar
avatar

Button

Buttons are also called as call to action. It is used to perform some function.

Primary & link button

There are three types of button primary solid, outline and simple link button. Refer to code to use desired button.

Icon button

You can use icon with button as follows

Floating action button

Floating action button is fixed to screen to perform some function like create a post, scroll to top etc.


Card

A card is container for a few short, related pieces of information.

Cards with badges and dismiss

The below cards have best seller badge and a dismiss button.

product-image Best seller

The Psychology of Money

favorite

by Morgan Housel

₹240

₹399

save ₹159 (40%)

shopping_cart Add to cart
product-image close

The Intelligent Investor

favorite

by Benjamin Graham

₹400

₹499

save ₹99 (25%)

shopping_cart Add to cart

Cards with text overlay and text only card

The below cards have text overlay effect and text only card

Out of stock
product-image Best seller

The Psychology of Money

favorite

by Morgan Housel

₹240

₹399

save ₹159 (40%)

shopping_cart Add to cart

The Intelligent Investor

favorite

by Benjamin Graham

₹400

₹499

save ₹99 (25%)

Read more

Horizontal Card

The below cards are in horizontal format.

product-image

The Psychology of Money

favorite

by Morgan Housel

₹400

₹499

save ₹99 (25%)

shopping_cart Add to cart
product-image

The Intelligent Investor

favorite

by Benjamin Graham

₹240

₹399

save ₹159 (40%)

shopping_cart Add to cart

Grid

Grid is used to align elements into columns and rows.

Grid-2

Grid two column layout is used to display elements side by side in a single row.

box 1
box 2

Grid-3

Grid three column layout is used to display three elements in a single row.

box 1
box 2
box 3

Image

Images can be responsive to fit the parent's width, and also can be customised to be round shaped

Responsive image

You can add class img-responsive to make image responsive.

responsive-image

Round image

You can have round image using img-round class.

round-image

Input

Inputs are used to get the data from user.

Inputs with validation and error style

Below are the input styles for error validation

check_circle error
Error
check_circle error
Error

Javascript code


Lists

Lists are used to group together related pieces of information so they are clearly associated with each other and easy to read.

Spaced list

Spaced list is used to display list in same line for eg. navigation menu.

  • List item 1
  • List item 2
  • List item 3

Stacked list

Stacked list is used in notification section.

  • List title 1

    Some text for information

  • List title 2

    Some text for information

  • List title 3

    Some text for information


Modal

A modal is a dialog box/popup window that is displayed on top of the current page.

Modal demo

Javascript code

Navigation

Navigation menu is used at top of the webiste for user to navigate to different pages.

Desktop (Simple)

Desktop navigation have logo or title on left side and page links on right side.

Rating

Ratings are used to rate the product or service. There are two types of rating: user rating and badge rating.

star star star star star
3 star | 10

Text utilities

Below are the text utilities style

Headings

There are six heading styles. Refer the code below

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5

Small text, gray text

Small text and gray text is used for secondary or less important information

This large size pragraph

This medium size pragraph

This small size pragraph

This large size pragraph with gray text

This medium size pragraph with gray text

This small size pragraph with gray text

Text with alignments

To align the text add text-center, text-left, text-right class to wrapper element.

Text align center

Text align left

Text align right

Toast

Toast is used to push notifications to users.

Added to cart close

Toast demo

Added to cart close

Javascript code

arrow_upward