Vorschläge — component.suggestion
Anschluss-Fragen als Pillen unter der Antwort oder über der Eingabe — Klick meldet den Text zur Übernahme in die Prompt-Eingabe
Componentv1.0.2AIweb.applicationdesktop.shellbuilder.preview
Beispiele
Anschluss-Fragen unter der Antwort
Weiter mit:
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
label | string | "" |
items * | array | — |
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
Events: select
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--suggestion-action-primary | var(--color-action-primary) |
--suggestion-border-default | var(--color-border-default) |
--suggestion-radius-full | var(--radius-full) |
--suggestion-surface-default | var(--color-surface-default) |
--suggestion-text-default | var(--color-text-default) |
--suggestion-text-muted | var(--color-text-muted) |
Genutzte Design-Tokens
border.hairline color.action.primary color.border.default color.surface.default color.text.default color.text.muted duration.fast easing.standard font.family.default radius.control radius.full size.2 size.3 text.md text.sm text.xs weight.medium