Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
FeedbackAndroid

Spinner

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

Public APILumenSpinnerAndroid / Compose

Native example

Use Spinner

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

Spinner rendered in the Android phone emulator Lumen playground
Verified runtime captureAndroid phone emulator
kotlin
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.
modifierNative 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 NativeApple / SwiftUI
Android docsCompose module