When to use it
Use for one high-priority value with a short label. Avoid dashboard grids that overload small round screens.
Present one at-a-glance wearable label, value, and optional detail.
Apple availability
Import LumenUI in the target that uses this component.
Native example
Use for one high-priority value with a short label. Avoid dashboard grids that overload small round screens.
LumenWatchMetric("Duration", value: elapsed, tone: .brand)Reference
The primary shared and platform-specific options exposed by LumenWatchMetric.
| API | Values or type | Default | Description |
|---|---|---|---|
| _ label | LocalizedStringKey | Required | Names the metric. |
| value | String | Required | Provides the formatted value. |
| detail | LocalizedStringKey? | nil | Adds brief supporting context. Wear OS omits null, empty, or blank detail. |
| tone | LumenWatchTone | .neutral | Applies brand, accent, success, warning, danger, or neutral value color. |
Native behavior
Use for one high-priority value with a short label. Avoid dashboard grids that overload small round screens.
Combines label, value, and optional detail into one readable metric on watchOS and Wear OS. Keep the formatted value concise and localize the label and detail.
Shared component