Cool UI

Cool UI

Build beautiful web interfaces by using Cool UI. It is user-friendly, customizable and it has powerful utility classes.

How To Use

Copy and paste the code given below in the <head> tag of your html document, above all other style sheets

How To Customize

Components can be easily customised. In order to override the base classes, users can add their own class to the pre-existing classes, and style them seperately.


Typography

Headings

There are five different headings present.You can use them using these classes - headline-xl,headline-lg,headline-md,headline-sm ,headline-xs

Headline 1

Headline 2

Headline 3

Headline 4

Headline 5

Paragraph Text

There are five different font sizes used for paragraphs.You can use them using these classes - text-xl,text-lg,text-md,text-sm ,text-xs

Paragraph 1

Paragraph 2

Paragraph 3

Paragraph 4

Paragraph 5

Gray Text

You can make your text color gray using text-gray class

Headline 2

Paragraph 2

Text Alignment

You can align text to left,center and right by using classes - text-left, text-center, text-right

Paragraph 2

Paragraph 2

Paragraph 2


Alert

An alert displays a short, important message in a way that attracts the user's attention without interrupting the user's task.

Alerts are available in 4 different types - primary, error/danger, success and warning

To use alerts, add the base class alert and add any one of the following classes for the different types - alert-primary, alert-danger, alert-success, alert-warning

Simple Alert

This is Primary Alert Example
This is Danger Alert Example
This is Success Alert Example
This is Warning Alert Example

Alert with Icons

This is Primary Alert with icon
This is Danger Alert with icon
This is Success Alert with icon
This is Warning Alert with icon

Outlined Alert with Icons

To use outlined alerts, add the base class alert-outlined and add any one of the following classes for the different types - alert-primary-outlined, alert-danger-outlined, alert-success-outlined, alert-warning-outlined

This is Primary outlined Alert with icon
This is Danger outlined Alert with icon
This is Success outlined Alert with icon
This is Warning outlined Alert with icon

Avatar

An avatar is an image used as a user's profile picture, usually in a circular shape. It is displayed on the user's profile information page.

Avatars are available in 4 different sizes - extra small (xs), small (sm), medium (md), large (lg) . To use the avatar , add any one of the following classes for the different sizes - avatar-lg, avatar-md, avatar-sm, avatar-xs

Image Avatars

avatar image
avatar image
avatar image
avatar image

Text Avatars

To use text avatars you have to add avatar-text class

VF
VF
VF
VF

Badge

A badge can display the number of notifications or the status of being online or offline.

Status Badges

Status badge is used to represent a user's status. The options are online (green), offline (grey), do not disturb (red), idle (yellow). The badges are available according to 4 avatar sizes - large (lg), medium (md) ,small (sm) and very small (xs).

avatar image
avatar image
avatar image
avatar image

Text Badges

We can add badges on headings and text

Heading with a badge4

Text with a badge4

Button Badges

Similar to text badges, we can add badges on buttons

Icon Badges

Icon Badges can be used to display the number of messages or notifications or items added in cart or wishlist.

5
5

Button

Buttons are the soul of an interactive web application. Buttons allow users to take actions, and make choices, with a single tap. Cool UI provides different types of buttons.

Solid Button

To use the solid button, add the base class btn and any of the following classes for the different types of buttons - btn-primary, btn-danger, btn-success

Large Button

Outlined Button

To use the outlined button, add the base classes btn and btn-outline and any of the following classes for the different types of buttons - btn-primary-outline, btn-danger-outline, btn-success-outline

Link Button

To use the link button, add the base class btn followed by class btn-link

Icon Button

To use the icon button, add the base class btn followed by class btn-icon

Icon Button with label

This is similar to icon button , we just add label here.

Floating Button

To use the floating button, add the base class btn followed by class btn-floating.


Card

Card are used to show user related data collectively, like product details.

You can copy and paste following codes to get different cards

Vertical Card

monitor image

Redgear Wired Gaming Headphones with RGB LED Effect

Rs. 1,790.00 Rs. 2,999.00
Save 40%

Horizontal Card

monitor image

LG 22 inch (55 cm) IPS Monitor

Rs. 7,999.00 Rs. 9,438.82
Save 18%
monitor image

LG 22 inch (55 cm) IPS Monitor

Rs. 7,999.00 Rs. 9,438.82
Save 18%
1

Card with Badge

badges on cards are generally used to display some critical info on top of the card.

Best Seller
monitor image

Redgear Wired Gaming Headphones with RGB LED Effect

Rs. 1,790.00 Rs. 2,999.00
Save 40%

Card with Dismiss

Cards with dismiss button can be closed by clicking on the close button.

monitor image

Redgear Wired Gaming Headphones with RGB LED Effect

