Skip to content

iOS components Data display

StanceTag

Stable

A keyword label with an optional remove button labelled with the tag name.

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

Preview

Rendered by the SwiftUI library, not drawn by hand.

StanceTag on iOS and iPadOSStanceTag on iOS and iPadOSStanceTag on iOS and iPadOS
StanceTag, Light appearance
Light
StanceTag, Dark appearance
Dark
StanceTag, High contrast appearance
High contrast

Usage

swift
StanceTag("Sales") {}

Accessibility

  • Remove button reads “Remove Sales”

On other platforms