For SwiftUI

SwiftUI screens, built by your agent.

Open your Xcode project in a coding agent and give it any of the 100 gluestack screens. It builds the screen natively in SwiftUI, with the React Native code as the spec.

Works with Claude Code Cursor Codex VS Codeand other coding agents
Wallet home, the React Native original
React Native original
Wallet home, built in SwiftUI by a coding agent
SwiftUI, built by the agent

How it works

From one prompt to native SwiftUI.

The screens are written in React Native. Your agent reads your project and writes the same screen in its framework.

  1. 01

    Open your project in an agent

    Open your Xcode project in Claude Code, Cursor, Codex or any coding agent that can edit files and run a build.

  2. 02

    Give it a screen

    Copy a screen’s prompt from the catalog and paste it in. Or connect the MCP server and ask for a screen by name.

  3. 03

    It builds the screen natively

    The agent reads your project, sees it isn’t Expo and writes SwiftUI views in Swift, with the React Native code as the spec for layout, colors and motion.

The line in every prompt

“If your project isn't Expo / React Native (SwiftUI, Jetpack Compose, Flutter...), build this screen natively in its framework, using the code below as the spec.”
Free and Pro, on the site and through the MCP server. No settings to change.

$ claude

> Add this screen and make it the first one the app opens. [Pasted text #1 +547 lines]

⏺ Write(SignInView.swift)

⎿ The Sign in screen, in SwiftUI

⏺ Bash(xcodebuild -scheme App build)

⎿ ** BUILD SUCCEEDED **

⏺ Sign in is now the first screen, built natively in SwiftUI.

Side by side

The original, and the SwiftUI port.

All ten screens, from the same unedited prompt. Switch light and dark to compare both palettes.

  • Sign in, the React Native original, dark mode
    React Native original
    Sign in, the SwiftUI port, dark mode
    SwiftUI · 1.2 min · $0.32

    A close match, down to the blooms behind the logo and the passkey row.

  • Welcome carousel

    Open screen
    Welcome carousel, the React Native original, dark mode
    React Native original
    Welcome carousel, the SwiftUI port, dark mode
    SwiftUI · 6.4 min · $0.85

    The agent renamed the brand to the project’s name.

  • Wallet homePro

    Open screen
    Wallet home, the React Native original, dark mode
    React Native original
    Wallet home, the SwiftUI port, dark mode
    SwiftUI · 3.9 min · $0.61

    The balance, card and avatar photo match the original.

  • Music playerPro

    Open screen
    Music player, the React Native original, dark mode
    React Native original
    Music player, the SwiftUI port, dark mode
    SwiftUI · 4.7 min · $0.72

    The album art is drawn in code. The header sits slightly under the status bar.

  • Swipe cardsPro

    Open screen
    Swipe cards, the React Native original, dark mode
    React Native original
    Swipe cards, the SwiftUI port, dark mode
    SwiftUI · 5.1 min · $1.02

    The photo card, chips and action row all ported.

  • Chat conversation

    Open screen
    Chat conversation, the React Native original, dark mode
    React Native original
    Chat conversation, the SwiftUI port, dark mode
    SwiftUI · 2.5 min · $0.53

    Link card, voice note and reply quote all ported.

  • Analytics dashboardPro

    Open screen
    Analytics dashboard, the React Native original, dark mode
    React Native original
    Analytics dashboard, the SwiftUI port, dark mode
    SwiftUI · 1.8 min · $0.43

    Charts and sparklines are redrawn natively, and they match.

  • Boarding pass

    Open screen
    Boarding pass, the React Native original, dark mode
    React Native original
    Boarding pass, the SwiftUI port, dark mode
    SwiftUI · 3.2 min · $0.63

    The QR code ported.

  • Habit tracker

    Open screen
    Habit tracker, the React Native original, dark mode
    React Native original
    Habit tracker, the SwiftUI port, dark mode
    SwiftUI · 3.7 min · $0.68

    The progress card covers the week strip.

  • Coin storePro

    Open screen
    Coin store, the React Native original, dark mode
    React Native original
    Coin store, the SwiftUI port, dark mode
    SwiftUI · 8.4 min · $1.56

    The longest prompt in the test (85,000 characters, drawn coin piles), and one of the closest matches.

  • Try one in your Xcode project.

    These are ten of the 100 screens. Every one carries the same line, free and Pro.

The test

10 of 10 built and ran.

We pasted the unedited prompt for ten screens into fresh SwiftUI projects, one screen each. Claude Code (Sonnet) built them, then we ran every port and screenshotted it beside the original.

10 / 10
screens built and ran
4.1 min
average per screen
$0.74
average agent cost per screen
iOS
ran on: iPhone 16 Pro, iOS Simulator

What tripped the ports

  • Safe areas: two headers sat under the status bar, the music player’s among them.
  • Habit tracker: the progress card covered the week strip.
  • Welcome carousel: the agent renamed the brand to the project’s name.

Read it with care

Ten screens, one model, one run each: a first look, not a benchmark. Screenshots are the first frame after about five seconds, so a screen mid-animation can look slightly off. Averages cover all ten runs.

All three stacks, same ten screens
StackBuilt and ranAvg timeAvg agent costRan on
SwiftUI10 / 104.1 min$0.74iPhone 16 Pro, iOS Simulator
Jetpack Compose9 / 103.7 min$0.77Pixel 8, Android emulator
Flutter10 / 105.6 min$1.10Flutter 3.50, web build at phone size

Tips

Getting the best SwiftUI port.

What we would tell a teammate after the test.

  • Ask for SF Symbols

    The screens use Lucide icons. SF Symbols are the natural swap and need no assets. Add Lucide SVGs to your asset catalog only where no symbol fits.

  • Check the safe areas

    The originals draw edge to edge and read the insets. In two ports the header slipped under the status bar, so look at the top of each screen on a Dynamic Island device.

  • Keep both palettes

    Every screen has a light and a dark palette. Ask the agent to put them in your asset catalog as colors with dark variants, so the screen follows the system setting.

  • Let the agent build

    Allow xcodebuild in your agent. It then compiles the screen and fixes its own errors before it hands the screen back.

  • Say your app’s name

    Two agents in the test renamed the brand to the project’s name. Name your app and its color in the request, or pass appName and accent through the MCP server.

  • Start with Sign in

    It is free, took the agent under two minutes in every stack, and came out a close match in all three. A quick way to see how your setup does.

Questions, answered.

What code do I get?+

The prompt for a screen: its React Native source in TypeScript, the packages it uses and notes on fitting it to your app. gluestack does not ship SwiftUI code. Your agent writes the SwiftUI version in your project, using that source as the spec.

Is the SwiftUI version native?+

Yes. The agent writes SwiftUI views in Swift: no web view and no React Native runtime. In our test all 10 ports compiled and ran in the iOS Simulator.

Does Pro work the same?+

Yes. Free and Pro screens carry the same instruction and port the same way: five of the ten screens in our test are Pro. Free screens cost nothing. Pro unlocks every screen for $6 a month, billed yearly.

Which agents can do this?+

Any coding agent that can read and edit your project: Claude Code, Cursor, Codex, GitHub Copilot in VS Code and others. Our test used Claude Code with Sonnet. With the gluestack MCP server connected, the agent can also search and fetch screens by itself.

How long does a screen take?+

In our test, 4.1 minutes and $0.74 of agent usage per screen on average, from 1.2 to 8.4 minutes.

Do the gluestack-ui components run in SwiftUI?+

No. gluestack-ui is a React and React Native library. Here the agent reads a screen’s code as a spec and writes SwiftUI views in Swift, so nothing from gluestack runs in your app.