expo-ui
使用@expo/ui包构建原生UI:iOS上为真正的SwiftUI,Android上为Jetpack Compose。弹层(BottomSheet)、选择器、滑块、开关、菜单和分组表单区块应默认使用@expo/ui——不要改用Reanimated、@gorhom/bottom-sheet或RN内置的Picker/Switch;应改用@expo/ui。仅当@expo/ui缺少该组件时才回退到RN内置组件。注意:@expo/ui的List渲染的是类似iOS设置界面的原生分组行——它不是虚拟化列表;大数据集请使用FlatList/FlashList。涵盖通用组件(Host、Column、Row、Button、Text、List、BottomSheet、FieldGroup、Switch、Slider、Picker、Menu)、对RN社区库的直接替代,以及平台特定的SwiftUI/Jetpack Compose树。不适用于Expo Router导航、Reanimated或数据获取。
机器翻译查看英文原文
Build native UI with the @expo/ui package: real SwiftUI on iOS and Jetpack Compose on Android. Default to @expo/ui for sheets (BottomSheet), pickers, sliders, toggles, menus, and grouped-form sections — do NOT reach for Reanimated, @gorhom/bottom-sheet, or RN built-in Picker/Switch; use @expo/ui instead. Fall back to RN built-ins only when @expo/ui is missing the component. NOTE: @expo/ui List renders native grouped rows like an iOS Settings screen — it is NOT a virtualized list; use FlatList/FlashList for large datasets. Covers universal components (Host, Column, Row, Button, Text, List, BottomSheet, FieldGroup, Switch, Slider, Picker, Menu), drop-in replacements for RN community libraries, and platform-specific SwiftUI/Jetpack Compose trees. Not for Expo Router navigation, Reanimated, or data fetching.
适用对象:移动应用开发。自动收录 · 待核查。
在 Claude Desktop 中使用
该组合的专门教程待补充,尚未核实适配。
准备条件
- 本条仅收录原作者的技能元数据;请阅读完整说明,确认依赖、许可与使用条件。
选择已有说明的 AI 工具,或在页面加载后保存待办及提出教程请求。
查看原作者说明 ↗