Text — ui.text
Fließtext-Absatz mit Ton und Größe. 1.2.0: Groesse xs und inline (span statt Absatz) ergaenzt 1.3.0 (29.10.2026, nex): weight medium | semibold. 1.4.0 (29.10.2026, nex): compact - einzeilig mit enger Zeilenhoehe. 1.5.0 (29.10.2026, nex): Groesse 2xs, tabular (gleich breite Ziffern).
UI Elementv1.5.0Inhaltweb.documentweb.applicationdesktop.shellemail.client
Beispiele
Standard
Invisible beschreibt Oberflächen als validierbare JSON-Strukturen.
Gedämpft, klein
Sekundäre Information in gedämpftem Ton.
Groß
Ein größerer Absatz für Einleitungen.
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
text * | string | — |
tone | string: default | muted | "default" |
size | string: 2xs | xs | sm | md | lg | "md" |
weight | string: regular | medium | semibold | "regular" |
compact | boolean | false |
tabular | boolean | false |
color | string | "" |
inline | boolean | false |
padding | string: standard | none | sm | md | lg | xl | "standard" |
margin | string: standard | none | sm | md | lg | xl | "standard" |
border | string: standard | none | hairline | strong | "standard" |
radius | string: standard | none | control | surface | pill | "standard" |
backgroundColor | string | "" |
shadow | string: standard | none | sm | md | lg | "standard" |
width | string: standard | full | "standard" |
alignSelf | string: standard | start | center | end | "standard" |
anchor | string | "" |
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--text-color | var(--color-text-default) |
--text-size | var(--font-size-body, var(--text-md)) |
Genutzte Design-Tokens
color.text.default color.text.muted font.family.default leading.base leading.tight text.2xs text.lg text.md text.sm text.xs weight.medium weight.semibold