Docs
CommercePro

CheckoutNew

A one-column checkout: bag with steppers, address and delivery speed, promo code, summary, then Pay or Apple Pay to the placed order.

$npx swiftpieces add CheckoutBlock

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.
ProBlock · CommerceiOS 17+Themed by Pro's design system
Type
CheckoutBlock
Inside
Bag with quantity steppers, Address and delivery speed, Promo code and a total that follows, Pay and Apple Pay to the placed order
Install, with a Pro license
npx swiftpieces add CheckoutBlock
Depends on
Pro's Design System, which installs with it

The checkout section of a cart or checkout screen. Each bag line has a quantity stepper, and the line price, summary and Pay label roll as quantities change; delivery shows the address with Change and each speed with its day and price, and a promo code applies or explains why not. Pay shows its working, done and failed states in place, Apple Pay uses the system button, and the block settles into the placed order with its number and arrival day.

Its SwiftUI source comes with SwiftPieces Pro: Checkout in the Pro library.

All blocks →
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 · 6 blocks · 48 flows · 12 templates · 31 Build Kit skills

Explore Pro