Skip to content

iOS components Data display

StanceStatCard

Stable

A key figure with a label and a change that is described in words for VoiceOver.

  • PlatformiOS and iPadOS, SwiftUI
  • Builds onA custom Stance component
  • Kindview

Preview

Rendered by the SwiftUI library, not drawn by hand.

StanceStatCard on iOS and iPadOSStanceStatCard on iOS and iPadOSStanceStatCard on iOS and iPadOS
StanceStatCard, Light appearance
Light
StanceStatCard, Dark appearance
Dark
StanceStatCard, High contrast appearance
High contrast

Usage

swift
StanceStatCard("Deployments", value: "1,284", change: 0.12)

Accessibility

  • Reads “up 12% from last month”, not just an arrow

On other platforms