Skip to content

iOS components Feedback

StanceErrorState

Stable

Explains a failure in plain language and offers a retry action.

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

Preview

Rendered by the SwiftUI library, not drawn by hand.

StanceErrorState on iOS and iPadOSStanceErrorState on iOS and iPadOSStanceErrorState on iOS and iPadOS
StanceErrorState, Light appearance
Light
StanceErrorState, Dark appearance
Dark
StanceErrorState, High contrast appearance
High contrast

Usage

swift
StanceErrorState(message: "We could not load your templates.") {}

Accessibility

  • Title is a heading; retry is a labelled button

On other platforms