
On December 1, we released NitroUI, an open-source framework for building native iOS and Android apps with React and TypeScript. It is React, but it is not React Native. Your JavaScript runs on the UI thread and renders UIKit and Android views synchronously.
NitroUI is the first framework we built as one team since Margelo joined Callstack in September. It builds on Nitro, the native module system we have developed since 2024. The Nitro ecosystem has a thriving community, with over 4 millions weekly downloads.
What is NitroUI
NitroUI is a next-generation, cross-platform framework for building native mobile apps with React and TypeScript. One codebase runs on iOS and Android, with UIKit and Android views on screen and Swift and Kotlin underneath.
import { useState } from 'react'
import { Text, TextInput, View } from 'nitro-ui-renderer'
export function App() {
const [note, setNote] = useState('')
return (
<View layout={{ flex: 1, padding: 20 }}>
<Text fontSize={28} fontWeight="bold">Field notes</Text>
<TextInput
placeholder="What did you notice?"
onTextChanged={(change) => setNote(change.text)}
/>
<Text>{note}</Text>
</View>
)
}You write components, hooks and state as you would in any React codebase, and NitroUI maps them to platform views. React updates native views synchronously, the way platform code does.
Why we built it
We believe in React. It solves the fundamental challenges of UI with a simple language of components. As Callstack and Margelo, we have been contributing to React Native since its early days, and we are members of the React Foundation.
One React codebase is the cheaper and better way to build most mobile apps. Your React engineers keep shipping the product they know, every feature is built once, and iOS and Android stay in parity. That holds as long as you do not compromise on performance. Teams go fully native for different reasons, and we do not think performance should have to be one of them.
The hard part is what happens between layers. A native list needs its next cell, an input needs to format what was just typed, and a gesture needs to follow the finger. We wanted React to take part in those moments directly.
That is why we started from a clean sheet instead of iterating on React Native. NitroUI puts React on the UI thread, where React DOM and native code have always run. A tap arrives, React renders and commits, and the view updates in the same frame.
A clean sheet also let us be opinionated. We add an API only when an app needs it. Fewer layers sit between your component and the platform.
NitroUI is its own framework because its architecture is fundamentally different from React Native's. Running React on the UI thread changes the renderer and the native layer underneath it, so this is a new foundation and not something we could contribute as a change to an existing one. Building it ourselves also gives us room to experiment and ship new ideas quickly. We hope the ones that prove themselves get picked up by the React Native team.
How it works
Rendering stays on UI thread. Your components, React and the native view updates all run on the UI thread. There is no asynchronous render pass to wait for, so native code can call your JavaScript and use the result in the same frame.
Nitro Modules underneath. NitroUI is built on Nitro Modules, the same foundation many popular React Native libraries already use to reach native code. Existing Nitro Modules will work with minor modifications, so the Nitro libraries you depend on come with you.
Static Hermes. Release builds compile React, its reconciler and the NitroUI renderer to native code with Static Hermes and call the layout engine SH Unit via FFI. Your app code loads as Hermes bytecode, which enables fast-refresh and OTA updates. That is a large part of why NitroUI apps launch fast.
Highly performant lists and text input. Rendering is synchronous, so a recycled cell is filled and drawn in the same frame. Long lists scroll without blank rows. Controlled text inputs are always in sync.
A fast feedback loop. Save a file and the change is on the device right away, with no native rebuild. That is the advantage TypeScript keeps over a compiled native stack.
What it means for your team
- You keep your team. React engineers who know your product keep shipping it.
- You migrate flow by flow. Components, hooks, state, services and existing native code carry over. Only the parts tied to the React Native host change.
- You can start with one screen. NitroUI runs inside an existing native app, and full brownfield support is in progress.
- You own the native projects. Signing, capabilities and release pipelines stay in Xcode and Gradle. The CLI tracks native revisions and points to a migration guide when an upgrade needs one.
React Native is not going anywhere, and neither is our work on it. NitroUI is what we recommend when performance is the constraint and a native rewrite is on the table.
Who builds on NitroUI already?
The first apps and screens showed up within a day of launch.
The team behind T3 Code is testing NitroUI internally as potential replacement.
Catalin Miron built a movie browser with pull-up details, a masked pager with parallax, shared element transitions and a Metal shader effect.
Kiryl Ziusko built Android's native back gesture with an interpolator written in JavaScript that native code calls synchronously.
Hur Ali rebuilt the Hashtags screen of Mastodon's iOS app in NitroUI and left the rest of the Swift app untouched.
Questions from launch day
Is this React Native? No. It is React with its own renderer, runtime and native layer.
Do my Nitro Modules work? Yes, with almost no changes once they are on Nitro V1.
What about library support? We are building out native components and adding them to the SDK. Storage, SQLite, networking and navigation are available today. We also ship skills and docs to help you and agents migrate any module in minutes.
Will it run on the web? Web support is planned. There is no date yet.
How does it compare with React Native on bundle size and memory? Numbers are coming. You can measure your own app today.
Can I adopt it without a rewrite? Yes. Start with one screen in an existing app.
Try it
bunx create-nitro-ui@latest MyApp
cd MyApp
bun run startRead the docs at nitro-ui.com and star the repo at github.com/margelo/nitro-ui.
If you run an app where performance is the constraint, talk to us. We will show you how NitroUI works under the hood and what a migration would look like.




















