Skip to content

iOS components Feedback

StanceInlineAlert

Stable

An inline status message with a tone icon, title, message and optional actions.

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

Preview

Rendered by the SwiftUI library, not drawn by hand.

StanceInlineAlert on iOS and iPadOSStanceInlineAlert on iOS and iPadOSStanceInlineAlert on iOS and iPadOS
StanceInlineAlert, Light appearance
Light
StanceInlineAlert, Dark appearance
Dark
StanceInlineAlert, High contrast appearance
High contrast

Usage

swift
StanceInlineAlert("Relay offline", message: "Deployments will resume.", tone: .warning)

Accessibility

  • Warning and danger tones are announced when shown

On other platforms