component
textarea
Focus, disabled, invalid chrome.
textareatext-editormultilineformmodifier

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 textarea --destination Sources/YourFeature/ComponentsInstalls in order: textarea 0.4.1. Point --destination at a folder inside the consuming target's sources.
Usage
@State private var notes = ""
TextEditor(text: $notes)
.registryTextArea(accessibilityLabel: Text("Delivery instructions"))Accessibility contract
- Editing, selection, keyboard, scrolling.
- Label needed; no prompt.
- Validation copy, invalid hint.
- Dynamic Type, focus, direction.
Details
| Kind | component |
| Version | 0.4.1 |
| Platforms | iOS 26.0+ |
| Dependencies | none |
| Source | Registry/sources/components/RegistryTextAreaModifier.swift |
| Xcode preview | Textarea States |