Aram Style Guide

3. Components

Components contain both styling and often layout information. They are tightly coupled with content and may or may not consist of objects.

Buttons

Flavours

Buttons come in three flavours, button-primary, button-secondary, and button-white. To invert white add --inverted to the end of the class name, e.g. button-white--inverted.

Primary Button

button-primary

Secondary Button

button-secondary

White Button

button-white

White Button (Inverted)

button-white--inverted

Sizes

Three buttons sizes are available by adding an extra size modifier, button--l, default (same as large, no class required), button--s and button--xs. Note: You can use a size modifier with any of the button styles above.

Minimum and Maximum Width

By default buttons grow to fit their text, but for visual consistency you can also set a minimum or maximum width using button--set-min-width or button--set-max-width.

Button

button--set-min-width

Button Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing

button--set-max-width

Slideshow

Cards

Card Heading

Lorem ipsum dolor sit amet, penatibus
libero nulla ut sem, sapien metus leo.

Card Heading

Card Subheading

Card Heading

Card Heading

Card Heading

Card Heading

Tables

This example uses tablesaw to stack data on smaller screens.

Example markup:

<table class="table tablesaw tablesaw-stack" data-tablesaw-mode="stack">...</table>
Name Username Phone Site Age Job Status
Mark @mdo +1 123 456 432 www.google.com 23 qa offline
Alex @alex +1 333 222 111 magento.com 32 manager online
Daniel @danik +1 334 328 975 www.yahoo.com 18 developer offline
Kate @kateUA +1 888 777 888 www.twitter.com 18 developer HR

Notifications

Success
Info
Error

Paging


Aram Pattern Library | © GPMD Limited