Template · Commerce

New

Shop App SwiftUI Template

Atelier, a shop for a small homeware studio: a complete Xcode project with seasonal edits, filters, product pages, a bag that checks out with Apple Pay, order tracking, widgets and three brand presets. 17 screens and 5 flows in Atelier, as a SwiftUI app template.

A shop on four tabs. First run opens on the season's pieces, asks which shelves to put first, offers delivery notifications and an account with Sign in with Apple, then Atelier Club on StoreKit 2. Shop leads with the current edit, new pieces and every shelf, with sort and a filter sheet for colour, price and stock; a piece opens on a page with its glazes, sizes, delivery dates, Add to bag and Apple Pay. Search, Saved and Account sit beside it, and the bag checks out to an order you can follow from placed to delivered.

  • SwiftUI
  • iOS 17.0+
  • Xcode project 1.0.0
  • shop-app
17 Screens5 Flows
Get SwiftPieces Pro

$199 once, every piece included. See how installing works · Sign in

01

Flows

Complete journeys through Atelier, from first launch to sign out, screen by screen. Open one to play it, or choose any screen to start there.

The first 3 steps of every flow are open. Pro opens every screen of every template, live in each style, and the SwiftUI to build them.

01 · Onboarding

First Run

From the welcome through your shelves, delivery notifications, an account and Atelier Club to the shop.

6 Screens10 Steps
Play the flow
  1. 01Welcome
  2. 02Pick Your Shelves
  3. 03Vases And Light
  4. 04Delivery Notifications
  5. 05Allow Notifications
  6. 06Sign In
  7. 07Sign In With Apple
  8. 08Atelier Club
  9. 09Welcome To The Club
  10. 10Your Shelves First

02 · Core Journey

Find A Piece

From the winter edit to a vase in the glaze and size you want, added to the bag.

3 Screens7 Steps
Play the flow
  1. 01Shop
  2. 02Edit
  3. 03Product
  4. 04Pick A Glaze
  5. 05Pick A Size
  6. 06The Bar Docks
  7. 07Added To Bag

03 · Core Journey

Browse And Search

Filter a shelf by colour and price, search the shop and keep what you like in Saved.

3 Screens6 Steps
Play the flow
  1. 01Collection
  2. 02Filters
  3. 03Coral Under $70
  4. 04Search
  5. 05Search Results
  6. 06Saved

04 · Core Journey

Check Out

Check out the bag with a promo code, follow the order to the door, or buy one piece with Apple Pay.

3 Screens7 Steps
Play the flow
  1. 01Bag
  2. 02Express Delivery
  3. 03A Promo Code
  4. 04Order Placed
  5. 05Order
  6. 06Buy With Apple Pay
  7. 07Paid

05 · Profile And Settings

Account And Orders

Club, past orders, notifications, the theme, the widget gallery and signing out back to the welcome.

6 Screens8 Steps
Play the flow
  1. 01Account
  2. 02Orders
  3. 03A Delivered Order
  4. 04Notifications
  5. 05Theme
  6. 06Widget Gallery
  7. 07Sign Out
  8. 08Back To The Welcome

02

Screens

Every screen in Atelier, 17 in all, each a SwiftUI view in the Xcode project. In Riso, Phosphor and Press, light and dark.

First run

Welcome, permissions and the questions that set the app up.

  • Welcome

    Atelier opens on the winter edit's cover, with one line on what the studio makes.

  • Pick Your Shelves

    Pick the shelves you shop most, and the shop puts them first.

  • Delivery Notifications

    Allow a note when an order ships and arrives, shown as it lands on the Lock Screen.

Account and subscription

Sign in, verification and the paywall.

  • Sign In

    Sign in with Apple to keep orders on every iPhone, or continue without an account.

  • Atelier Club

    Join Atelier Club on a yearly plan with seven days free, or pick monthly.

    Built onPaywallPurchase

Tabs

Where the app opens, one screen per tab.

  • Shop

    The current edit, new this week and every shelf, with your shelves first along the top.

  • Search

    Search by name, material or colour, with recent searches, suggestions and shelves.

  • Saved

    The pieces you saved, each moved to the bag in one tap.

Details and sheets

