component
separator
Orientation, insets, native Divider.
separatordividerlayoutinsetmodifier

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 separator --destination Sources/YourFeature/ComponentsInstalls in order: separator 0.2.1. Point --destination at a folder inside the consuming target's sources.
Usage
Divider()
.registrySeparator(insets: EdgeInsets(top: 0, leading: 16, bottom: 0, trailing: 16))
Divider()
.registrySeparator(.vertical)Accessibility contract
- Noninteractive separator.
- Semantic color, adapts appearance.
- Insets mirror RTL.
- MUST NOT be redundant.
Details
| Kind | component |
| Version | 0.2.1 |
| Platforms | iOS 26.0+ |
| Dependencies | none |
| Source | Registry/sources/components/RegistrySeparatorModifier.swift |
| Xcode preview | Separator |