Swift PiecesPro
  • Library
    Screens48Finished, designed screens for real apps.Templates10Complete apps built from the screens.Build Kit24Styles, briefs and recipes for your coding agentEverything58The whole library, with search
  • Docs
  • Pro

Library

  • Screens48
  • Templates10
  • Build Kit24
  • Everything58
  • Docs
  • Pro
  • Account
Get Swift Pieces ProFree library ↗
Swift PiecesPro

Production-ready SwiftUI screens and app templates for iOS. The pieces to build the whole app.

Library

  • Screens
  • Templates
  • Build Kit
  • Everything

Product

  • Pro
  • Your account
  • Sign in

Resources

  • Docs
  • CLI
  • MCP and agents
  • Free library

Social

  • X / Twitter
  • GitHub

SWIFTPIECES PRO

© 2026 Swift Pieces. One payment, lifetime access, per-developer commercial license.

Curated withby Saivion

LibraryTemplatesProductivity App

Template · Productivity

Productivity App

Margin, a workday app: a complete Xcode project with an agenda, focus sessions, notes, insights, widgets and three brand presets.

A productivity app on four tabs: Agenda with the week strip and the day's timeline, Focus with a timed session on one task, Notes with a morphing navigation pill, and Insights with the week's numbers on a dashboard.

SwiftUIiOS 17.0+Xcode project 1.0.0productivity-app

Get Swift Pieces Pro

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

01

What's inside

The screens this template wires together, in the order someone meets them.

Agenda

A week strip, the day's timeline and a new-event sheet.

Screen · Productivity

Agenda

A day agenda under a week strip you can page, scrub and pull open into a month.

Focus

A timed session on one task, with sounds and Do Not Disturb.

Screen · Productivity

Focus

A focus session with a dial you drag to set minutes and a ring that drains as you work.

Notes and insights

A notes list with the morphing pill, and a dashboard of the week's numbers.

Screen · Media

Reader

A long-read article with a serif headline and a floating pill that morphs into a reading toolbar.

Screen · Productivity

Dashboard

A home dashboard with a collapsing greeting, live metrics, a scrubbable chart and activity.

02

What's included

SwiftUI source you own, built on Apple frameworks only.

  • A week strip with a day timeline and a new-event sheet
  • A focus timer tied to a task, with sounds and Do Not Disturb
  • A notes list with the morphing navigation pill
  • An insights dashboard with a scrubbable chart and pull to refresh

Includes

App Shell, Lessons, Agenda, Focus, Reader, Dashboard. Installed together, automatically.

In the Build Kit

Productivity (brief). Your agent builds around this template in the same design.

03

Implementation notes

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

ProductivityApp puts four screens on the App Shell. Agenda is the week strip over the selected day's timeline, with a new-event sheet. Focus runs a timed session on one task, with ambient sounds and Do Not Disturb. Notes is a notes list whose floating Morph Nav pill turns into a toolbar or a panel; it sits just above the tab bar. Insights is the Dashboard screen with a scrubbable chart and pull to refresh.

Adapting it

  • Sample data: events live in CalendarStripExample, tasks and sounds in FocusTimerExample, notes in MorphNavExample and metrics in DashboardScreenExample.make(). The Insights sample shows business metrics; point it at your own numbers.
  • Tabs: reorder or drop entries in tabs. initialTab picks where the app opens.
  • Theme: set .environment(\.spTheme, …) on ProductivityApp to re-skin every themed screen.

Notes

  • Not @main: put ProductivityApp() in your own WindowGroup.

04

Keep building

Pieces that work well next to this one.

Screen · Productivity

Agenda

A day agenda under a week strip you can page, scrub and pull open into a month.

Screen · Productivity

Focus

A focus session with a dial you drag to set minutes and a ring that drains as you work.

Template · Finance

Finance App

Ledgerly, a personal finance app: a complete Xcode project with cards, budgets, activity, transfers, widgets and three brand presets.