Typography

Canon offers a suite of typography components designed to seamlessly align with the rest of your Backstage instance. While you can customize their appearance to match your brand, the underlying API remains consistent and unchanged. Each component is built on a responsive structure, allowing you to define different typography values for various breakpoints.

Headings

Headings are used to structure the content of your page. They are used to create a hierarchy of information and to make the content more readable. The best way to use add these headings to your page is to import the Heading component.

Display

Title 1

Title 2

Title 3

Title 4

<Flex direction="column" gap="4">
  <Heading variant="display">Display</Heading>
  <Heading variant="title1">Title 1</Heading>
  <Heading variant="title2">Title 2</Heading>
  <Heading variant="title3">Title 3</Heading>
  <Heading variant="title4">Title 4</Heading>
</Flex>

Text

Canon provides four distinct text variants, each offering different font sizes carefully designed to cover the majority of use cases. These variants are versatile and can be paired with regular and bold of font weights. You can use the Text component to add text to your page.

A man looks at a painting in a museum and says, “Brothers and sisters I have none, but that man's father is my father's son.” Who is in the painting?

A man looks at a painting in a museum and says, “Brothers and sisters I have none, but that man's father is my father's son.” Who is in the painting?

A man looks at a painting in a museum and says, “Brothers and sisters I have none, but that man's father is my father's son.” Who is in the painting?

A man looks at a painting in a museum and says, “Brothers and sisters I have none, but that man's father is my father's son.” Who is in the painting?

<Flex direction="column" gap="4">
  <Text variant="subtitle" style={{ maxWidth: '600px' }}>
    A man looks at a painting in a museum and says, “Brothers and sisters I
    have none, but that man&apos;s father is my father&apos;s son.” Who is
    in the painting?
  </Text>
  <Text variant="body" style={{ maxWidth: '600px' }}>
    A man looks at a painting in a museum and says, “Brothers and sisters I
    have none, but that man&apos;s father is my father&apos;s son.” Who is
    in the painting?
  </Text>
  <Text variant="caption" style={{ maxWidth: '600px' }}>
    A man looks at a painting in a museum and says, “Brothers and sisters I
    have none, but that man&apos;s father is my father&apos;s son.” Who is
    in the painting?
  </Text>
  <Text variant="label" style={{ maxWidth: '600px' }}>
    A man looks at a painting in a museum and says, “Brothers and sisters I
    have none, but that man&apos;s father is my father&apos;s son.” Who is
    in the painting?
  </Text>
</Flex>