Skip to main content
239

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Themes
Apple docs
Data displayApple

Wearable progress

Surround wearable content with clamped semantic circular progress.

Public APILumenWatchProgressRingApple / 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 progress

Use for short at-a-glance progress. On watchOS, isLuminanceReduced hides both ring strokes while preserving center content and its accessibility value. Wear OS ambient presentation, background work, update scheduling, and sensitive-content policy remain application-owned.

Wearable progress rendered in the watchOS simulator Lumen playground
Captured examplewatchOS simulator
swift
LumenWatchProgressRing(value: elapsed, maximum: threshold) {
    TimerLabel()
}

Reference

Public API

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

APIValues or typeDefaultDescription
valueDoubleRequiredClamps current progress to zero through maximum; non-finite values become zero.
maximumDouble1Defines the upper bound. Non-positive or non-finite values use 1.
toneLumenWatchTone.brandApplies brand, accent, success, warning, danger, or neutral progress color.
lineWidthCGFloat4Clamps the stroke to 2–12 native display units; non-finite values use 4.
content@ViewBuilder () -> ContentRequiredProvides application-owned center content. Give the content or its container a size for the ring.

Native behavior

Design and accessibility

When to use it

Use for short at-a-glance progress. On watchOS, isLuminanceReduced hides both ring strokes while preserving center content and its accessibility value. Wear OS ambient presentation, background work, update scheduling, and sensitive-content policy remain application-owned.

Accessibility

Wear OS exposes the clamped value and maximum through progressBarRangeInfo and merges center content semantics. watchOS names the element Progress, exposes a percentage value, and preserves the center content as contained children.

Shared component

Available on other platforms

Android / Compose
Apple docsSwiftUI package