Invisible Docs
GalerieTokens

Eingabefeld — ui.input

Einzeiliges Formularfeld mit Label, Zuständen (disabled, invalid) und Formular-Tokens. 1.7.0: appearance=underline (ohne Fläche, nur Linie unten) für Eingaben im Textfluss. 1.7.1: width=full füllt die Breite auch im Desktop. 1.8.0: reveal (opt-in, nur type password) - Schloss im Feld schaltet zwisch

UI Elementv1.13.0Formulareweb.documentweb.applicationdesktop.shell

Beispiele

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

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

Standard mit Label

Mit Wert + Hinweis

Wird für Rechnungen verwendet.

Fehlerzustand

IBAN ist unvollständig.

Deaktiviert

Passwort

Termin mit Datum und Uhrzeit (datetime-local, 1.13.0)

Pflichtfeld + readonly-Beispiel

Wird vom System vergeben.

Eigenschaften

PropTypDefault
maxlengthnumber0
acceptstring""
revealbooleanfalse
rulesarray[]
lockedByobject[]
multiplebooleanfalse
controlIdstring""
autocompletestring: | on | off | organization | given-name | family-name | email | username | current-password | new-password""
labelstring""
name *string—
valuestring""
placeholderstring""
typestring: text | email | password | number | search | tel | url | file | hidden | date | time | datetime-local"text"
disabledbooleanfalse
invalidbooleanfalse
hintstring""
sizestring: sm | md | lg"md"
appearancestring: field | underline"field"
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
--input-backgroundvar(--form-background)
--input-bordervar(--form-border)
--input-colorvar(--color-text-default)

Genutzte Design-Tokens

border.hairline color.accent color.accent-soft color.border.error color.status.danger color.status.success color.surface.sunken color.text.default color.text.disabled color.text.muted container.sm control.height control.pad-x duration.fast easing.standard elevation.inset focus.ring-color focus.ring-width font.family.default form.background form.background-disabled form.border form.border-focus form.border-hover form.error form.placeholder leading.base radius.full size.05 size.1 size.2 size.3 size.4 size.6 size.8 text.lg text.md text.sm text.xs weight.medium