Skip to content

Typography

We established a font convention to ensure consistent and optimal presentation across various platforms. These choices reflect the visual identity and design principles that guide our UI/UX, ensuring clarity and ease of readability.

Font Family

The font family defines the primary typeface used in the design of our product. Consistent use of font families across all platforms maintains brand cohesion and legibility. The following font families are used in our typography system:

Font FamilyClassSample Text
Rubikspr-font-mainThis is a sample text.
Robotospr-font-inboundThis is a sample text.
Roboto Monospr-font-codeThis is a sample text.

Rubik

- is the main typeface used for general UI text. It has a modern, rounded design that ensures clarity and smooth readability.

Roboto

- It is used specifically for inbound products from SAIL.

Roboto Mono

- is used for code blocks and technical content to distinguish it clearly from body text.

Font Sizes

Font sizes define the typographic hierarchy, ensuring content is presented in a clear, readable, and visually appealing way. The following font sizes are defined for use throughout the application:

12px

This is a sample text.

14px

This is a sample text.

16px

This is a sample text.

20px

This is a sample text.

24px

This is a sample text.

28px

This is a sample text.

32px

This is a sample text.

40px

This is a sample text.

48px

This is a sample text.

56px

This is a sample text.

Font Weight

Font weight controls the thickness of the typeface characters, helping create visual contrast and emphasis. Here’s how the various font weights are used:

100

This is a sample text.

200

This is a sample text.

300

This is a sample text.

400

This is a sample text.

500

This is a sample text.

600

This is a sample text.

700

This is a sample text.

800

This is a sample text.

900

This is a sample text.

Line Height

Line height (or leading) is the vertical space between lines of text. Proper line height improves readability, especially for larger bodies of text. We define the following line heights:

Line HeightClass
12pxspr-line-height-100
14pxspr-line-height-200
16pxspr-line-height-300
20pxspr-line-height-400
24pxspr-line-height-500
32pxspr-line-height-600
36pxspr-line-height-700
40pxspr-line-height-800
48pxspr-line-height-900
60pxspr-line-height-1000

Letter Spacing

Letter spacing affects the horizontal space between characters. Proper spacing can improve legibility and the overall aesthetic of the text. The following letter spacing values are defined:

Letter SpacingClass
-1.3pxspr-letter-spacing-densest
-1pxspr-letter-spacing-denser
-0.7pxspr-letter-spacing-dense
0pxspr-letter-spacing-normal
0.7pxspr-letter-spacing-wide
1pxspr-letter-spacing-wider
1.3pxspr-letter-spacing-widest

Headings

Headings are an essential element in establishing the hierarchy of information. They help break down sections of content and guide the user through a page. In our design system, headings are visually distinct and scalable based on importance. They typically use larger font sizes, bolder weights, and generous line heights.

Heading XL

spr-heading-xl

  • spr-font-size-900
  • spr-line-height-1000
  • spr-letter-spacing-densest
  • spr-font-main
  • spr-font-medium
This is a sample text.
Heading LG

spr-heading-lg

  • spr-font-size-800
  • spr-line-height-900
  • spr-letter-spacing-denser
  • spr-font-main
  • spr-font-medium
This is a sample text.
Heading MD

spr-heading-md

  • spr-font-size-700
  • spr-line-height-800
  • spr-letter-spacing-denser
  • spr-font-main
  • spr-font-medium
This is a sample text.
Heading SM

spr-heading-sm

  • spr-font-size-600
  • spr-line-height-700
  • spr-letter-spacing-dense
  • spr-font-main
  • spr-font-medium
This is a sample text.
Heading XS

spr-heading-xs

  • spr-font-size-500
  • spr-line-height-600
  • spr-letter-spacing-dense
  • spr-font-main
  • spr-font-medium
This is a sample text.

Subheadings

Subheadings support the primary heading and break down content into digestible sections. These are typically used for content categories or grouped ideas within larger sections. The typography is adjusted to be smaller and less bold than main headings but still visually distinct.

Subheading SM

spr-subheading-sm

  • spr-font-size-400
  • spr-line-height-500
  • spr-letter-spacing-dense
  • spr-font-main
  • spr-font-medium
This is a sample text.
Subheading XS

spr-subheading-xs

  • spr-font-size-300
  • spr-line-height-400
  • spr-letter-spacing-normal
  • spr-font-main
  • spr-font-medium
This is a sample text.

Body

Body text is the core content on most pages. It needs to be easy to read and legible across all screen sizes. Body text uses standard font size (16px) and is typically set to a regular or medium weight for clarity and readability.

Base Class

spr-body-lg

  • spr-font-size-400
  • spr-line-height-600
  • spr-letter-spacing-normal
  • spr-font-main

spr-body-lg-regular

  • spr-body-lg
  • spr-font-normal

spr-body-lg-regular-underline

  • spr-body-lg
  • spr-font-normal
  • spr-decoration-solid

spr-body-lg-regular-medium

  • spr-body-lg
  • spr-font-medium

spr-body-lg-medium-underline

  • spr-body-lg
  • spr-font-medium
  • spr-decoration-solid
Base Class

spr-body-md

  • spr-font-size-300
  • spr-line-height-500
  • spr-letter-spacing-normal
  • spr-font-main

spr-body-md-regular

  • spr-body-md
  • spr-font-normal

spr-body-md-regular-underline

  • spr-body-md
  • spr-font-normal
  • spr-decoration-solid

spr-body-md-regular-medium

  • spr-body-md
  • spr-font-medium

spr-body-md-medium-underline

  • spr-body-md
  • spr-font-medium
  • spr-decoration-solid
Base Class

spr-body-sm

  • spr-font-size-200
  • spr-line-height-400
  • spr-letter-spacing-normal
  • spr-font-main

spr-body-sm-regular

  • spr-body-sm
  • spr-font-normal

spr-body-sm-regular-underline

  • spr-body-sm
  • spr-font-normal
  • spr-decoration-solid

spr-body-sm-regular-medium

  • spr-body-sm
  • spr-font-medium

spr-body-sm-medium-underline

  • spr-body-sm
  • spr-font-medium
  • spr-decoration-solid
Base Class

spr-body-xs

  • spr-font-size-100
  • spr-line-height-300
  • spr-letter-spacing-normal
  • spr-font-main

spr-body-xs-regular

  • spr-body-xs
  • spr-font-normal

spr-body-xs-regular-underline

  • spr-body-xs
  • spr-font-normal
  • spr-decoration-solid

spr-body-xs-regular-medium

  • spr-body-xs
  • spr-font-medium

spr-body-xs-medium-underline

  • spr-body-xs
  • spr-font-medium
  • spr-decoration-solid

Labels

Labels are used for form inputs, navigation, and UI elements. These are typically smaller in size, often 12px–16px, and require a high contrast to stand out clearly. Labels also use consistent letter spacing for neatness.

Base Class

spr-label-sm

  • spr-font-size-200
  • spr-line-height-200
  • spr-letter-spacing-wide
  • spr-font-main

spr-label-sm-regular

  • spr-label-sm
  • spr-font-normal

spr-label-sm-medium

  • spr-label-sm
  • spr-font-medium
Base Class

spr-label-xs

  • spr-font-size-100
  • spr-line-height-100
  • spr-letter-spacing-wide
  • spr-font-main

spr-label-xs-regular

  • spr-label-xs
  • spr-font-normal

spr-label-xs-medium

  • spr-label-xs
  • spr-font-medium