No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

Helpers css styles


Margins (in px)

Class nameDescriptionExample
ma-{number}Set all marginsma-5
my-{number}Set top and bottom marginsmy-5
mx-{number}Set right and left marginsmy-5
ml-{number}Set left marginml-5
mr-{number}Set right marginmr-5
mt-{number}Set top marginmt-5
mb-{number}Set bottom marginmb-5
ml-n-{number}Set negative left margin (margin-left: -5px)ml-n-5
mr-n-{number}Set negative right margin (margin-right: -5px)mr-n-5
mt-n-{number}Set negative top margin (margin-top: -5px)mt-n-5
mb-n-{number}Set negative bottom margin (margin-bottom: -5px)mb-n-5

Paddings (in px)

Class nameDescriptionExample
pa-{number}Set all paddingspa-5
py-{number}Set top and bottom paddingspy-5
px-{number}Set right and left paddingspx-5
pl-{number}Set left paddingpl-5
pr-{number}Set right paddingpr-5
pt-{number}Set top paddingpt-5
pb-{number}Set bottom paddingpb-5

Font size and weight

Class nameDescription
fz-5Set font-size: 0.5rem
fz-6Set font-size: 0.6rem
fz-7Set font-size: 0.7rem
fz-8Set font-size: 0.8rem
fz-9Set font-size: 0.9rem
fz-10Set font-size: 1rem
fz-11Set font-size: 1.1rem
fz-12Set font-size: 1.2rem
fz-13Set font-size: 1.3rem
fz-14Set font-size: 1.4rem
fz-15Set font-size: 1.5rem
fz-16Set font-size: 1.6rem
fz-17Set font-size: 1.7rem
fz-18Set font-size: 1.8rem
fz-19Set font-size: 1.9rem
fz-20Set font-size: 2rem
fw-normalSet font-weight: normal
fw-boldSet font-weight: 600
fw-thinSet font-weight: thin

Text alignment

Class nameDescription
rowSet display flex
row-inlineSet display inline-flex
columnSet flex-direction to column (has effect with row class)
wrapSet flex-wrap (has effect with row class)
colSet flex-grow: 1 (has effect in parent element with row class)
align-centerAlign items on center (has effect in parent element with row class)
align-topAlign items on top (has effect in parent element with row class)
align-bottomAlign items on bottom (has effect in parent element with row class)
space-betweenJustify content with spacing between elements (has effect in parent element with row class)
space-aroundJustify content with spacing around elements (has effect in parent element with row class)
justify-centerJustify content on center (has effect in parent element with row class)
justify-startJustify content on start (has effect in parent element with row class)
justify-endJustify content on end (has effect in parent element with row class)

Preset colors

primary - (HEX: #1678c2)
info - (HEX: #42a5f5)
error - (HEX: #f44336)
success - (HEX: #1aaa55)
yellow - (HEX: #feda24)
warning - (HEX: #ff3d00)
night - (HEX: #303846)
light - (HEX: #fafafa)
lightgray - (HEX: #f0f2f5)
dark - (HEX: #4d4d4d)
gray - (HEX: #e0e0e0)

Colors (text and background colors)

Class nameDescription
text-{color}Set {color} to text
bg-{color}Set {color} to background