Invisible Docs
GalerieTokens

Mehrzeiliges Textfeld — ui.textarea

Mehrzeiliges Formularfeld mit Label, Zuständen und Formular-Tokens; 1.4 (opt-in): appearance code = Quelltext-Feld im Look von component.code-block

UI Elementv1.4.3Formulareweb.documentweb.applicationdesktop.shell

Beispiele

Klein (sm) — dieselbe Höhe wie ui.button--sm

Gross (lg) — dieselbe Höhe wie ui.button--lg

Standard

Mit Wert + Hinweis

Erscheint auf dem Lieferschein.

Fehlerzustand

Begründung ist erforderlich.

Deaktiviert

Pflichtfeld

Eigenschaften

PropTypDefault
controlIdstring""
labelstring""
name *string—
valuestring""
placeholderstring""
rowsnumber4
appearancestring: default | code"default"
disabledbooleanfalse
invalidbooleanfalse
hintstring""
sizestring: sm | md | lg"md"
requiredbooleanfalse
readonlybooleanfalse
paddingstring: standard | none | sm | md | lg | xl"standard"
marginstring: standard | none | sm | md | lg | xl"standard"
borderstring: standard | none | hairline | strong"standard"
radiusstring: standard | none | control | surface | pill"standard"
textColorstring""
backgroundColorstring""
shadowstring: standard | none | sm | md | lg"standard"
widthstring: standard | full"standard"
alignSelfstring: standard | start | center | end"standard"
anchorstring""

Events & Slots

Events: change

Stellschrauben (Komponenten-Tokens)

TokenDefault
--textarea-backgroundvar(--form-background)
--textarea-bordervar(--form-border)

Genutzte Design-Tokens

border.hairline color.accent color.accent-soft color.border.error color.code.border color.code.muted color.code.surface color.code.surface-raised color.code.text color.status.danger color.text.default color.text.disabled color.text.muted container.md duration.fast easing.standard elevation.inset focus.ring-color focus.ring-width font.family.default font.family.mono form.background form.background-disabled form.border form.border-focus form.border-hover form.error form.placeholder leading.base radius.surface size.1 size.3 size.4 size.5 size.6 text.lg text.md text.sm text.xs weight.medium