Stat
Metric with unit, delta and trend.
beta
API
import Stat from '@tcpsystems/ui/foundation/Stat';| Prop | Type | Default |
|---|---|---|
label | string | none |
value | string | none |
unit? | string | none |
delta? | string | none |
deltaTone? | 'good' | 'bad' | none |
foot? | string | none |
| Snippet |
|---|
spark |
| Hook | Kind |
|---|---|
.tcp-stat | Root class |
data-tone | Data attribute |