Zahlen-Fluss (animierter Wert) — component.number-flow
Zahl, die bei Wertänderung zum neuen Wert zählt (deutsches Format) — Server rendert den Endwert; mit [data-motion=reduce] am Konsumenten springt er sofort
Componentv1.0.1Datenweb.documentweb.applicationdesktop.shell
Beispiele
Umsatz (zählt beim Erscheinen hoch)
€128.450,50Prozentwert statisch
99,9%Ganzzahl
1.240Eigenschaften
| Prop | Typ | Default |
|---|---|---|
value * | number | — |
decimals | number | 0 |
prefix | string | "" |
suffix | string | "" |
animateOnMount | boolean | false |
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 | "" |
Genutzte Design-Tokens
color.text.default color.text.muted font.family.default size.1