What the tabs push and present.

  • Collection

    A shelf or everything new on two columns, with sort and a filter sheet for colour, price and stock.

    Built onFilters

  • Edit

    A seasonal edit on its block, with the pieces in it.

  • Product

    A piece in the glaze you pick, with sizes, delivery, Add to bag and Apple Pay on a bar that docks.

    Built onProduct

  • Bag

    Check out the bag: quantities, the address, delivery speed, a promo code, Pay and Apple Pay.

  • Order

    Follow an order from placed to delivered, with what's in it and what it cost.

    Built onOrder

Profile and settings

The account, preferences, the subscription and sign out.

  • Account

    Atelier Club, orders, the address and card, notifications, the theme, and sign out.

    Built onSettings

  • Orders

    Orders on the way, then the ones delivered.

  • Theme

    Switch between Atelier's Riso, Phosphor and Press presets and set the appearance.

  • Widget Gallery

    Review the Order and New edit widgets at their real sizes, from Account in debug builds.

03

Built from the library

The library screens this template wires together, in the order someone meets them. Each one installs on its own too.

First run

The welcome, the shelves you shop first, delivery notifications, an account with Sign in with Apple (or none) and the Atelier Club paywall on StoreKit 2. Runs once, then records completion.

Tabs

Shop, Search, Saved and Account on a floating tab bar, each with its own stack. Shop opens collections, edits and product pages; Account is Settings.

Bag and orders

The bag is the Checkout block, with Apple Pay and a promo code. A placed order opens on Order Tracking, and delivery notifications follow it.

04

What's included

SwiftUI source you own, built on Apple frameworks only.

  • Seasonal edits, new pieces and shelves, with sort and a filter sheet
  • Product pages with glazes, sizes, stock and a buy bar that docks
  • A bag that checks out with Apple Pay, delivery speeds and a promo code
  • Orders you follow from placed to delivered, with notifications at each stage
  • Order and New edit widgets
  • Three presets: Riso, Phosphor and Press

Includes

Product, Filters, Checkout, Order, Settings, Purchase, Paywall. Installed together, automatically.

Requires

In-App Purchase capability

05

Implementation notes

How it behaves, what it handles, and the decisions behind it.

ShopApp is one root view. On first launch it runs Atelier's own first run: a welcome over the season's pieces, the shelves you shop first, then the Purchase screen's StoreKit 2 paywall for Atelier Club. Closing, purchasing or restoring finishes onboarding and records it under a completion key, so the root switches to the shop on its own.

The shop sits on four tabs, each with its own stack. Shop leads with the winter edit and every piece on two columns, with the Filters screen for colour and price. A piece opens on the Product screen: its art in the chosen glaze, the price that follows the size, VariantPicker glazes and sizes, and a buy bar that docks as you scroll. The bag is the Checkout block, with delivery speeds, a promo code and the totals; a placed order opens on the Order screen's tracking timeline. Search, Saved and Account (Settings, with sign out back to first run) sit beside it.

Adapting it

  • Products: pass your App Store Connect ids as productIDs. Until they exist, the paywall shows its designed "plans didn't load" state and its close button still finishes onboarding.
  • Your catalog: products, glazes, sizes and prices come from AtelierSample at the top of ShopApp.swift. Load yours from your commerce backend into ShopAppProduct, and swap ShopAppArt for AsyncImage when you have photography.
  • Checkout: ShopAppModel.place(_:) records the order. Charge it with your payment backend there and return its number; WINTER10 is the sample promo code.
  • Theme: everything follows the theme you set on ShopApp. Without a brand it wears Atelier Riso; SPBrandTheme(.atelierPhosphor) or .atelierPress re-skin every tab, including the product art and glazes.

The Xcode project

The download is a complete project on Tuist: SwiftData for the bag, saved pieces and orders behind a repository protocol; a catalog with glazes, sizes, stock and sold-out states; collections with sort and filters, and seasonal edits; search with recent searches and suggestions; Apple Pay from the bag and from a product page; orders that move from placed to delivered with a notification at each stage; an account step before the paywall, with Sign in with Apple or continue without an account; Order and New edit widgets; three presets; unit tests, a first-run UI test and a checkout UI test.

Notes

  • Not @main: put ShopApp() in your own WindowGroup.
  • Enable the In-App Purchase capability before testing purchases. Apple Pay in the Xcode project also needs the Apple Pay capability and a merchant id.
  • Products, prices and orders are sample data.
  • Previews ship with the file: first run, home, and home in each Atelier preset.