When to use it
Use for a compact text action inside native watch scrolling containers. Keep navigation, persistence, and feedback in the application; leading content must be decorative.
Trigger a compact, full-width action on watchOS and Wear OS.
Apple availability
Import LumenUI in the target that uses this component.
Native example
Use for a compact text action inside native watch scrolling containers. Keep navigation, persistence, and feedback in the application; leading content must be decorative.
import LumenUI
import SwiftUI
struct WatchActionExample: View {
@State private var saved = false
var body: some View {
LumenWatchActionRow("Save session", enabled: !saved, action: { saved = true })
}
}Reference
The primary shared and platform-specific options exposed by LumenWatchActionRow.
| API | Values or type | Default | Description |
|---|---|---|---|
| title | Native localized text | Required | Names the action. |
| action | Action callback | Required | Runs when enabled. |
| detail | Optional native text | nil / null | Adds wrapping supporting text. |
| enabled | Boolean | true | Disables interaction and exposes disabled state. |
| leading | Optional decorative view | EmptyView / null | Adds a supporting icon. |
Native behavior
Use for a compact text action inside native watch scrolling containers. Keep navigation, persistence, and feedback in the application; leading content must be decorative.
Provides one named button target with wrapping text and an exposed disabled state.
Shared component