Alerts are used to provide important information to user.
There are five types of alert: primary, secondary, success, warning and error. Refer to code snippet below to get the desired alert.
Alert can have dismiss button to close it. Refer to code snippet.
Avatar is used to show profile photo.
Avatar have four sizes: small, medium, large and x-large. Refer to code snippet to get the desired avatar size.
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.
Badge is used to display user status information or notification count.
Badge on icon is used to show the count. Refer to code snippet.
Badge on avatar is used to show user status: online or offline. Refer to code snippet.
Buttons are also called as call to action. It is used to perform some function.
There are three types of button primary solid, outline and simple link button. Refer to code to use desired button.
You can use icon with button as follows
Floating action button is fixed to screen to perform some function like create a post, scroll to top etc.
A card is container for a few short, related pieces of information.
The below cards have best seller badge and a dismiss button.
The below cards have text overlay effect and text only card
The below cards are in horizontal format.
Grid is used to align elements into columns and rows.
Grid two column layout is used to display elements side by side in a single row.
Grid three column layout is used to display three elements in a single row.
Images can be responsive to fit the parent's width, and also can be customised to be round shaped
You can add class img-responsive to make image responsive.
You can have round image using img-round class.
Inputs are used to get the data from user.
Below are the input styles for error validation
Lists are used to group together related pieces of information so they are clearly associated with each other and easy to read.
Spaced list is used to display list in same line for eg. navigation menu.
Stacked list is used in notification section.
Some text for information
Some text for information
Some text for information
A modal is a dialog box/popup window that is displayed on top of the current page.
The Psychology of money is 50% off
Navigation menu is used at top of the webiste for user to navigate to different pages.
Desktop navigation have logo or title on left side and page links on right side.
Ratings are used to rate the product or service. There are two types of rating: user rating and badge rating.
Below are the text utilities style
There are six heading styles. Refer the code below
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
To align the text add text-center, text-left, text-right class to wrapper element.
Toast is used to push notifications to users.