← Components / Progress

Loading indicator

Replaces the indeterminate spinner for waits under a few seconds. Indeterminate, determinate (morphs from circle to burst as progress grows) and contained versions, with the exact Compose timing.

SwiftUIReact Native · Coming soonFlutter · Coming soon

Usage

SwiftUI
M3ELoadingIndicator()
M3ELoadingIndicator(contained: true)
M3ELoadingIndicator(progress: 0.4)

API

PropertySwiftUIDescription
progressprogress: Double?nil / null for indeterminate.
containedcontained: BoolDraws a primaryContainer circle behind it.
shapesshapes: [M3EShape]?Custom morph sequence (at least two).
sizesize: CGFloatContainer size, 48 by default.

Guidelines

  • Use for short, indeterminate waits; use wavy progress when you can show how far along it is.
  • Don't show more than one at a time on a screen.