Invisible Docs
GalerieTokens

Satz mit Lücke (Gap Text) — component.gap-text

Text mit einer oder mehreren Luecken (___ im Text). mode input: jede Luecke ist ein Eingabefeld (meldet input und submit); mode slot: die Luecke wird von aussen gefuellt (Auswahl, Kacheln) und zeigt gaps[].value. Zustand je Luecke: open, active, correct, near (fast richtig), wrong, solution - mit Fa

Componentv1.1.0Formulareweb.documentweb.applicationdesktop.shellbuilder.preview

Beispiele

Eingabe offen, mit Uebersetzung und hervorgehobenem Wort

The is red.

Der Apfel ist rot.

Von aussen gefuellt und richtig

I see a bird.

Ich sehe einen Vogel.

Richtig

Falsch getippt, mit Tipp darueber

K B I E

My is blue.

Noch nicht richtig

Zwei Luecken: eine fertig, eine aktiv

Good morning, Lücke 2!

Guten Morgen, Oma!

Eigenschaften

PropTypDefault
textstring""
gapsarray[]
modestring: input | slot"input"
hintstring""
translationstring""
translationMarkstring""
translationShownbooleantrue
langstring""
sizestring: md | lg | xl"md"
widthnumber6
maxLengthnumber40
labelstring""
statusstring""
disabledbooleanfalse

Events & Slots

Events: input, submit

Stellschrauben (Komponenten-Tokens)

TokenDefault
--gap-text-accentvar(--app-control-primary, var(--color-action-primary))
--gap-text-surfacevar(--color-surface-default)

Genutzte Design-Tokens

app.control-primary border.emphasis color.action.primary color.border.strong color.status.danger color.status.success color.status.warning color.surface.default color.surface.sunken color.text.default color.text.muted duration.fast duration.slow easing.standard focus.ring-color focus.ring-offset focus.ring-width font.family.default radius.control size.05 size.1 size.2 size.3 size.4 state.disabled-opacity text.2xl text.3xl text.lg text.md text.sm text.xl weight.medium weight.semibold