Swift Web Studio
Design SwiftUI in the browser. Keep the Swift.
Visual editing, a Swift code editor and an interactive device preview in one workspace. Start with a template or your own Swift files, refine the design, and export a project for native development.
Most design tools draw pictures of apps. Swift Web Studio edits the app itself: every change on the canvas is a change to the Swift source, so the hand-off is the code.
Get the highlights.
A designer’s tool that speaks Swift.
Source-preserving edits. Visual changes are made on the underlying Swift; anything the canvas can’t edit stays editable in code.
Components. Instance inputs, saved variants, and shared colors, spacing and text styles.
Collections. Records with a shared row design, and preview scenarios for trying content.
Device preview. An interactive preview across device sizes, appearances and text sizes.
Checks. Flags potential contrast, touch-target and overflow issues.
Present. Show screens, or export PNGs and contact sheets.
Shared undo. Organize screens and layers with undo and redo across both.
Images. Import PNG and JPEG, with optional dark variants.
Autosave and archives. Projects save in the browser; download an editable archive any time.
Under the hood.
The compiler, interpreter and layout packages are independent of React and the DOM. The preview runs in a Web Worker.
apps/webNext.js workspace, editor, dialogs and worker hostswift-syntaxLexer, parser, syntax tree and source editsswift-semaName resolution, semantic analysis and design editsswift-runtimeA Swift interpreterswiftui-runtimeSwiftUI state, view composition and interactionsswiftui-layoutLayout and text measurementswiftui-render-domRender-tree presentationproject-modelProjects, files, templates, persistence and sharingexporterProject scaffolding and ZIP import and exportshared · sim-shellShared types and device specificationsThe preview interprets a supported subset of Swift and SwiftUI. It does not run Apple’s compiler or the iOS Simulator, so exported apps are built and reviewed in Xcode before release.
Six ways out.
Swift source is preserved in every format.
Tech specs
- Stack
- TypeScript; a Next.js workspace with independent language, runtime and layout packages
- Preview
- A Swift and SwiftUI interpreter in a Web Worker, covering a documented subset
- Storage
- Autosave in the browser (IndexedDB); editable
.swiftstudio.ziparchives - Export
- Xcode project, Swift Playgrounds app, Swift package, XcodeGen specification
- Prompts
- Optional prompt-based creation, with your own provider key
- Quality
- CI with type checks, lint and unit tests; Playwright end-to-end tests; a bundle-size budget