Usage
SwiftUI
M3ELoadingIndicator()
M3ELoadingIndicator(contained: true)
M3ELoadingIndicator(progress: 0.4)API
| Property | SwiftUI | Description |
|---|---|---|
| progress | progress: Double? | nil / null for indeterminate. |
| contained | contained: Bool | Draws a primaryContainer circle behind it. |
| shapes | shapes: [M3EShape]? | Custom morph sequence (at least two). |
| size | size: CGFloat | Container 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.