Step FormNew
A multi-step form container: a step indicator, your view per step, Back and Continue, Review with Edit, and Submit.
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
- 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.