Public APILumenWatchActionButtonApple / SwiftUISwift product: LumenUI
Apple availability
Supported native targets
Import LumenUI in the target that uses this component.
Apple Watch · watchOS 9+
Native example
Use Wearable action
Use for one essential wrist action. Loading preserves the action tone and prevents repeat activation. On watchOS, Reduce Motion or isLuminanceReduced replaces the loading spinner with a static hourglass. Wear OS ambient presentation, haptics, health or safety policy, synchronization, and command handling remain application-owned.
The primary shared and platform-specific options exposed by LumenWatchActionButton.
Scroll horizontally to compare
API
Values or type
Default
Description
_ accessibilityLabel
LocalizedStringKey or LumenTextContent
Required
Names the essential action. Localize strings on Android; use LumenTextContent.verbatim for resolved runtime text on watchOS.
action
() -> Void
Required
Runs application-owned behavior.
tone
LumenWatchTone
.brand
Applies brand, accent, success, warning, danger, or neutral intent.
dimension
CGFloat
120
Clamps the round target to 48–180 dp on Wear OS or 44–180 points on watchOS. Non-finite input uses 120.
enabled
Bool
true
Controls action and disabled presentation.
loading
Bool
false
Shows busy feedback and blocks activation. Explicitly disabled actions keep their neutral presentation.
loadingAccessibilityValue
LumenTextContent
.localizedKey("Loading")
Names the busy state using application-localized content.
label
@ViewBuilder () -> Label
Required
Provides the visible action content.
Native behavior
Design and accessibility
When to use it
Use for one essential wrist action. Loading preserves the action tone and prevents repeat activation. On watchOS, Reduce Motion or isLuminanceReduced replaces the loading spinner with a static hourglass. Wear OS ambient presentation, haptics, health or safety policy, synchronization, and command handling remain application-owned.
Accessibility
The supplied action label owns the accessible name; decorative content is hidden from assistive technology. Loading exposes a localized busy value and blocks activation. Explicitly disabled actions remain unavailable.