JetpackLoadingWheel

fun JetpackLoadingWheel(contentDesc: String, modifier: Modifier = Modifier)

An animated loading indicator with 12 rotating lines that fade in and out.

This loading wheel uses custom animations with:

  • Rotation animation: 360-degree continuous rotation

  • Color animation: Lines transition from base color to progress color

  • Entry animation: Lines draw out with staggered timing on first appearance

  • Semantic content: Includes contentDescription for accessibility

Usage example:

Box(modifier = Modifier.fillMaxSize(), contentAlignment = Alignment.Center) {
JetpackLoadingWheel(
contentDesc = "Loading data",
modifier = Modifier.size(48.dp),
)
}

See also:

Parameters

contentDesc

The content description for accessibility services.

modifier

The modifier to be applied to the loading wheel. Default size is 48.dp.