iOS components Layout
stanceCard()
StableModifier that gives any view the card treatment: padding, surface colour, border and optional elevation.
- PlatformiOS and iPadOS, SwiftUI
- Builds onA custom Stance component
- Kindmodifier
Preview
Rendered by the SwiftUI library, not drawn by hand.






Usage
Text("Content").stanceCard(elevated: true)Accessibility
- High contrast replaces the shadow with a solid outline