Skip to content

Type

Republic uses two typefaces. Use this page to choose a type class for a heading, a label or body text.

  • Unbounded is the display face. Use it for page titles and large numbers only, never for running text.
  • Fira Sans is the interface face. Use it for everything else.

Both come from @globalicons/republic-fonts, which serves the files from your own site. Nothing loads from a font service. Numbers use tabular figures inside .rp-root, so columns of figures line up.

  • .rp-display-l, .rp-display-m and .rp-display-s are for page titles and hero numbers. Use one per screen.
  • .rp-text-xl and .rp-text-l are for section headings and card titles.
  • .rp-text-m is body text. It is the default inside .rp-root.
  • .rp-text-s is for secondary text, table cells and dense lists.
  • .rp-text-xs is for labels, captions and metadata. Do not use it for sentences people must read.

The classes set font, size, line height and weight. They do not set colour or margin, so pair them with a text colour and your own layout.

  • Department of Records

    .rp-display-l · 48px on 56px

  • Department of Records

    .rp-display-m · 32px on 40px

  • Department of Records

    .rp-display-s · 24px on 32px

  • Your changes are saved

    .rp-text-xl · 24px on 32px

  • Your changes are saved

    .rp-text-l · 20px on 28px

  • Your changes are saved

    .rp-text-m · 16px on 24px

  • Your changes are saved

    .rp-text-s · 14px on 20px

  • Your changes are saved

    .rp-text-xs · 12px on 16px

  • Write in sentence case. See Writing.
  • Keep lines between 45 and 75 characters for body text.
  • Use weight 500 for emphasis. Republic has no bold or italic in the interface.
  • Use the HTML heading that matches the outline (h1, h2, …) and the class that matches the look. The two are separate choices.