Stat Card
Key metric display: label, large value, optional delta with up/down coloring.
data stat-card
Controls
delta
deltaup
Current props
delta:deltaup:
Usage
data.StatCard(data.StatCardProps{
Label: "Monthly revenue",
Value: "$48,200",
Delta: "+12.4%",
DeltaUp: true,
})Props
| Name | Type | Options | Default |
|---|---|---|---|
delta | bool | — | true |
deltaup | bool | — | true |