Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
ActionsAndroid

Wearable action

Present one at-a-glance, round primary action on watchOS or Wear OS.

Public APILumenWearActionButtonAndroid / Compose

Native example

Use Wearable action

Use for one essential wrist action. Keep haptics, health or safety policy, synchronization, and command handling in the application.

Wearable action rendered in the Wear OS emulator Lumen playground
Verified runtime captureWear OS emulator
kotlin
LumenWearActionButton(
    accessibilityLabel = "Start contraction",
    onClick = ::startContraction
) { TimerLabel() }

Reference

Public API

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

APIValues or typeDefaultDescription
accessibilityLabelNative localized textRequiredNames the essential action.
onClick() -> UnitRequiredRuns application-owned behavior.
tonebrand · accent · success · warning · danger · neutralbrandApplies semantic intent.
dimensionNative display units120Clamps the round target to wearable-safe bounds.
enabledBooleantrueControls action and disabled presentation.

Native behavior

Design and accessibility

When to use it

Use for one essential wrist action. Keep haptics, health or safety policy, synchronization, and command handling in the application.

Accessibility

Requires one concise action label, preserves native button semantics, and exposes disabled state without duplicating visible content.

Shared component

Available on other platforms

Apple / SwiftUI
Android docsCompose module