Title

A heading. The level sets the tag and the size sets the look, so a section can drop a step in the outline without shrinking on screen.

Reach for it

A heading, with the level set by the outline and the size set by the design.

Not for

Making text big. Skipping a level to get a size breaks the page outline.

Level and size are separate

Pick the level from where the section sits in the page, and the size from how much weight it should carry. Tying them together is what produces a page that jumps from h2 to h4 because h3 looked too big.

Product updates

Repayments

Outstanding

This month

Direct debit

API reference

Paragraph

PropTypeDefaultDescription
tone'default' | 'muted' | 'subtle' | 'onColor' | 'success' | 'warning' | 'danger' | 'info'default
size'1' | '2' | '3' | '4' | '5' | '6' | '7'4
weight'regular' | 'medium'regular
isTruncatedbooleanfalse

Also takes the standard attributes of a p, minus className, style and color.

Title

PropTypeDefaultDescription
level*1 | 2 | 3 | 4-Document level. Pick it from the page outline, not from the size.
tone'default' | 'muted' | 'onColor' | 'success' | 'warning' | 'danger'default
size'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | 'display'xl
weight'normal' | 'medium'medium

Also takes the standard attributes of a heading, minus className, style and color.