component
card
Styles GroupBox: bordered surface, adaptive label, content spacing.
cardgroup-boxsurfacecontainerstyle

On iPad
The same installed source at a regular width. It adapts its layout without a separate design.


Install
With the sweetui tool (brew install mangobyte-dev/tap/sweetui):
sweetui install card --destination Sources/YourFeature/ComponentsInstalls in order: card 0.2.1. Point --destination at a folder inside the consuming target's sources.
Usage
GroupBox {
Text("Manage billing and renewal details from your account settings.")
} label: {
Label("Subscription", systemImage: "creditcard.fill")
}
.groupBoxStyle(.registryCard)Accessibility contract
- Preserves reading order (label, content).
- System styles; grows Dynamic Type.
- Leading alignment follows layout direction.
- No interaction/selection added.
Details
| Kind | component |
| Version | 0.2.1 |
| Platforms | iOS 26.0+ |
| Dependencies | none |
| Source | Registry/sources/components/RegistryCardStyle.swift |
| Xcode preview | Card |