Skip to content

Android components Data display

StanceStatCard

Beta

A key figure with its label, an icon and the change since last period.

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

Preview

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

StanceStatCard on AndroidStanceStatCard on AndroidStanceStatCard on Android
StanceStatCard, Light appearance
Light
StanceStatCard, Dark appearance
Dark
StanceStatCard, High contrast appearance
High contrast

Usage

kotlin
StanceStatCard("Signatures deployed", "1,284", change = "12%", changeDescription = "up 12% from last month", positive = true)

Accessibility

  • The change is spoken in words.

On other platforms