Follow these principles to create legible and visually balanced typography. Use in conjunction with the Atlassian color tokens and space tokens in product experiences.
![](/static/principle1-bcaa494c6faab58e87249b2bdec6bf4d7061efe3e658433b581ec230115aebb5.png)
![](/static/principle2-baef5a53b132ac826dae7523a1a73cec63e1ec333b6dfd4714fc45b60634077b.png)
![](/static/principle3-df484e5a6ce490f7390fa6f986d526cd8ec6069c867d6f8bf130cd08ec4f40b9.png)
When you need to express the Atlassian brand, such as in marketing, we use our custom brand font, Charlie Sans. Only authenticated users can download our brand fonts.
![A simple example displaying the Atlassian brand font, Charlie Sans, in a banner.](http://images.ctfassets.net/8j5aqoy0ts8s/6ojkwbRPdDFTPmphx7oq5X/8b2702d5464e78270671c58553fa6478/Banner.png)
For all in-product experiences, use the typography system fonts. This ensures UI is optimized, performs well and is frictionless as you move between Atlassian products regardless of platform.
![An example showing what fonts look like in an Atlassian product, using a Jira board to demonstrate.](http://images.ctfassets.net/8j5aqoy0ts8s/tBLAoiK8o1JYfMrh45QW7/e96be5e143785c4e618777c9ee0c8371/Bannerproductfont.png)
A font stack is an ordered list of fonts containing the primary font, and subsequent fallback fonts. Below is our product font stacks, we use sans serif fonts, except when representing code where we use monospaced fonts.
Sans serif | Monospaced |
---|---|
font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif | font-family: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace |
Text styles and typography tokens are made up of specific font values, including font family, font size, and line height. Where text styles appear in design and Figma, typography tokens are used in code.
Use heading, body and code text styles and tokens in your designs. Each style has optimized spacing values based on font size, and is designed to work with our other foundations such as spacing and color. These typographic decisions are built-in into typography tokens and will enable typography theming in the future.
We also recommend using heading and text components in code to simplify implementation of typography tokens.
Learn more about applying typography tokens and text styles.
![A simple example of a generic modal with a heading, body text and two buttons. The title is called out as a Heading, and the body text and button text are called out as Body.](http://images.ctfassets.net/8j5aqoy0ts8s/63HlVwSgfqAkdY3xEfdMWh/660d992cccba277354585c3d0259731a/Bannertext_styles.png)
Typography tokens use rem units instead of pixel values for font-size and line-heights. Font size is calculated dynamically by multiplying the rem unit with the browser default size of 16px (i.e. 1rem is equal to 16px).
Unlike pixels which are absolute (or fixed), rem are relative units that adjust according to the root element (html) size. Using rem units allow users to adjust the size of text depending on their needs or browser size, improving the responsiveness and accessibility of designs.
Use headings for page titles or subheadings to introduce content. Headings are sized to contrast with content, increase visual hierarchy, and help readers easily understand the structure of content.
![An example of where headings apply in a sample text. The main heading and subheading are both labelled as Heading.](http://images.ctfassets.net/8j5aqoy0ts8s/5BZ6k09opE0rx69jVOlzXa/28f3566dc911eb5580bf74ca1e0d6f25/Bannerheading.png)
Headings come in a range of sizes, for use in different contexts:
XXL and XL are suitable for brand and marketing content.
XL and L are suitable for page titles in products such as a form title.
M can be used in large components where space is not limited and perfectly balances with Body M, such as modals.
S and XS are for titles in small components where space is limited, such as flags.
XXS should be used sparingly and is suitable matched with Body S, for example, in fine print.
![An example of a project document where the main heading is labelled 'Heading L', and the two subheadings are labelled 'Heading S'](http://images.ctfassets.net/8j5aqoy0ts8s/3Gsfqkp1KrLO7Fzlj8dl1N/5addbc4c8b2924fabe701083bc3acef6/Bannerheading_2.png)
![An example of a small modal, where the title of the modal is labelled 'Heading M'.](http://images.ctfassets.net/8j5aqoy0ts8s/3EXfb3tG6wUYuQgO4swcQK/967319395b9152344e65ac320fe98cd3/Bannerheading_3.png)
Preview | Token | Font weight | Font size | Line height |
---|---|---|---|---|
Aa | font.heading.xxlarge | 500 / Medium | 2.1875 rem / 35 px | 2.5 rem / 40 px |
Aa | font.heading.xlarge | 600 / Semibold | 1.8125 rem / 29 px | 2 rem / 32 px |
Aa | font.heading.large | 500 / Medium | 1.5 rem / 24 px | 1.75 rem / 28 px |
Aa | font.heading.medium | 500 / Medium | 1.25 rem / 20 px | 1.5 rem / 24 px |
Aa | font.heading.small | 600 / Semibold | 1 rem / 16 px | 1.25 rem / 20 px |
Aa | font.heading.xsmall | 600 / Semibold | 0.875 rem / 14 px | 1 rem / 16 px |
Aa | font.heading.xxsmall | 600 / Semibold | 0.75 rem / 12 px | 1 rem / 16 px |
Please note: H100 and H300 styles have been deprecated and are no longer available. We recommend you update instances of H100 and H300 to the font.heading.xxsmall
token.
Use body text for main content. They typically appear after headings or subheadings as detailed descriptions and messages, but also as standalone text in components. Body text includes additional paragraph spacing for readability and flow in blocks of text.
Body text comes in three sizes, for use in different contexts:
Body L is the default size for long-form content. Use this size for a comfortable reading experience such as in blogs.
Body M (Default) is the default size in components or where space is limited, for detailed or descriptive content such as primary descriptions in flags.
Body S should be used sparingly and is for secondary level content such as fine print or semantic messaging.
![A example of blog post text where the main text is labelled 'Body L'.](http://images.ctfassets.net/8j5aqoy0ts8s/6YHm97ErOiqcSezMBEVBhe/063211c7b65426e00bdff6cdbf1d0baf/Bannerbody_1.png)
![An example of a dropdown button with a label 'Body M (Default)'.](http://images.ctfassets.net/8j5aqoy0ts8s/4JfIeVXnndGoffnx8gjBsc/eb21faae7434f967d4020dc56b14b826/Bannerbody_2.png)
![An example of a form entry with the fine print text below labelled 'Body S'](http://images.ctfassets.net/8j5aqoy0ts8s/5EC1miBs5pn9IQja1eMUns/c6f416f130001fca2e9c104142e7791b/Bannerbody_3.png)
Preview | Token | Font weight | Font size | Line height | Paragraph spacing* |
---|---|---|---|---|---|
- | - | - | - | - | - |
Aa | font.body | 400 / Regular | 0.875 rem / 14 px | 1.25 rem / 20 px | 0.75 rem / 12 px |
Aa | font.body.small | 400 / Regular | 0.6875 rem / 11 px | 1 rem / 16 px | 0.5 rem / 8 px |
* See paragraph spacing below.
Paragraph spacing
Paragraph spacing is set in Figma text style libraries only. To represent paragraphs in code, use separate text components for each paragraph and manage paragraph spacing with the stack component.
Font weight is applied through the choice of text style in Figma, or through font weight tokens in code. Three weights are available for body text:
Regular weight is for generic paragraphs to contrast with headings, and medium text in components.
Medium weight is for alignment with iconography. Use this weight in most components and whenever text could be seen beside line icons.
Bold weight is for unique cases where text needs to be differentiated or given more emphasis. Use this weight sparingly.
![A simple example of a text box with the placeholder text being labelled "Regular"](http://images.ctfassets.net/8j5aqoy0ts8s/74s20fAz8vaX27NMl98CMF/6a3b9344eae4a6b0f51a0140b2f48c3a/Bannerbody_fw_1.png)
![An example of button component text with an icon, where the text is labelled "Medium".](http://images.ctfassets.net/8j5aqoy0ts8s/7c6NxWAKg3IccPjQFWJKYy/ce8f01e50f135aaa5cfff4258433a829/Bannerbody_fw_2.png)
![A simple example of a lozenge, with the lozenge text labelled "Bold".](http://images.ctfassets.net/8j5aqoy0ts8s/2ASYa9MyzYUvnY6aMXB1LC/3e6705e6198ee12ef1b74d7b357e02af/Bannerbody_fw_3.png)
The code text style is reserved for representing code in our code block component.
Preview | Token | Font weight | Font size | Line height |
---|---|---|---|---|
Aa | font.code | 400 / Regular | 12 px | 20 px |
Code can also appear inline following the style settings of the block of text it sits within. In this context, this token is relative to its container's font size. Assuming a container font size of 14 px (0.875 rem), this token will have a font size of 12.25 px. The line height is equal to the container's font size.
Was this page helpful?
We use this feedback to improve our documentation.