Docs
FormsPro

Profile FormNew

An edit-profile section: photo, name, a username that checks itself as it's typed, bio with a count, and Save.

$npx swiftpieces add ProfileForm

Needs a SwiftPieces Pro license: npx swiftpieces login first.

Open in the Pro library View pricing Live preview in every Pro style, and its source with SwiftPieces Pro.
ProPattern · FormsiOS 17+Themed by Pro's design system
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.

All patterns →
SwiftPiecesPro

Build the whole app with one library.

Production-ready screens, whole flows, complete app templates, a Build Kit your agent follows and Pro remixing.

54 screens · 46 patterns · 48 flows · 12 templates · 31 Build Kit skills

Explore Pro