Rs. 1,790.00 Rs. 2,999.00
Save 40%

Javascript code

Card with Shadow

To add box shadow , you can use any one of the following class - box-shadow-lg, box-shadow-md, box-shadow-sm

monitor image

Redgear Wired Gaming Headphones with RGB LED Effect

Rs. 1,790.00 Rs. 2,999.00
Save 40%

Card with text overlay

Cards with text overlay are used to indicate some important information to the user using text placed on top of the card.

monitor image

Redgear Wired Gaming Headphones with RGB LED Effect

Rs. 1,790.00 Rs. 2,999.00
Save 40%
Out of Stock

Text only card

Card header

Lorem, ipsum dolor sit amet consectetur adipisicing elit. Dolores, corrupti unde. Perspiciatis eos sunt temporibus nulla atque soluta saepe inventore necessitatibus dolorem aperiam alias placeat, eveniet quos sint nisi dignissimos!


Image

Responsive Image Components are used to display Images on websites, which are screen responsive. They expand upto the width of the container they are in.

Responsive Image

In order to make an image responsive simply add the class img-responsive which will make the image occupy 100% width of the parent container. If the screen size reduces, the image size will also reduce without affecting the aspect ratio.

scenary

Round Image

To use round images add classses img-responsive and rounded-full

tiger
squirrel

Input

Inputs are necessary for user interaction with the website. Inputs are used to take information from the user

Label Inputs

Passwords not matched. Try Again
Passwords matched


List

List groups are a flexible component for displaying a series of content like notifications drawer.

Spaced List

  • avatar image

    John Doe

    @johndoe

    Lorem, ipsum dolor sit amet consectetur adipisicing elit. Suscipit dolore earum ducimus quaerat perferendis natus itaque beatae quae et assumenda id quo eius facere, illum excepturi sapiente ipsam. Iste, quos.

  • avatar image

    John Doe

    @johndoe

    Lorem, ipsum dolor sit amet consectetur adipisicing elit. Suscipit dolore earum ducimus quaerat perferendis natus itaque beatae quae et assumenda id quo eius facere, illum excepturi sapiente ipsam. Iste, quos.

  • avatar image

    John Doe

    @johndoe

    Lorem, ipsum dolor sit amet consectetur adipisicing elit. Suscipit dolore earum ducimus quaerat perferendis natus itaque beatae quae et assumenda id quo eius facere, illum excepturi sapiente ipsam. Iste, quos.

Stacked List

  • avatar image

    John Doe

    @johndoe

    Lorem, ipsum dolor sit amet consectetur adipisicing elit. Suscipit dolore earum ducimus quaerat perferendis natus itaque beatae quae et assumenda id quo eius facere, illum excepturi sapiente ipsam. Iste, quos.

  • avatar image

    John Doe

    @johndoe

    Lorem, ipsum dolor sit amet consectetur adipisicing elit. Suscipit dolore earum ducimus quaerat perferendis natus itaque beatae quae et assumenda id quo eius facere, illum excepturi sapiente ipsam. Iste, quos.

  • avatar image

    John Doe

    @johndoe

    Lorem, ipsum dolor sit amet consectetur adipisicing elit. Suscipit dolore earum ducimus quaerat perferendis natus itaque beatae quae et assumenda id quo eius facere, illum excepturi sapiente ipsam. Iste, quos.



Grid

Grids are used to display content in columns on a website. They make the site look cleaner and more consistent.

Cool UI provides 4 types of grid layouts and they are responsive.

20-80 Grid layout

If you want to use any container as grid with 20%-80% layout then first add grid class to it followed by class grid-20-80 .

Column 1
Column 2

30-70 Grid layout

If you want to use any container as grid with 30%-70% layout then first add grid class to it followed by class grid-30-70.

Column 1
Column 2

50-50 ( 2 Column ) Grid layout

If you want to use any container as grid with 2 column layout then first add grid class to it followed by class grid-50-50.

Column 1
Column 2

3 column Grid layout

If you want to use any container as grid with 3 column layout then first add grid class to it followed by class grid-3-column.

Column 1
Column 2
Column 3

Rating


Toast

Toasts are basically notification messages that appear on the screen to inform the user about something. They disappear after a few seconds and also they can be closed using close button.

Added Successfully !
Try Again Later !
Added Successfully !
Try Again Later !

Javascript code


Slider

Sliders are used to define a particular range whose exact value is not important. Sliders can be used to control the sound in video player or filer the price in e-com website.

Simple Slider

sliders value can be set using min and max attribute of input element.Also we can read current value of slider using javascript

You selected 200

Javascript code

Styled Slider

We can style slider using css.

Slider with Icon

disabled Slider