---
title: Type Scale
slug: wip/type-scale
createdAt: 2023-07-21T06:12:36.797Z
---

# Type Scale

A Type Scale is the first stepping stone to a great user experience as it establishes a balanced and harmonious composition.

Cosmos standardizes the use of typography beyond just font sizes.

The typographic scale tightly couples the size of a text, its line-height, and the ideal spacing for providing a perfect vertical rhythm when laying out a long-form read.

Furthermore, Cosmos' type-scale standardizes font sizes for both mobile and desktop to allow consumers of the type-scale to interpolate the font size in-between seamlessly. To allow the line-height and spacing to adapt automatically, the scale defines them relative to the font size.



:::hint{type="info"}
🎨 **Figma:** Type Scale has been built into the [Text](https://cosmos.redbull.design/wip/text) and [Title](https://cosmos.redbull.design/wip/title) components.

💻 **Code:** Type Scale is available as a variable.
:::

::::VerticalSplit{layout="left"}
:::VerticalSplitItem


::Image[]{src="https://api.archbee.com/api/optimize/Kp4perMrWxGYfa_PWfi7H/giQOGKJqRDsE193FApwgP_xxxx-large.png" darkSrc="https://archbee-image-uploads.s3.amazonaws.com/Kp4perMrWxGYfa_PWfi7H/ei2oQNk9yteWqCFaRsO9X_dark-xxxx-large.png" size="48" width="200" height="200" darkWidth="400" darkHeight="400" position="center" showCaption="false"}
:::

:::VerticalSplitItem
**XXXX-large**

`cosmos-type-xxxx-large-font-size-mobile` 45px

`cosmos-type-xxxx-large-font-size-desktop` 86px

`cosmos-type-xxxx-large-line-height` 1

`cosmos-type-xxxx-large-spacing-top` 0.55814em

`cosmos-type-xxxx-large-spacing-bottom` 0.255814em
:::
::::



::::VerticalSplit{layout="left"}
:::VerticalSplitItem


::Image[]{src="https://api.archbee.com/api/optimize/Kp4perMrWxGYfa_PWfi7H/YHV326IOjN6dGNQhhiHms_xxx-large.png" darkSrc="https://archbee-image-uploads.s3.amazonaws.com/Kp4perMrWxGYfa_PWfi7H/pwsZGxZZDDj4qBB8obvGF_dark-xxx-large.png" size="48" width="200" height="200" darkWidth="400" darkHeight="400" position="center" showCaption="false"}
:::

:::VerticalSplitItem
**XXX-large**

`cosmos-type-xxx-large-font-size-mobile` 37px

`cosmos-type-xxx-large-font-size-desktop` 60px

`cosmos-type-xxx-large-line-height` 1.066667

`cosmos-type-xxx-large-spacing-top` 0.666667em

`cosmos-type-xxx-large-spacing-bottom` 0.333333em
:::
::::



::::VerticalSplit{layout="left"}
:::VerticalSplitItem


::Image[]{src="https://api.archbee.com/api/optimize/Kp4perMrWxGYfa_PWfi7H/aZc378DcmjOnJsQrYyxpd_xx-large.png" darkSrc="https://archbee-image-uploads.s3.amazonaws.com/Kp4perMrWxGYfa_PWfi7H/dY1A91JHbOG5GUwLVtDCE_dark-xx-large.png" size="48" width="200" height="200" darkWidth="400" darkHeight="400" position="center" showCaption="false"}
:::

:::VerticalSplitItem
**XX-large**

`cosmos-type-xx-large-font-size-mobile` 31px

`cosmos-type-xx-large-font-size-desktop` 41px

`cosmos-type-xx-large-line-height` 1.097561

`cosmos-type-xx-large-spacing-top` 0.829268em

`cosmos-type-xx-large-spacing-bottom` 0.439024em
:::
::::



::::VerticalSplit{layout="left"}
:::VerticalSplitItem


::Image[]{src="https://api.archbee.com/api/optimize/Kp4perMrWxGYfa_PWfi7H/s1Bs6Prp6iei2r_o-IcjY_x-large.png" darkSrc="https://archbee-image-uploads.s3.amazonaws.com/Kp4perMrWxGYfa_PWfi7H/jMWoP4rtZTS0PzNdTyhf-_dark-x-large.png" size="48" width="200" height="200" darkWidth="400" darkHeight="400" position="center" showCaption="false"}
:::

:::VerticalSplitItem
**X-large**

`cosmos-type-x-large-font-size-mobile` 26px

`cosmos-type-x-large-font-size-desktop` 29px

`cosmos-type-x-large-line-height` 1.137931

`cosmos-type-x-large-spacing-top` 1.103448em

`cosmos-type-x-large-spacing-bottom` 0.413793em
:::
::::



::::VerticalSplit{layout="left"}
:::VerticalSplitItem


::Image[]{src="https://api.archbee.com/api/optimize/Kp4perMrWxGYfa_PWfi7H/q4YhUVN5Gt8UwgnYK_oCL_large.png" darkSrc="https://archbee-image-uploads.s3.amazonaws.com/Kp4perMrWxGYfa_PWfi7H/vKlfANTflMfz9vRbhC9By_dark-large.png" size="48" width="200" height="200" darkWidth="400" darkHeight="400" position="center" showCaption="false"}
:::

:::VerticalSplitItem
**Large**

`cosmos-type-large-font-size-mobile` 22px

`cosmos-type-large-font-size-desktop` 24px

`cosmos-type-large-line-height` 1.333333

`cosmos-type-large-spacing-top` 1.083333em

`cosmos-type-large-spacing-bottom` 0.5em
:::
::::



::::VerticalSplit{layout="left"}
:::VerticalSplitItem


::Image[]{src="https://api.archbee.com/api/optimize/Kp4perMrWxGYfa_PWfi7H/Ulq_0UdSmmCx4JMjjZAko_medium.png" darkSrc="https://archbee-image-uploads.s3.amazonaws.com/Kp4perMrWxGYfa_PWfi7H/hNAuCc1Cfl1OECU6gpv7U_dark-medium.png" size="48" width="200" height="200" darkWidth="400" darkHeight="400" position="center" showCaption="false"}
:::

:::VerticalSplitItem
**Medium**

`cosmos-type-medium-font-size-mobile` 18px

`cosmos-type-medium-font-size-desktop` 20px

`cosmos-type-medium-line-height` 1.5

`cosmos-type-medium-spacing-top` 0.6em

`cosmos-type-medium-spacing-bottom` 0.4em
:::
::::



::::VerticalSplit{layout="left"}
:::VerticalSplitItem


::Image[]{src="https://api.archbee.com/api/optimize/Kp4perMrWxGYfa_PWfi7H/HbyrkXJsR54UAIDgO0LPR_small.png" darkSrc="https://archbee-image-uploads.s3.amazonaws.com/Kp4perMrWxGYfa_PWfi7H/ujha9XDXjJnb6m_VyB9nT_dark-small.png" size="48" width="200" height="200" darkWidth="400" darkHeight="400" position="center" showCaption="false"}
:::

:::VerticalSplitItem
**Small**

`cosmos-type-small-font-size-mobile` 17px

`cosmos-type-small-font-size-desktop` 17px

`cosmos-type-small-line-height` 1.411765

`cosmos-type-small-spacing-top` 0.705882em

`cosmos-type-small-spacing-bottom` 0.470588em
:::
::::



::::VerticalSplit{layout="left"}
:::VerticalSplitItem


::Image[]{src="https://api.archbee.com/api/optimize/Kp4perMrWxGYfa_PWfi7H/aZzA1xODkBIM5vtfobWso_x-small.png" darkSrc="https://archbee-image-uploads.s3.amazonaws.com/Kp4perMrWxGYfa_PWfi7H/wValIAoJdE9vLdTeouM4k_dark-x-small.png" size="48" width="200" height="200" darkWidth="400" darkHeight="400" position="center" showCaption="false"}
:::

:::VerticalSplitItem
**X-small**

`cosmos-type-x-small-font-size-mobile` 14px

`cosmos-type-x-small-font-size-desktop` 14px

`cosmos-type-x-small-line-height` 1.357143

`cosmos-type-x-small-spacing-top` 0.714286em

`cosmos-type-x-small-spacing-bottom` 0.428571em
:::
::::



::::VerticalSplit{layout="left"}
:::VerticalSplitItem


::Image[]{src="https://api.archbee.com/api/optimize/Kp4perMrWxGYfa_PWfi7H/iEMheNVBRvbcnTcURwSKm_xx-small.png" darkSrc="https://archbee-image-uploads.s3.amazonaws.com/Kp4perMrWxGYfa_PWfi7H/dRbOzktUNqHpP_6PlF2mW_dark-xx-small.png" size="48" width="200" height="200" darkWidth="400" darkHeight="400" position="center" showCaption="false"}
:::

:::VerticalSplitItem
**XX-small**

`cosmos-type-xx-small-font-size-mobile` 12px

`cosmos-type-xx-small-font-size-desktop` 12px

`cosmos-type-xx-small-line-height` 1.25

`cosmos-type-xx-small-spacing-top` 0.666667em

`cosmos-type-xx-small-spacing-bottom` 0.333333em
:::
::::

