Feldgruppe — component.fieldset
Formular-Gruppierung (fieldset/legend): fasst zusammengehörige Felder mit Überschrift und optionalem Hinweis zusammen — disabled deaktiviert alle Kinder nativ
Componentv1.0.1Formulareweb.documentweb.applicationdesktop.shell
Beispiele
Rechnungsadresse
Deaktivierte Gruppe
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
legend * | string | — |
hint | string | "" |
disabled | 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" |
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 | "" |
Events & Slots
Slot default: akzeptiert ui.*, component.*, layout.* · Pflicht
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--fieldset-border | var(--color-border-subtle) |
--fieldset-radius | var(--radius-surface) |
Genutzte Design-Tokens
border.hairline color.border.subtle color.text.default color.text.muted font.family.default opacity.disabled radius.surface size.2 size.3 size.4 size.5 text.md text.sm weight.semibold