Skip to content

iOS components Data display

StanceAvatar

Stable

A person or organisation shown as an image or initials, in three sizes.

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

Preview

Rendered by the SwiftUI library, not drawn by hand.

StanceAvatar on iOS and iPadOSStanceAvatar on iOS and iPadOSStanceAvatar on iOS and iPadOS
StanceAvatar, Light appearance
Light
StanceAvatar, Dark appearance
Dark
StanceAvatar, High contrast appearance
High contrast

Usage

swift
StanceAvatar(name: "Priya Nair", size: .large)

Accessibility

  • Name is the accessibility label

On other platforms