Installation

To use Native UI to your projects, copy the given link below and paste it in the head tag of your html, above all other style sheets. And voila! Done.

Go ahead with the documentaion once you are ready with your stylesheet. To know about the styled components, their variations, read the documentaion

You can use both dark and light themes according to your need.

Import all the icons used via font-awesome


Alert

Alerts are used to provide contexual feedback messages. It displays in a virtual box that pops up on the screen.

Examples of Alert Bars

Alerts are available for any length of text, as well as an optional dismiss button. For proper styling, use any of the following.

To use this alert just use class name alert and also add the following class alert-primary alert-secondary alert-danger alert-success alert-warning (e.g.class="alert-box alert-primary")

A primary alert example.
A secondary alert example.
A success alert example.
A danger alert example.
A warning alert example.

Examples of Alert Bars with dismiss.

Alerts can also wait for the user to dismiss it.

To use this alert you just have to add a button with class btn-close and id alert-close-btn

A danger alert example

JavaScript


Avatar

The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.

Examples of Avatar with Image

The Avatar component comes in 5 sizes. For proper styling, use any of the following.

To use this avatar just use class name avatar and also add class according to avatar type: avatar-lg, avatar-md avatar-sm avatar-xs avatar-lg

avatar-img
avatar-img
avatar-img
avatar-img
avatar-img

Examples of Avatar with text.

Avatars can also have text instead of picture.

To use this avatar just add a following class to previous classes i.e. avatar-text

H

H

H

H

H


Badges

The Badge component is used to represent a user's status - online, offline etc. They can also be used to display a notification or cart count.

To use this badge component just use wrap the html in the div having a class named badge-component

Examples of Badges on Avatar

avatar-img
avatar-img
avatar-img
avatar-img
avatar-img

Examples of Bagde on icons.

To use this badge uou can copy html part from below code snippet.

2 4 5 10

Buttons

The Button component is used to trigger an action or event, such as submitting a form, opening a dialog, canceling an action, or performing a delete operation.

Examples of Primary Buttons

Primary actions, or things that we want the user to do as often as possible. Buttons that execute primary actions—primary buttons—should be as visible as possible.

Examples of Link Buttons

Dogs
Read Now
Super Saver Deals
Under 199
Brands
Grooming
Vet Consultation

Examples of Floating Buttons

Floating buttons are used to perfom a particular function for example talking to a customer care person, moving towards the top of the page etc.

Examples of Icon Buttons


Cards

A card is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options.

Examples of Card with Badges

Use to portray important information regarding what is being display on cards. Such as newBest Seller etc.

product NEW
Dear pet Blooming Yellow Dog Harness
Rs 299
product BEST SELLER
Dear pet Blooming Yellow Dog Harness
Rs 299

Example of Card with Dismiss

Native UI provides with dismiss option for cards too. Add the proper HTML code to use it.

product
Dear pet Blooming Yellow Dog Harness
Rs 299

JavaScript

Examples of Cards With Text Overlay

Disabled Cards are useful to depict a disable feature. For eg if the product if out of stock

, we can use them.
product
Dear pet Blooming Yellow Dog Harness
Rs 299
Out Of Stock

Examples of Text Only Cards and Shadow Cards

Cards with only textual information.

NATIVE PAWS: INDIA'S FIRST ONLINE PET SHOP


Native Paws is the name that visions to comfort pets and pet parents by catering the market of pet essentials. We aim to reach at every doorstep around the globe & serve our cuddle buddies the best quality products.

At Native Paws, you will find a flawless experience in searching for the right product for your pets.

Examples of Vertical Cards

Vertical cards provided by Native UI can be used for displaying products.

product
Dear pet Blooming Yellow Dog Harness
Rs 299

Examples of Horizontal Cards

Small devices, horizontal cards come to action.

product

Images

Images are an integral part of the content strategy of any website. They convey some important information without the need of textual content.

All the images are responsive.

Examples of Responsive Images

