For SwiftUI
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.




How it works
The screens are written in React Native. Your agent reads your project and writes the same screen in its framework.
Open your Xcode project in Claude Code, Cursor, Codex or any coding agent that can edit files and run a build.
Copy a screen’s prompt from the catalog and paste it in. Or connect the MCP server and ask for a screen by name.
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.”
$ 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
All ten screens, from the same unedited prompt. Switch light and dark to compare both palettes.


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


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


The balance, card and avatar photo match the original.


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


The photo card, chips and action row all ported.


Link card, voice note and reply quote all ported.


Charts and sparklines are redrawn natively, and they match.


The QR code ported.


The progress card covers the week strip.


The longest prompt in the test (85,000 characters, drawn coin piles), and one of the closest matches.
These are ten of the 100 screens. Every one carries the same line, free and Pro.
The test
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.
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.
| Stack | Built and ran | Avg time | Avg agent cost | Ran on |
|---|---|---|---|---|
| SwiftUI | 10 / 10 | 4.1 min | $0.74 | iPhone 16 Pro, iOS Simulator |
| Jetpack Compose | 9 / 10 | 3.7 min | $0.77 | Pixel 8, Android emulator |
| Flutter | 10 / 10 | 5.6 min | $1.10 | Flutter 3.50, web build at phone size |
Tips
What we would tell a teammate after the test.
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.
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.
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.
Allow xcodebuild in your agent. It then compiles the screen and fixes its own errors before it hands the screen back.
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.
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.
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.
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.
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.
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.
In our test, 4.1 minutes and $0.74 of agent usage per screen on average, from 1.2 to 8.4 minutes.
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.