When to use it
Use for a compact product metric. Avoid decorative dashboard numbers that do not support a decision or task.
Display a compact product metric with semantic tone and optional supporting context.
Native example
Use for a compact product metric. Avoid decorative dashboard numbers that do not support a decision or task.
LumenStat(
label = "Open windows",
value = "12",
detail = "Across 3 workspaces",
tone = LumenMetricTone.Accent
)Reference
The primary shared and platform-specific options exposed by LumenStat.
| API | Values or type | Default | Description |
|---|---|---|---|
| label | String | Required | Names the metric. |
| value | String | Required | Provides the formatted metric value. |
| detail | String? | null | Adds supporting context. |
| graphic | (@Composable () -> Unit)? | null | Adds an optional semantic graphic. |
| tone | neutral · brand · accent · success · warning · danger | brand | Selects semantic emphasis. |
Native behavior
Use for a compact product metric. Avoid decorative dashboard numbers that do not support a decision or task.
Metric content is combined into a concise readable unit. The value must remain meaningful without relying on color or icon alone.
Shared component