Skip to content
Employee

Typography ​

Headings ​

Bordered Headings ​

Paragraphs ​

Alignment ​

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

Font Size Modifiers ​

  • text-larger increases the font size by 10% of the containing element's font size.
  • text-smaller decreases it by 10%.
  • text-small sets a fixed 14px at the regular weight instead, so it does not scale with its container.

Font Style Modifiers ​

  • 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.

Font Color Modifiers ​

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.