nitro-ui: Build native iOS and Android apps with React and TypeScript.
What problem it solves
NitroUI addresses the need to build native iOS and Android applications while using React and TypeScript. It provides native rendering, typed Swift and Kotlin bindings, and support for multiple layout engines.
Key features
Native UI rendering — Render actual UIKit and Android views synchronously on the main thread from React and TypeScript components.
Source: README, packages
Typed native bindings — Connect React and TypeScript code to Swift and Kotlin through bindings generated by Nitro from a TypeScript specification.
Source: README, packages
Flexible layout engines — Use Lynx Starlight as the default layout engine or select Yoga for layout.
Source: README, config
Precompiled core packages — Pre-compile core packages into Static Hermes Units or FFI artifacts as part of the native development workflow.
Source: README, packages
Starter-based setup — Create and start an application through the NitroUI CLI, with separate commands for running the project on iOS or Android.
Source: README, packages
Quick start
Copied verbatim from the project's README.
bunx create-nitro-ui@latest MyApp
cd MyApp
bun run startimport { Text, View } from 'nitro-ui-renderer'
export function App() {
return (
<View layout={{ flex: 1, justifyContent: 'center', paddingHorizontal: 24 }}>
<Text fontSize={28} fontWeight="bold">
Field notes
</Text>
<Text>A notebook for your next walk.</Text>
</View>
)
}Who it may suit
This may suit developers who want to build native iOS and Android applications with React and TypeScript. It may also suit teams working with Swift, Kotlin, or TypeScript-defined native modules.
Topics to discuss
Which native-view and layout-engine behaviors should receive more documentation and examples?
How should typed Swift and Kotlin bindings evolve for existing React and TypeScript codebases?
Which Android and iOS platform capabilities should receive priority in future releases?
Written by ReadmeX AI from the project's README, source and public GitHub data; it may contain mistakes.
Read the original README https://github.com/margelo/nitro-ui#readme
ReadmeX opened this community for a trending project; it is not run by the project. Maintainers can claim it from the community page.
Comments
…