Text

VUI does not ship with any fonts. It is up to the user to define that in their application. It ships with two CSS font variables to define your UI fonts.

Font families

Text size

The root font-size is 63.5% which makes conversion between pixels and rem values straightforward because now we can convert 1rem to 10px and so on. For example 1.6rem is 16px.

The target for VUI are mostly dashboard / functional applications. Not marketing content. Hence the font sizes start at a very small.

Cute dog
XXS size1.1rem
Cute dog
XS size1.175rem
Cute dog
S size1.3rem
Cute dog
M size1.5rem
Cute dog
L size1.8rem
Cute dog
XL size2rem
Cute dog
XXL size2.6rem
Cute dog
XXXL size3.4rem
Cute dog
XXXXL size4.8rem

Font weight

All font weights starting from 300 are supported.

Red fox
Light300
Red fox
Regular400
Red fox
Medium500
Red fox
Semibold600
Red fox
Bold700
Red fox
Extrabold800
Red fox
Black900

Line height

Line height is divided into four categories. To keep things consistent, in most cases you should be using the base or title line heights.

Lorem ipsum dolor sit amet consectetur adipisicing elit.
Tight1.05em
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Title1.25em
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Base1.4em
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Loose1.65em