Skip to content

iOS components Actions

StanceButton

Stable

A button with six variants, three sizes, icons, a pill shape and a loading state that blocks repeat taps.

  • PlatformiOS and iPadOS, SwiftUI
  • Builds onButton
  • Kindview

Preview

Rendered by the SwiftUI library, not drawn by hand.

StanceButton on iOS and iPadOSStanceButton on iOS and iPadOSStanceButton on iOS and iPadOS
StanceButton, Light appearance
Light
StanceButton, Dark appearance
Dark
StanceButton, High contrast appearance
High contrast

Usage

swift
StanceButton("Deploy", leadingIcon: .send, isLoading: false) {}

Accessibility

  • 44pt minimum target at every size
  • Loading is announced as “In progress”

On other platforms