← Changelog

Oct 19, 2026

Blocks

A new part of the library: blocks, whole sections of a screen you drop into any app, each one SwiftUI file with every state designed. Six to start.

  • Sign In: email and password with autofill and validation on submit, Sign in with Apple, an optional passkey, and creating an account in the same block.
  • Account Settings: the profile with its photo and name, appearance drawn in your theme's colours, notification toggles that know when iOS has them off, your data, sign out and deleting the account.
  • Stats Overview: a headline metric and its change on a chart you scrub, ranges that morph the line, metric tiles, and 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 plan and its renewal, usage meters that warn near a limit, upgrade, and managing or restoring the subscription through StoreKit. Invite Friends: the reward, your code to copy or share, and who joined.
  • Blocks are themed by the design system like the screens: each previews in three families, light and dark, and re-skins with your preset. Each takes one value from your app and async closures for the work, and shows working, done and failed itself.
  • Blocks have their own tab in the library and their own row in the navbar's Library menu. Everything is the Library menu itself now, and the first tab.
  • Install a block like a screen: npx swiftpieces add sign-in brings the design system with it, or ask your agent through the MCP server. swiftpieces.com lists every block with a still.