Alerts

The alert dialog displays some important information to the user. StackUI provides 4 different color schemes of alerts to show case relevant system alert to users.

alert-success

Profile has been updated successfully!

alert-warning

Low disk storage, clear some space.

alert-info

An update is available to install.

alert-error

There was an error processing your request!

Avatars

Avatar is basically the display picture of a user. It generally is very small in size and the sizes can vary depending on the use case. Stack UI provides 6 standard sizes for your avatars. Check below the important classes and the way to implement.

girl-with-curly-hairs
man-smiling
man-winking
smiling-girl
marathi-woman
rajasthani-male

Text Avatar

RK
SS
RS
UI
JS

Avatar Group

An avatar group can be used to showcase how many users contributed or participated in some event.

marathi-woman
rajasthani-male
girl-with-curly-hairs
man-winking
happy-female
+56

Badges

Badges can be used to communicate the status of a user. It can also be used a signal for other users to understand if someone is online or offline.

Avatar with badges

Badges indicate the status of the user. example-> Green: online

rajasthani-male
RK
marathi-woman

Icons with badges

9+ 15 new 50

Buttons

The Button component can be used to complete an action or a specific operation such as submitting a form, or sending some document or mails etc.

There are four different categories of buttons provided by StackUI. Each resembles the sementic meaning that it holds.

Outline Buttons

Link Buttons

Any link from "a" tag can be styled into button. Using the same button class with the varient user likes to incorporate. Mandatory class to include is btn-link

Icon Buttons

Any icon can be styled as a button using the classes provided by the StackUI for buttons component. Mandatory class to include is btn-icon

Floating Buttons

Floating buttons are usually icon buttons that calls for an important action on the overall page. Generally located at bottom right.
Stack UI provides few classes that makes the design look cool and clean. But the user has to explicitly define the position of the buttons according to their respective use cases. By default it is absolute to the viewport.

Cards

A card is a group of related information, generally comprises of an Image, a title, some data like price, rating, description and sometimes also has a call to action buttons.

Normal Card Variants

The following examples contains the Textual Cards and the Cards with close icon

Textual Card

Lorem ipsum dolor sit amet consectetur adipisicing elit. Molestiae saepe sequi dolor natus? Perferendis, omnis harum necessitatibus assumenda unde consectetur corrupti blanditiis dolore repudiandae? Id earum rerum quis dolor autem maiores assumenda culpa ipsam, esse perspiciatis enim. Libero, aliquam repellat nemo ex, quidem odio, sit illum nihil architecto laudantium reprehenderit!

Card that closes

Lorem ipsum dolor sit amet consectetur adipisicing elit. Molestiae saepe sequi dolor natus? Perferendis, omnis harum necessitatibus assumenda unde consectetur corrupti blanditiis dolore repudiandae? Id earum rerum quis dolor autem maiores assumenda culpa ipsam, esse perspiciatis enim. Libero, aliquam repellat nemo ex, quidem odio, sit illum nihil architecto laudantium reprehenderit!

Vertical Cards: Image & Text

Few left tesseract

3D Printed Tesseract

Hub 3D, Delhi

4.3

1199

1849

1679 reviews

delivery by tomorrow

Trending tesseract

3D Printed Rudra

Hub 3D, Delhi

4.6

899

1549

7.9K reviews

delivery by 8th March

Out Of Stock Out Of Stock tesseract

3D Printed Diamond

Hub 3D, Delhi

4.8

1999

2549

5.7K reviews

currently Sold Out

Horizontal Cards: Image & Text

The html structure remains the same for horizontal class as well, One just need to replace the main wrapper class from "card-wrapper-v" to "card-wrapper-h". See below the code example for better understanding.

Few left tesseract

3D Printed Tesseract

Hub 3D, Delhi

4.3

1199

1849

1679 reviews

delivery by tomorrow

Trending tesseract

3D Printed Rudra

Hub 3D, Delhi

4.6

899

1549

7.9K reviews

delivery by 8th March

Out Of Stock Out Of Stock tesseract

3D Printed Diamond

Hub 3D, Delhi

4.8

1999

2549

5.7K reviews

currently Sold Out

Responsive Images

Responsive images change their aspect ratio according to the container it is contained in. Stack UI provides the container img-wrapper that allows you to wrap your image and get it displayed in a responsive nature. You can change the height and width of the wrapper according to the usecase.

Round Images

To get your images rounded, simply add the img-round class to your wrapper class.

Inputs

Inputs are used to collect data from users directly in form of texts, numbers, clicks, checkboxes, radio buttons etc. Different styles are provided by StackUI for your labels, inputs, different colored borders that has sementic meanings. They can be used separately when needed or within a form group.

Feedback Form

Input Variations

Rating

A rating component can be used on any ecommerce platform, where we need to collect user experience with product or service in forms of rating.

HTML code for Rating

Javascript code for Rating

Slider

Sliders are majorly used to take inputs from user that ranges between two values. A minimum value and a maximum value.

0

Typography

Various text utility classes that can be used to design text based use cases. Below are all the examples for Headings, paragraphs, span, and more.

Headings

Heading One

Heading Two

Heading Three

Heading Four

Heading Five
Heading Six

Heading One

Heading Two

Heading Three

Heading Four

Heading Five
Heading Six

Paragraphs and Spans

Normal paragraph text.

Small paragraph text.

Extra small paragraph text.

normal span text. small span text.

this is a grey text.

Alignment

Centered text

Left-aligned text

Right-aligned text