component
label
Controls Label icon placement with semantic spacing.
labelicontextalignmentstyle

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 label --destination Sources/YourFeature/ComponentsInstalls in order: label 0.2.1. Point --destination at a folder inside the consuming target's sources.
Usage
Label("Account settings", systemImage: "person.crop.circle")
.labelStyle(.registry)
Label("Continue", systemImage: "chevron.forward")
.labelStyle(.registryTrailingIcon)Accessibility contract
- Title is accessible; icon decorative.
- RTL mirrors leading/trailing.
- Inherits caller's text style, Dynamic Type.
Details
| Kind | component |
| Version | 0.2.1 |
| Platforms | iOS 26.0+ |
| Dependencies | none |
| Source | Registry/sources/components/RegistryLabelStyle.swift |
| Xcode preview | Label |