fontStyle | "default"
| "inherit"
| "italic"
| "normal"
| undefined | Default: 'default' |
|---|
|
fontVariantNumeric | "default"
| "diagonal-fractions"
| "normal"
| "ordinal"
| "slashed-zero"
| "tabular-nums"
| undefined | Default: 'default' |
|---|
Sets numeric glyph style. |
fontWeight | "body"
| "emphasis"
| "heading"
| "label"
| undefined | Default: — |
|---|
Sets the semantic font-weight role. When omitted, the selected typography style supplies its
weight. |
isVisuallyHidden | boolean | Default: false |
|---|
Hides text visually while keeping it accessible. |
lineClamp | 1
| 2
| 3
| 4
| 5
| boolean
| undefined | Default: — |
|---|
Clamps text lines. true clamps to 1 line; numeric values clamp to 1–5. |
shouldDisableTrim | boolean | undefined | Default: — |
|---|
Turns cap-height trim on or off. When omitted, trimming is disabled for inline or unknown
element types. Line clamp always disables trim. |
shouldInheritFont | boolean | undefined | Default: false |
|---|
Makes text inherit its surrounding font styles. Colour always inherits unless color is set. |
textAlign | "center"
| "end"
| "start"
| undefined | Default: 'start' |
|---|
|
textDecoration | "inherit"
| "line-through"
| "none"
| "underline"
| undefined | Default: 'none' |
|---|
|
textTransform | "capitalize"
| "default"
| "inherit"
| "lowercase"
| "none"
| "uppercase"
| undefined | Default: 'none' |
|---|
|
textWrap | "balance"
| "default"
| "pretty"
| undefined | Default: 'default' |
|---|
Sets text wrapping behavior. |
typography | "body"
| "caption"
| "display"
| "heading1"
| "heading2"
| "heading3"
| "heading4"
| "label"
| "lead"
| undefined | Default: 'body' |
|---|
Applies a complete typography style: family, size, weight, line height, letter spacing, and
trim. |