Docs
FormsPro

Step FormNew

A multi-step form container: a step indicator, your view per step, Back and Continue, Review with Edit, and Submit.

$npx swiftpieces add StepForm

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
StepForm
Inside
Step segments, A view per step, Review with Edit, Submit states
Install, with a Pro license
npx swiftpieces add StepForm
Depends on
Pro's Design System, which installs with it

A container for forms that take several steps, such as a booking or a new project. Each step is your own view with a validity flag, so Continue waits until it's complete, and steps slide in from the side they come from. Review sums up the answers each step reports with Edit links that jump back, and Submit shows working, done and failed.

Its SwiftUI source comes with SwiftPieces Pro: Step 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