Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cognite.com/llms.txt

Use this file to discover all available pages before exploring further.

Typography is foundational to creating clear, consistent, and accessible interfaces. Our system uses design tokens and a well-defined set of styles to ensure type is applied consistently across products, platforms, and teams. Typography tokens are predefined values that represent font properties like font family, size, weight, letter spacing and line height. Rather than using arbitrary values (e.g., setting font-size: 17px), tokens standardize how typography is applied across components and layouts. Using type tokens:
  • Ensures consistency and scalability across the design system
  • Makes it easier to implement updates or refinements system-wide
  • Supports design–developer alignment through shared, meaningful naming conventions

Typefaces

TokenFontUse
--font-sans / --font-interInterMain product copy — UI text, labels, and dense interfaces
--font-monoSource Code ProCode blocks, technical strings, terminal output

Type scale

Styles are grouped by role: Text for product UI copy and Code for monospace technical content.

Text

Inter — main product typography.
TokenDescriptionSizeLine heightWeight
xxs/normalMetadata; short labels10px12pxRegular
xxs/mediumMetadata; short labels; emphasized10px12pxMedium
xs/normalSmall captions & chart labels12px14pxRegular
xs/mediumSmall captions & chart labels; emphasized12px14pxMedium
sm/normalSecondary text, small labels14px18pxRegular
sm/mediumSecondary text, small labels; emphasized14px18pxMedium
base/normalDefault body text16px20pxRegular
base/mediumDefault body text; emphasized16px20pxMedium
lg/normalLarge text, sub-headlines18px24pxRegular
lg/mediumLarge text, sub-headlines; emphasized18px24pxMedium
xl/normalHeadlines, small titles20px24pxRegular
xl/mediumHeadlines, small titles; emphasized20px24pxMedium
2xl/normalPage headers, titles24px28pxRegular
2xl/mediumPage headers, titles; emphasized24px28pxMedium
3xl/normalSplash screens, onboarding or login30px32pxRegular
3xl/mediumSplash screens, onboarding or login; emphasized30px32pxMedium
4xl/normalSplash screens, onboarding or login36px40pxRegular
4xl/mediumSplash screens, onboarding or login; emphasized36px40pxMedium
5xl/normalSplash screens, onboarding or login48px44pxRegular
5xl/mediumSplash screens, onboarding or login; emphasized48px44pxMedium

Code

Source Code Pro — code blocks, snippets, and technical strings.
TokenDescriptionSizeLine heightWeight
smCode blocks, snippets, and technical strings14px18pxRegular
mdCode blocks, snippets, and technical strings16px20pxRegular
lgCode blocks, snippets, and technical strings18px24pxRegular
Last modified on May 11, 2026