Images should show responsive behavior so they never become larger than their parent elements.

Use class: img-responsivewhich adds a max-width: 100% and height: auto

Examples of Round Images

Round or Cirular Images are used mainly for avatars or any image feature link.

Add a classimg-circularto the img tag to use this component.


Inputs and Forms

Inputs are the main component that is used for user's interaction with the web app. Inputs are used to take important information from the user, and then save the data.

Example of Textbox

Textboxes are used to collect more detailed information from the user, rather than just providing values or options.

Example of Input with validation and error

Validation for inputs is used to ensure that the user is not entering the false information or leaving the field empty.

A simple sign up/ log in form could look like this.

Invalid Email Address
Password Matches

Grids

Grids are very useful in arranging the content over the website hasle free.

Add class:

Add class: grid to the paren div. And add the following as per requiremene.

grid-20-80 , grid-3-col , grid-50-50 , grid-4-col

Example of 20-80 grid systm,

20%
80%

Example of three column grid system

Add class: grid-3-col to the paren div.

1fr
1fr
1fr

Example of 50-50 grid system

50%
50%

Example of four column grid system

1fr
1fr
1fr
1fr

Lists

Lists can be used at so many places, navigation bar, stacked notifications, article pages, etc. They can be nested or simple

Add class: list to the parent div. And add the following as per requirement.

list, list-disc, list-circle, list-decimal, list-triangle, list-roman, list-alpha

Example of Normal Lists

  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5
  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5
  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5
  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5
  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5
  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5
  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5
  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5
  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5

Example of Stacked Lists

Notifications


Liked Your Photo

Started Following You

Mentioned You




Ratings

Native's 5-star ratings component can be used to allow the users to share their opinion about the product, documentation page, photo and more.

Example of read-only ratings

Example of dynamic ratings


Slider

Sliders are used to decide range for something like sound in videos, price in shopping sites, etc..

Example of Slider with Value

1⭐ and above

Example of Slider with Icon

0

Typography

Typography is a feature of Native UI for styling and formatting the text content. It is used to create customized headings, inline subheadings, lists, paragraphs, aligning, adding more design-oriented font styles and much more.

Example of Headings

For heading u can use h1, h2, h3, h4, h5, h6 elements. The same font-styling is present for class names h1, h2, h3, h4, h5, h6 class. You can add one of these classes to style the text.

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Example of Paragraph Text

For paragraph u can use p element.

Add class: text-sm , text-rg , text-md , text-lg , text-extra-lg

Normal Paragraph Text

Small Font Text

Regular Font Text

Medium Text

Large Font Text

Extra Large Text

Example of Weighted Text

Native UI provide a font-weight to the text too.

Add class: text-extra-light , text-light , text-regular , text-bold , text-extra-bold

Extra Light Text

Light Text

Regular Text

Bold Text

Bolder Large Text

Extra Bold Text

Example of Text Alignment

Native UI provides text-alignment also.

Add class: text-left , text-center , text-right

Left Text

Center Text

Right Text

Example of other Text Utilities

Native UI provides text Utilities such as: small-text, strikethrough, grey-text, lowercase text, uppercase text, capitalise text and marked text.

Add class: text-lowercase , text-uppercase , text-captializw , text-grey , text-strikethrough

LOWERCase teXt

uppercase text

capitalise text
Grey Text
small text
strikethrough text

Toast

Toasts, sometimes called snackbars or banners, make for great medium-attention notifications because they are non-disruptive. Users can continue using the product while being informed about the (hopefully) important stuff and any supplementary options to the current user action.

Example of Toast

Native UI provides different types of toast such as: success, error, normal and stacked. Native UI provides different types of toast such as: success, error, normal and stacked.

Add class: toast and add a following class: toast-success , toast-stacked , toast-content , toast-dismiss , toast-error.

Order Confirmed! We are as happy as you.
Network Issue. Try again.
Getting confirmation...
This is a stacked toast.

Live Demo