DotNaos UI
SystemTile

Metric Tile

Metric Tile from the System package.

Source code

Waiting for the preview before loading source files · 2 of 2

Properties

Public properties derived from the component’s TypeScript signature.

PropertyTypeDefault
labelRequired
string
valueRequired
number
maxOptionalUpper bound of the metric; also scales the sparkline (default: 100).
number
100
unitOptional
string
toneOptional
"muted" | "accent" | "danger" | "warning" | "success"
"accent"
trendOptional
"flat" | "down" | "up"
trendLabelOptionalShort context next to the trend glyph, e.g. "+12% vs last hour".
string
samplesOptionalRecent history rendered as a sparkline when present.
readonly MetricSample[]
formatValueOptional
MetricFormatter