Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Apple docs
FeedbackApple

Spinner

Communicate an indeterminate native loading state with a semantic brand treatment.

Public APILumenSpinnerApple / SwiftUISwift product: LumenUI

Apple availability

Supported native targets

Import LumenUI in the target that uses this component. iPad support follows the iOS package baseline and uses native iPad layout behavior.

iPhone · iOS 16+iPad · iPadOS 16+Mac · macOS 13+Apple TV · tvOS 16+Apple Vision · visionOS 1+Apple Watch · watchOS 9+

Native example

Use Spinner

Use for indeterminate waits. If progress can be measured, prefer Progress and report the current value.

Spinner rendered in the iPhone simulator Lumen playground
Verified runtime captureiPhone simulator
swift
LumenSpinner(label: "Loading projects")

Reference

Public API

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

APIValues or typeDefaultDescription
labelStringLoadingNames the operation for assistive technology.
colorNative colorbrandOverrides the semantic progress color.
SwiftUI modifiersNative presentation APIAdjusts native size or layout.

Native behavior

Design and accessibility

When to use it

Use for indeterminate waits. If progress can be measured, prefer Progress and report the current value.

Accessibility

The spinner exposes a native progress role and an accessible loading label.

Shared component

Available on other platforms

React NativeAndroid / Compose
Apple docsSwiftUI package