Terminwahl (Tage und Uhrzeiten) — component.slot-picker
Auswahl eines Zeitfensters aus vielen Terminen: Tagesleiste (Wochentag, Tag, Monat; Punkt am Tag mit gewähltem Termin) und darunter die Uhrzeiten des Tages als Chips. Native Radios mit einem name – funktioniert in jedem Formular und in component.wizard (required, Zusammenfassung über data-summary).
Beispiele
Termin wählen (Pflicht)
Mit Vorauswahl
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
name * | string | — |
label | string | "" |
times * | array | — |
value | string | "" |
hint | string | "" |
selectedLabel | string | "Ihr Termin" |
errorText | string | "Bitte wählen Sie einen Termin." |
required | boolean | false |
Events & Slots
Events: change
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--slot-picker-tone | var(--color-action-primary) |
--slot-picker-on-tone | var(--color-action-on-primary) |
--slot-picker-border | color-mix(in srgb, var(--color-border-default) 80%, transparent) |
--slot-picker-surface | var(--color-surface-default) |
--slot-picker-muted | var(--color-text-muted) |
Genutzte Design-Tokens
border.hairline color.action.on-primary color.action.primary color.border.default color.status.danger color.surface.default color.text.default color.text.muted duration.base duration.fast easing.standard focus.ring-color focus.ring-offset focus.ring-width font.family.default font.family.display form.error leading.tight radius.full size.05 size.1 size.1-5 size.12 size.2 size.24 size.3 size.4 size.40 state.disabled-opacity text.md text.sm text.xl text.xs tracking.wide weight.medium weight.semibold