Eingabegruppe — component.input-group
Eingabefeld mit Prefix-/Suffix-Addons im gemeinsamen Rahmen (€-Zeichen, Einheiten, Icons) — der Bootstrap-input-group-Fall für Preis- und Einheitenfelder. 1.1.0: Varianten shape (pill) und addonStyle (plain) als reine Markup-Klassen. 1.2.0: type=password mit reveal = Augen-Knopf (ui.icon-button als
Beispiele
Preisfeld (€-Prefix)
Einheit als Suffix
Suche mit Icon
Fehlerzustand
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
label | string | "" |
name | string | "" |
value | string | "" |
placeholder | string | "" |
type | string: text | number | search | email | url | tel | password | "text" |
reveal | boolean | false |
copyable | boolean | false |
readonly | boolean | false |
autocomplete | string: | off | current-password | new-password | username | email | "" |
prefix | string | "" |
suffix | string | "" |
prefixIcon | string | "" |
suffixIcon | string | "" |
disabled | boolean | false |
invalid | boolean | false |
hint | string | "" |
shape | string: control | pill | "control" |
addonStyle | string: boxed | plain | "boxed" |
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" |
textColor | string | "" |
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 |
|---|---|
--input-group-border | var(--form-border, var(--color-border-default)) |
--input-group-background | var(--form-background, var(--color-surface-default)) |
--input-group-addon-background | var(--color-surface-sunken) |
--input-group-radius | var(--radius-control) |
Genutzte Design-Tokens
border.hairline color.border.default color.border.error color.status.danger color.status.success color.surface.default color.surface.sunken color.text.default color.text.disabled color.text.muted color.text.placeholder control.height control.pad-y duration.fast easing.standard focus.ring-color focus.ring-offset focus.ring-width font.family.default form.background form.border radius.control radius.full size.1 size.2 size.3 size.4 text.md text.sm weight.semibold