मुख्य सामग्री पर जाएँ
Skillpedia
मोबाइल ऐप48k · #4580

expo-ui

यह क्या करती है

यह टूल कोड लिखकर मोबाइल ऐप्स के लिए विज़ुअल इंटरफ़ेस बनाने में मदद करता है। इससे आप बटन और टेक्स्ट जैसे एलिमेंट्स बना सकते हैं, जो iPhone (SwiftUI तकनीक से) और Android फ़ोन (Jetpack Compose से) दोनों पर चलते हैं। यह सब एक ही React कोडबेस से होता है।

कब इस्तेमाल करें

  • ✓जब आप चाहते हैं कि आपका ऐप iOS और Android दोनों पर अपना नेटिव लुक और फ़ील दे।
  • ✓जब किसी दूसरी UI लाइब्रेरी से Expo UI पर माइग्रेट करना हो।
  • ✓जब आपको ऐसे UI कॉम्पोनेंट्स चाहिए जो दोनों प्लेटफ़ॉर्म पर बिना अलग-अलग कोड लिखे काम करें।

Skill का लिंक

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/expo-ui/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/expo-ui/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“Expo UI का इस्तेमाल करके 'यहाँ क्लिक करें' लिखा एक सिंपल बटन बनाओ।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

आप React में कोड लिखते हैं और `@expo/ui` पैकेज से कॉम्पोनेंट्स इम्पोर्ट करते हैं। ज़्यादातर मामलों में आप यूनिवर्सल कॉम्पोनेंट्स इस्तेमाल करेंगे, जो दोनों प्लेटफ़ॉर्म पर काम करते हैं। अगर आपको कोई बहुत खास चीज़ चाहिए, तो आप सीधे iOS (SwiftUI) या Android (Jetpack Compose) के लिए बने कॉम्पोनेंट्स इस्तेमाल कर सकते हैं।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Expo UI (@expo/ui)

When to Use

Use this skill when you need build native UI with the @expo/ui package: real SwiftUI on iOS and Jetpack Compose on Android rendered from React in an Expo or React Native app. Covers universal cross-platform components (Host, Column, Row, Button, Text, List, and more imported from @expo/ui), drop-in replacements...

@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

Limitations

  • Use this skill only when the task clearly matches its upstream product or API scope.
  • Verify commands, API behavior, pricing, quotas, credentials, and deployment effects against current official documentation before making changes.
  • Do not treat generated examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
अक्सर पूछे जाने वाले सवाल

यूनिवर्सल कॉम्पोनेंट्स क्या होते हैं?

ये ऐसे UI कॉम्पोनेंट्स हैं जो iOS, Android और यहाँ तक कि वेब पर भी बराबर अच्छे से चलते हैं, इसलिए एक ही कोड सभी प्लेटफ़ॉर्म के लिए काम आता है।

iOS या Android के खास कॉम्पोनेंट्स कब इस्तेमाल करने चाहिए?

इन्हें तभी इस्तेमाल करें जब यूनिवर्सल कॉम्पोनेंट्स आपकी ज़रूरत पूरी न करें, या जब परफ़ॉर्मेंस या व्यवहार के लिए किसी खास प्लेटफ़ॉर्म फ़ीचर की ज़रूरत हो।

क्या Expo UI के लिए कोई खास सेटअप चाहिए?

हाँ, आपको अपने प्रोजेक्ट में `@expo/ui` पैकेज इंस्टॉल करना होगा। Expo SDK 56 से यह सीधे Expo Go में चलता है। पुराने वर्शन पर आपको शायद development client बनाना पड़े।

जानकारी

लेखक का मूल विवरण

Build native UI with the @expo/ui package: real SwiftUI on iOS and Jetpack Compose on Android rendered from React in an Expo or React Native app.

repo: sickn33/agentic-awesome-skills

लोकप्रियता

GitHub स्टार
48k
रैंकिंग में स्थान
#4580
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

AI और एजेंटएजेंट

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

AI और एजेंटएजेंट

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills