Profile FormNew
An edit-profile section: photo, name, a username that checks itself as it's typed, bio with a count, and Save.
Pro pattern · recorded from Pro
The SwiftUI source comes with SwiftPieces Pro.
Every Pro pattern installs with one command once your license is signed in, and re-skins with Pro's design system.
Open it in the Pro library ↗Needs a SwiftPieces Pro license: npx swiftpieces login first.
- Type
- ProfileForm
- Inside
- Photo picker, Username check, Bio with a count, Save when changed
- Install, with a Pro license
- npx swiftpieces add ProfileForm
- Depends on
- Pro's Design System, which installs with it
The edit-profile section of an account screen or sheet. The photo changes through the system picker, the username checks availability through your closure and offers suggestions when it's taken, and the bio counts toward its limit. Save wakes only when something changed and everything is valid, shows working, done and failed, and hasChanges lets your sheet confirm before discarding edits.
Its SwiftUI source comes with SwiftPieces Pro: Profile Form in the Pro library.