Skip to content
项目

关于

使用 React 和 TypeScript 构建原生 iOS 和 Android 应用。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
+79
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

nitroUI: the native React we always wanted.

DocsInstallationNative modulesContributing

NitroUI builds native iOS and Android apps with React and TypeScript.

  • 📱 Renders real UIKit and Android views, synchronously on the main thread
  • 🔌 Calls Swift and Kotlin through typed bindings that Nitro generates from your TypeScript spec
  • 📐 Lays out with Lynx Starlight by default, or Yoga
  • 🧱 Pre-compiles core packages to Static Hermes Units/FFI

Example

import { 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>
  )
}

Quick start

bunx create-nitro-ui@latest MyApp
cd MyApp
bun run start

Press i for iOS or a for Android. iOS needs an Apple Silicon Mac with Xcode 27, and Android builds on a Mac, x86-64 Linux or x86-64 Windows. The installation guide covers the full setup.

Coming from React Native or Expo? Give your coding agent the migration skill.

License

NitroUI is built by Margelo and released under the MIT license.

探索相关项目

加载中…