Spinner

fun Spinner(modifier: Modifier = Modifier, intent: SpinnerIntent = SpinnerIntent.Current, size: SpinnerSize = SpinnerDefaults.Size)

Spinners provide a visual clue that an action is processing awaiting a course of change or a result.

Parameters

intent

The SpinnerIntent colors that will be used to draw the spinner

modifier

the Modifier to be applied to this component

size

one of the SpinnerSizes that defines the size of the component

isBackgroundVisible

whether a background should be drawn