Skip to content

iOS components Data display

stanceListStyle()

Stable

Modifiers that put List and Form on the Stance canvas with themed rows and separators.

  • PlatformiOS and iPadOS, SwiftUI
  • Builds onList
  • Kindmodifier

Preview

Rendered by the SwiftUI library, not drawn by hand.

stanceListStyle() on iOS and iPadOSstanceListStyle() on iOS and iPadOSstanceListStyle() on iOS and iPadOS
stanceListStyle(), Light appearance
Light
stanceListStyle(), Dark appearance
Dark
stanceListStyle(), High contrast appearance
High contrast

Usage

swift
List { Text("Row").stanceListRow() }.stanceListStyle()

Accessibility

  • Keeps native list behaviour, swipe actions and editing

On other platforms