Usage
Text from @prepared911/ui/text with value. Text formats it, sets tabular numerals, and rolls the digits that changed. roll={false} renders the same formatted number as plain text.
MetricCard, dashboards, counters).children to Text instead of value.MetricCard or Card.| Prop | Purpose |
|---|---|
value | The number. Digits roll to each new value. |
type | Typography role, such as TextType.Title or TextType.Section. |
from | Optional entrance start. Omission paints value with no motion. |
roll | false renders plain formatted text. Default is true. |
announcement | Localized copy a polite live region speaks after the roll settles. |
Text for typography and value mode.MetricCard for the KPI preset.