Skip to content

Android components Feedback

StanceInlineAlert

Beta

A status message placed inside the content it relates to.

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

Preview

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

StanceInlineAlert on AndroidStanceInlineAlert on AndroidStanceInlineAlert on Android
StanceInlineAlert, Light appearance
Light
StanceInlineAlert, Dark appearance
Dark
StanceInlineAlert, High contrast appearance
High contrast

Usage

kotlin
StanceInlineAlert("13 mailboxes could not be updated.", tone = StanceTone.Warning, title = "Deployment incomplete")

Accessibility

  • Warnings and errors are announced immediately.

On other platforms