Skip to content

iOS components Data display

StanceBadge

Stable

A short status label in a neutral, info, success, warning or danger tone, always with text.

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

Preview

Rendered by the SwiftUI library, not drawn by hand.

StanceBadge on iOS and iPadOSStanceBadge on iOS and iPadOSStanceBadge on iOS and iPadOS
StanceBadge, Light appearance
Light
StanceBadge, Dark appearance
Dark
StanceBadge, High contrast appearance
High contrast

Usage

swift
StanceBadge("Live", tone: .success)

Accessibility

  • Never colour alone
  • Outlined in high contrast

On other platforms