본문으로 건너뛰기
Skillpedia
모바일 앱48k · #4580

expo-ui

하는 일

이 도구는 코드로 모바일 앱의 시각 화면을 만들도록 돕습니다. 하나의 React 코드베이스로 iPhone(SwiftUI 기술)과 Android 휴대폰(Jetpack Compose) 모두에서 작동하는 버튼이나 텍스트 같은 요소를 만들 수 있습니다.

사용하는 경우

  • ✓앱이 iOS와 Android 모두에서 네이티브 느낌을 주기를 원할 때.
  • ✓다른 UI 라이브러리에서 Expo UI로 옮길 때.
  • ✓플랫폼마다 따로 코드를 쓰지 않고 두 플랫폼에서 작동하는 UI 구성 요소가 필요할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/expo-ui/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Expo UI를 사용해 'Click here'라는 텍스트의 간단한 버튼을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

`@expo/ui` 패키지에서 구성 요소를 가져와 React로 코드를 작성합니다. 대부분의 경우 두 플랫폼에서 모두 작동하는 범용 구성 요소를 사용합니다. 아주 특정한 기능이 필요하면 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.
자주 묻는 질문

범용 구성 요소란 무엇인가요?

iOS, Android, 심지어 웹에서도 똑같이 잘 작동하는 UI 구성 요소입니다. 모든 플랫폼에서 쓸 수 있는 코드를 작성하게 해 줍니다.

iOS 또는 Android 전용 구성 요소는 언제 써야 하나요?

범용 구성 요소로 충분하지 않을 때, 또는 최적화나 동작을 위해 플랫폼 전용 기능이 필요할 때만 사용하세요.

Expo UI를 사용하려면 특별한 설정이 필요한가요?

네, 프로젝트에 `@expo/ui` 패키지를 설치해야 합니다. Expo SDK 56부터는 Expo Go에서 바로 작동합니다. 이전 버전에서는 개발 클라이언트를 빌드해야 할 수 있습니다.

상세 정보

작성자의 원본 설명

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
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