Checkbox

Checkbox mit Label, Zuständen (disabled, invalid) und Formular-Tokens

UI Elements v1.0.0 Formular WebsiteAppDesktop ui.checkbox

Beispiele

Standard
Angehakt
Fehlerzustand
Zustimmung ist erforderlich.
Deaktiviert

Eigenschaften

PropTypDefaultBuilder-Label
label *stringLabel
name *stringFeldname
checkedbooleanfalseAngehakt
disabledbooleanfalseDeaktiviert
invalidbooleanfalseFehlerzustand
hintstring""Hinweis/Fehlertext

* Pflicht-Prop

Events & Slots

Events: ⚡ change — im Surface per on: {<event>: {action, params}} verdrahtbar.

Genutzte Design-Tokens

color.action.primarycolor.status.dangercolor.text.defaultcolor.text.disabledcolor.text.mutedfocus.ring-colorfocus.ring-offsetfocus.ring-widthfont.family.defaultform.erroricon.smsize.2state.disabled-opacitytext.mdtext.xs