Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
Data displayAndroid

Wearable metric

Present one at-a-glance wearable label, value, and optional detail.

Public APILumenWearMetricAndroid / Compose

Native example

Use Wearable metric

Use for one high-priority value with a short label. Avoid dashboard grids that overload small round screens.

Wearable metric rendered in the Wear OS emulator Lumen playground
Verified runtime captureWear OS emulator
kotlin
@Composable
fun DurationMetric(elapsed: String) {
    LumenWearMetric(label = "Duration", value = elapsed, tone = LumenWearTone.Brand)
}

Reference

Public API

The primary shared and platform-specific options exposed by LumenWearMetric.

APIValues or typeDefaultDescription
labelNative localized textRequiredNames the metric.
valueStringRequiredProvides the formatted value.
detailOptional native localized textnilAdds brief supporting context.
tonebrand · accent · success · warning · danger · neutralneutralApplies semantic value color.

Native behavior

Design and accessibility

When to use it

Use for one high-priority value with a short label. Avoid dashboard grids that overload small round screens.

Accessibility

Combines label, value, and optional detail into one concise readable metric.

Shared component

Available on other platforms

Apple / SwiftUI
Android docsCompose module