Invisible Docs
GalerieTokens

Auswahl-Karten (Choicebox) — component.choice-box

Radio- oder Mehrfachauswahl als Karten mit Titel, Beschreibung, optionalem Icon und Badge — Tastatur-fähig, emittiert selection 1.2.0 (01.11.2026, opt-in, iamgreat Kursspieler): marker key|none (options[].key als Marker-Text), size lg (grosse Kacheln fuer Vorlese-Kinder), disabled (ganze Gruppe), op

Componentv1.6.0Formulareweb.documentweb.applicationdesktop.shellbuilder.preview

Beispiele

Einfachauswahl (Radio-Karten)

Versandart

Mehrfachauswahl mit deaktivierter Karte

Zusatzleistungen

Eigenschaften

PropTypDefault
labelstring""
multiplebooleanfalse
columnsnumber2
options *array—
spacingstring: default | none | sm | md | lg | xl"default"
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""
markerstring: circle | key | none"circle"
sizestring: md | lg"md"
disabledbooleanfalse
labelHiddenbooleanfalse
layoutstring: grid | bar"grid"
hotkeysbooleanfalse
controlledbooleanfalse
variantstring: default | card"default"
audioLabelstring"Anhören"
animatebooleanfalse

Events & Slots

Events: selection, audio

Stellschrauben (Komponenten-Tokens)

TokenDefault
--choice-box-action-primaryvar(--color-action-primary)
--choice-box-border-strongvar(--color-border-strong)
--choice-box-focus-ring-colorvar(--focus-ring-color)
--choice-box-focus-ring-offsetvar(--focus-ring-offset)
--choice-box-focus-ring-widthvar(--focus-ring-width)
--choice-box-radius-fullvar(--radius-full)
--choice-box-radius-surfacevar(--radius-surface)
--choice-box-surface-defaultvar(--color-surface-default)
--choice-box-text-defaultvar(--color-text-default)
--choice-box-text-mutedvar(--color-text-muted)

Genutzte Design-Tokens

border.hairline color.action.primary color.border.strong color.status.danger color.status.success color.surface.default color.surface.sunken color.text.default color.text.muted control.height duration.base duration.fast duration.slow easing.standard focus.ring-color focus.ring-offset focus.ring-width font.family.default radius.control radius.full radius.surface size.05 size.1 size.10 size.12 size.2 size.3 size.4 size.6 size.8 text.2xl text.md text.sm weight.medium weight.semibold