Browse components

Text

Typography primitive with tone and size tokens, rendered as p, span or div.

atoms

Live example

Default usage you can copy and adapt.

Text

Semantic body copy

Headline style

Supporting body copy uses the description tone.

Props

The props you are most likely to need, with types and defaults.

Props / API
NameTypeRequiredDefaultDescription
as'p' | 'span' | 'div'NopElement tag
tonestringNobodybody | description | caption | headline | label | error
size'xs' | 'sm' | 'md' | 'lg'NomdText size — the bottom of the scale Heading sits on (md matches h6, lg matches h5)
weight'normal' | 'medium' | 'semibold' | 'bold'Nonormal (medium for tone="label")Font weight; overrides the weight the tone implies