Invisible Docs
GalerieTokens

Verlaufslinie (Sparkline) — component.sparkline

Kleine Verlaufsgrafik ohne Achsen für Kennzahl-Karten und Tabellenzellen — reines Inline-SVG, KEINE Diagramm-Bibliothek nötig; Farbe aus Tokens, Wertetabelle als Rückfall entfällt (Werte stehen im aria-label) 1.1: feste Texte mehrsprachig (invisible_i18n).

Componentv1.1.1Datenweb.documentweb.applicationdesktop.shellbuilder.preview

Beispiele

Steigend (Ton automatisch grün)

Fallend (Ton automatisch rot)

Balken, fester Ton

Nur Linie, breiter

Eigenschaften

PropTypDefault
values *array—
tonestring: primary | accent | success | warning | danger | auto"auto"
typestring: line | area | bar"area"
widthnumber120
heightnumber32
labelstring""
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"
alignSelfstring: standard | start | center | end"standard"
anchorstring""

Stellschrauben (Komponenten-Tokens)

TokenDefault
--spark-tonevar(--color-action-primary)

Genutzte Design-Tokens

color.accent color.action.primary color.status.danger color.status.success color.status.warning color.surface.sunken radius.control radius.sm size.1 size.4 size.8