The default font for Clarity Design System is Metropolispop-out

Type styles

Heading and paragraph classes have been replaced with names according to their common usage. These include names such as Headline, Title, Body, and Caption. Usage guidelines assist in determining which is appropriate for most common design requirements.

Style Name (in Figma)ExampleSuggested use

Display

40px Medium

  • Login screen - product name
  • Landing page - title/headline
  • Charts/data visualization - large display numbers

Headline

 

32px Medium

  • Main content title

Title

24px Medium

  • Secondary content title
  • Modal/Wizard/Dialog title

Section

20px Medium

  • Section name
  • introductory paragraph

Subsection

16px Medium

  • Subsection name
  • Subsection of Section

Message

16px Regular

Larger running text, often for brief messages in application pages
  • Body-rg

  • Body-me

  • Body-sb

  • 14px Regular

  • 14px Medium

  • 14px Semibold

  • Default text styling
  • Body text in cards
  • Text and dropdowns
  • Tab navigation links
  • Wizard steps and table of contents
  • General paragraphs, sentences, lists
  • Secondary-rg

  • Secondary-me

  • Secondary-sb

  • 14px Regular

  • 14px Medium

  • 14px Semibold

  • Medium and Semibold: headers for Stack view,
  • Forms, Tree view
  • Regular:
  • Text in alerts
  • Stack view text
  • Datagrid text
  • Text in HTML tables
  • Text in tooltips and validations
  • Form text
  • Treeview text

Caption-LG-11

11px Regular

Labels, Form inputs - Helper messages

Caption-SM-10

10px Medium

Text inside badges

Line heights and vertical rhythm

Clarity uses a 4 px grid and a 24 px baseline for vertical rhythm to create visually harmonious layouts. With the exception of Display and Headline, Clarity type styles include variable line heights: standard, compact and expanded. All line heights are divisible by 4. The variable line heights add versatility to the type system.

Standard line height maintains adequate spacing for the type to retain vertical rhythm and ease of reading. Use standard line height when the text is a stand alone unit such as an inline message or description. The compact line height is appropriate for use within containers. This allows increased information density when space is tight. Users often prefer such information density, and given the structure created by the container, the type is often easier to read as it establishes its own visual unit within. Clarity components can employ compact type or may be customized to do so whenever appropriate.

Applications will often have landing pages and other screens with a marketing or informational function. Such screens often exhibit a lot of negative space, have different design sensibilities and consequently require different strategies for handling typography. When designing a screen in this style, where type is both the structure and the content, it is essential that vertical rhythm is strong and effective because there is often no other device to give unity to the page. The expanded line heights are useful in establishing vertical rhythm in such designs.

Select type classes paying careful attention to their line height. The large classes (Display, Headline, Title) will most often be used in single lines. If a larger size is carrying text that wraps to several lines, this may be a sign that a smaller size is needed. Each of the larger typographic elements should sit solidly upon the baseline grid.

Information hierarchy

The primary purpose in having a variety of type sizes and weights is to assist designers in achieving effective information hierarchy. By selecting the most appropriate sizes and weights across a screen, the user is aided in easily scanning the content and finding what they are looking for. Here are a few example layouts to assist the process.

Layout example 1: Display, Body, Headline, Body, Headline, Section, Body
Layout example 2: Title, Tabs, Section, Body, Key/Value Pairs, Body, Button
Layout example 3: Title, Section, Subsection, Key/Value Pairs, Button
Layout example 4: Title, Tabs, Section, Message, Subsection, Key/Value Pairs, Button