Skip to content

Android components Feedback

StanceErrorState

Beta

Explains that something failed and offers a retry action.

  • PlatformAndroid, Jetpack Compose
  • Builds onA custom Stance component
  • Kindcomposable

Preview

Rendered by the Jetpack Compose library, not drawn by hand.

StanceErrorState on AndroidStanceErrorState on AndroidStanceErrorState on Android
StanceErrorState, Light appearance
Light
StanceErrorState, Dark appearance
Dark
StanceErrorState, High contrast appearance
High contrast

Usage

kotlin
StanceErrorState("Templates could not load", description = "Check your connection and try again.", onRetry = {}, modifier = Modifier.height(StanceSpacing.space24 * 3))

Accessibility

  • The title is a heading.

On other platforms