Skip to content

Typography ​

Headings ​

Bordered Headings ​

Headings do not always need to use the semantic tag, the matching css class can be used to apply size and style of a heading. There is also a bordered modifier to add a border.

Paragraphs ​

Superscript ​

A plain <sup> raises text for footnote references and ordinals. Adding the status modifier turns it into the status superscript: a one-word marker that sits beside a heading, column title, menu entry, or nav item and tells the reader who the content is for or how mature it is.

Navigator already uses it this way:

  • Internal marks content that only sys ops users can see. Support staff rely on it to tell, at a glance, what clients (brokers, HR admins, vendors) can and cannot see on a page. It appears on Employee Data Sheet table headings, Eligibility column headers, the Power Tools menu, and vendor profile and billing pages.
  • new, alpha, and beta mark the maturity of a feature or page.

The marker is inline text, so it inherits the heading's size relationship and never wraps onto its own line. The status modifier colors it with the warning-darker token so it reads as a flag rather than part of the title.

Use the status superscript, not a label or a badge, when the marker is attached to a heading or a column title rather than to an item. Labels and badges are pills for annotating rows, cards, and list items: a count or a state on an item is a badge, and a static descriptor on an item is a label.

The status modifier ships in the benefits theme only.

Alignment ​

text-left, text-center, text-right, and text-justify set the text alignment of an element.

Font Size Modifiers ​

Utility classes that increase or decrease the font size based on the font size of the containing element.

  • text-larger will increase the font size by 10% of the containing elements font size.
  • text-smaller will decrease the font size by 10% of the containing elements font size.
  • text-small sets a fixed 14px instead, so it does not scale with its container.

Font Style Modifiers ​

Utility classes for weight and slant.

  • text-bold applies the 600 weight the system uses for emphasis.
  • text-italic applies italics.

Reach for text-italic when the slant is presentational. Use an <em> instead when the emphasis is part of the meaning of the sentence, since that carries semantics for screen readers and text-italic does not.

Italics are a light signal, so don't let them carry a distinction on their own — pair them with wording, punctuation, or position. That matters most in print, where the print stylesheet strips all color.

Font Color Modifiers ​

Utility classes that change the font color.

Wrapping and Overflow ​

  • text-wrap breaks a long unbroken string so it doesn't overflow its container.
  • text-nowrap prevents wrapping entirely.
  • text-ellipsis clips overflow with an ellipsis. It needs text-nowrap and a width constraint alongside it, or there is nothing to clip.

Microlabel ​

A small, uppercase, letter-spaced label — smaller than an h6 — for stat labels, field eyebrows, and section markers. Color-agnostic: pair with a text-color utility.