component
checkbox
Styles Toggle as checkbox; preserves binding, label, state.
checkboxtoggleselectionformstyle

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 checkbox --destination Sources/YourFeature/ComponentsInstalls in order: checkbox 0.3.2. Point --destination at a folder inside the consuming target's sources.
Usage
@State private var accepted = false
Toggle("Accept terms", isOn: $accepted)
.toggleStyle(.registryCheckbox)Accessibility contract
- Toggle: accessibility representation.
- MUST have visible label; preserves enabled state.
- 44-point minimum row height; not color-only.
- Label, glyph, box scale with Dynamic Type, direction.
- iPad: hoverEffect keeps pointer effect; button lacks it.
Details
| Kind | component |
| Version | 0.3.2 |
| Platforms | iOS 26.0+ |
| Dependencies | none |
| Source | Registry/sources/components/RegistryCheckboxToggleStyle.swift |
| Xcode preview | Checkbox |