The native React we always wanted.
NitroUI builds native apps with React and TypeScript.
How it works
Rendering on the main thread
React updates native views synchronously on the main thread, the way platform code does. Nothing waits on an async render pass.
Native calls through Nitro
Swift and Kotlin modules are called through typed bindings that Nitro generates from your TypeScript spec.
Your agent already knows it
TypeScript all the way
The language coding agents write best, from your screens down to native module specs.
It is React
Components, hooks and state work the way people and agents already know them.
Skills in every app
New apps ship agent skills that point to the SDK docs, so even small, fast models get it right.
A native screen in one component
A real text field and a live preview of what you type, without touching Swift or Kotlin.
import { useState } from 'react'import { Text, TextInput, View } from 'nitro-ui-renderer' export function App() { const [note, setNote] = useState('') return ( <View layout={{ padding: 24 }}> <Text fontSize={28}>Field notes</Text> <TextInput onTextChanged={(change) => setNote(change.text)} /> <Text>{note}</Text> </View> )}
原文来源:nitro-ui.com