GuideSectionOptional

Typography

Style any text with one directive, [wrTypography].

At a glance

ngwr/typography

Build interfaces

that read beautifully.

Variants

Each word is set in the variant it names. Sizes and tokens are on Styles.

display

h1

h2

h3

h4

h5

h6

lead

body

small

caption

overline

codelink
  • list

Tones

tone works on any variant. It adds emphasis; the words carry the state.

base

muted

primary

success

warning

danger

Modifiers

Inputs that combine with any variant.

align="center"

Step 2 of 3

truncate

Invoices are emailed on the first of each month and kept for seven years.

mono

Order 0042-1187

Sections