Typography

The type scale includes a range of contrasting type-sizes that support the needs of our product and content. Aiming to simplify and unify our product surfaces, we have one consistent type scale that is optimized to provide the best legibility across all screen sizes. The type scale follows t-shirt sizing for a clear and applicable naming structure that does not limit or confuse application.

A single variant is shorthand for a set of typography-specific tokens. The text-treatments vary slightly depending on screen size.

Text XXL
Text XL
Text LG
Text MD
Text SM
Text XS
<Join separator={<Spacer my={0.5} />}>
  <Text variant="xxl">Text XXL</Text>
  <Text variant="xl">Text XL</Text>
  <Text variant="lg">Text LG</Text>
  <Text variant="md">Text MD</Text>
  <Text variant="sm">Text SM</Text>
  <Text variant="xs">Text XS</Text>
</Join>

All variants

{
  "xxl": {
    "fontSize": "50px",
    "lineHeight": "54px",
    "letterSpacing": "-0.02em"
  },
  "xl": {
    "fontSize": "34px",
    "lineHeight": "38px",
    "letterSpacing": "-0.02em"
  },
  "lg": {
    "fontSize": "24px",
    "lineHeight": "28px",
    "letterSpacing": "-0.02em"
  },
  "md": {
    "fontSize": "16px",
    "lineHeight": "20px"
  },
  "sm": {
    "fontSize": "16px",
    "lineHeight": "24px"
  },
  "xs": {
    "fontSize": "13px",
    "lineHeight": "18px"
  }
}
On this page
All variants