expo-ui

द्वारा expo

फ्रेमवर्क (OSS)। @expo/ui पैकेज के साथ नेटिव UI बनाएं: iOS पर वास्तविक SwiftUI और Android पर Jetpack Compose, जो Expo या React Native ऐप में React से रेंडर होता है। इसमें यूनिवर्सल क्रॉस-प्लेटफॉर्म कंपोनेंट (Host, Column, Row, Button, Text, List और @expo/ui से आयातित अन्य), लोकप्रिय React Native कम्युनिटी लाइब्रेरीज़ (BottomSheet, DateTimePicker, Slider, Menu, आदि) के ड्रॉप-इन रिप्लेसमेंट, और प्लेटफॉर्म-विशिष्ट SwiftUI (@expo/ui/swift-ui, केवल iOS) और Jetpack Compose शामिल हैं...

npx skills add https://github.com/expo/skills --skill expo-ui

Expo UI (@expo/ui)

@expo/ui renders real native UI from React: SwiftUI on iOS, Jetpack Compose on Android. Start with its universal components (one tree for iOS, Android, and web) and drop to platform-specific SwiftUI/Jetpack Compose only when the universal layer falls short. It also ships drop-in replacements for migrating off RN community UI libraries.

These instructions track the latest Expo SDK. The universal layer requires SDK 56+. Drop-in replacements and the platform-specific layers also exist on SDK 55. For component details on a specific SDK, refer to the Expo UI docs for that version.

Installation

npx expo install @expo/ui

On SDK 56, @expo/ui works in Expo Go, so npx expo start runs it directly — no custom build required. On older SDKs, build a dev client first (npx expo run:ios / npx expo run:android).

Every @expo/ui tree — universal or platform-specific — must be wrapped in Host.

Choosing an approach (read this first)

Work down this list and stop at the first layer that meets the need:

  1. Universal components — start here. Import from the @expo/ui root. One component tree runs unmodified on iOS, Android, and web from a single source (Compose on Android, SwiftUI on iOS, react-native-web/react-dom on web). No platform file splits. → ./references/universal.md

  2. Platform-specific (SwiftUI / Jetpack Compose). Import from @expo/ui/swift-ui or @expo/ui/jetpack-compose. Use only when the universal layer is missing a component or modifier you need, or when you need platform-specific behavior or optimization. Downside: you write two trees and split them into .ios.tsx / .android.tsx files (or branch on Platform.OS) — more code to maintain.

    @expo/ui/swift-ui is iOS-only. @expo/ui/jetpack-compose is Android-only. Importing either in a file that runs on the other platform will crash at runtime with "Unable to get view config" errors. Isolate platform-specific trees in .ios.tsx / .android.tsx files placed in components/ (never inside app/ — Expo Router does not support platform extensions for route files), or guard with Platform.OS in a regular route file. Host must always be imported from @expo/ui (the universal package root), not from the platform-specific sub-packages. → ./references/swift-ui.md and ./references/jetpack-compose.md

Already using an RN community UI library? @expo/ui also ships drop-in replacements — API-compatible swaps for popular libraries (@gorhom/bottom-sheet, @react-native-community/datetimepicker, and more), imported from @expo/ui/community/<name>. This is a migration side-path for replacing an existing dependency, not a step in the universal-vs-platform decision above. → ./references/drop-in-replacements.md

References

Consult these resources as needed:

references/
  universal.md             Universal @expo/ui components and when to use them (SDK 56+)
  drop-in-replacements.md  API-compatible replacements for RN community UI libraries
  swift-ui.md              Platform-specific iOS UI: @expo/ui/swift-ui components, modifiers, RNHostView, useNativeState
  jetpack-compose.md       Platform-specific Android UI: @expo/ui/jetpack-compose components, modifiers, LazyColumn caveat, icons, useNativeState

Submitting Feedback

If you encounter errors, misleading or outdated information in this skill, report it so Expo can improve:

npx --yes submit-expo-feedback@latest --category skills --subject "expo-ui" "<actionable feedback>"

Only submit when you have something specific and actionable to report. Include as much relevant context as possible. If an AI agent repeatedly failed or the user had to take over an Expo task, load the expo-skill-feedback skill and follow its eval-candidate flow instead of reusing the command above.

expo की और Skills

expo-upgrade
expo
फ्रेमवर्क (ओपन सोर्स)। एक्सपो SDK संस्करणों को अपग्रेड करने और निर्भरता समस्याओं को ठीक करने के लिए दिशानिर्देश
apidevelopmentofficial
expo-data-fetching
expo
Framework (OSS). Use when implementing or debugging ANY network request, API call, or data fetching. Covers fetch API, React Query, SWR, error handling, caching, offline support, and Expo Router data loaders (`useLoaderData`).
official
android-e2e-testing
expo
एंड्रॉइड एमुलेटर पर ADB का उपयोग करके Expo Router सुविधाओं का परीक्षण करें। मूल एंड्रॉइड सुविधाओं को लागू करने के बाद या एंड्रॉइड पर UI व्यवहार सत्यापित करते समय उपयोग करें।
official
expo-dev-client
expo
EAS Build या स्थानीय रूप से भौतिक उपकरणों पर मूल कोड का परीक्षण करने के लिए कस्टम Expo विकास क्लाइंट बनाएं। केवल तब आवश्यक जब कस्टम मूल मॉड्यूल, Apple लक्ष्य (विजेट, ऐप क्लिप), या तृतीय-पक्ष मूल कोड का उपयोग कर रहे हों जो Expo Go में नहीं है; पहले npx expo start के साथ Expo Go आज़माएं। स्वचालित TestFlight सबमिशन के साथ क्लाउड बिल्ड या आपकी मशीन पर स्थानीय बिल्ड का समर्थन करता है, जो .ipa (iOS) या .apk / .aab (Android
official
expo-tailwind-setup
expo
एक्सपो ऐप्स के लिए iOS, Android और वेब पर यूनिवर्सल Tailwind CSS v4 स्टाइलिंग। Metro ट्रांसफॉर्मर के माध्यम से Tailwind CSS v4 को react-native-css और NativeWind v5 के साथ एकीकृत करता है, जिससे Babel कॉन्फ़िगरेशन की आवश्यकता समाप्त हो जाती है। पुन: प्रयोज्य CSS-रैप्ड कंपोनेंट लाइब्रेरी (View, Text, ScrollView, Pressable, TextInput, Image, Link) प्रदान करता है जो नेटिव एलिमेंट्स पर className स्टाइल लागू करते हैं। CSS मीडिया क्वेरीज़, @theme ब्लॉक के माध्यम से कस्टम थीम
official
android-jetpack-compose
expo
Android UI को Jetpack Compose से बनाते समय, remember/mutableStateOf के साथ स्थिति प्रबंधित करते समय, या घोषणात्मक UI पैटर्न लागू करते समय उपयोग करें।
official
swiftui-expert-skill
expo
SwiftUI कोड को स्टेट प्रबंधन, व्यू संरचना, प्रदर्शन, macOS-विशिष्ट API, और iOS 26+ Liquid… के लिए सर्वोत्तम प्रथाओं का पालन करते हुए लिखें, समीक्षा करें या सुधारें।
official
eas-update-insights
expo
प्रकाशित EAS अपडेट्स की सेहत जांचें: क्रैश दरें, इंस्टॉल/लॉन्च गणनाएँ, अद्वितीय उपयोगकर्ता, पेलोड आकार, और एम्बेडेड बनाम OTA उपयोगकर्ताओं के बीच विभाजन प्रति…
official