This is documentation for the next SDK version. For up-to-date documentation, see the latest version (SDK 56).
Expo UI
一组组件,让你可以直接从 React 使用 Jetpack Compose 和 SwiftUI 构建 UI。
Android
iOS
tvOS
Included in Expo Go
For the complete documentation index, see llms.txt. Use this file to discover all available pages.
@expo/ui 是一组原生输入组件,可让你使用 Jetpack Compose 和 SwiftUI 构建完全原生的界面。它旨在提供典型应用所需的常用功能和组件。
可用平台
组件适用于以下平台:
- Jetpack Compose: 使用 Jetpack Compose 组件构建原生 Android 界面
- SwiftUI: 使用 SwiftUI 组件构建原生 iOS 界面
- Universal: 可在 Android、iOS 和 web 上运行的跨平台组件,来自单一代码源
直接替换
请参阅 直接替换,了解与 API 兼容的热门 React Native 社区库替代方案。