Blocks
A new part of the library: blocks, whole sections of an iOS screen, laid out, wired and given their states, ready to drop into any app. Six ship with SwiftPieces Pro, themed by its design system.
LatestOct 19, 2026 · 7 changes
What shipped
- Sign In: email and password with autofill and validation on submit, a sign-in button that shows the work and the outcome, Sign in with Apple, and creating an account in the same block.
- Account Settings: your profile, appearance and notification preferences bound to your app's values, exporting your data, sign out and deleting the account behind a calm confirmation.
- Stats Overview: a headline metric and its change on a chart you scrub, a range control, metric tiles, and designed loading, empty and retry states.
- Checkout: the bag with quantities, delivery, a promo code and a total that follows every change, then Apple Pay or one Pay button through to the placed order.
- Plan and Usage: the subscription section of Settings, with usage meters that warn near a limit. Invite Friends: a referral section with your code, a share link and who joined.
- Each block is one SwiftUI file themed by Pro's design system and re-skins with its thirteen families.
npx swiftpieces add SignInBlockinstalls it with the design system, with a Pro license. - Blocks have their own page at /blocks and their own section in the docs, by category, with a still of each block and what is inside it.