
Expo UI
FreeBuild native UIs with React for iOS and Android.
Free · Opens the source repo
What Expo UI does
Expo UI, utilizing the @expo/ui package, allows developers to create native user interfaces from React components, leveraging the power of SwiftUI for iOS and Jetpack Compose for Android. This skill is particularly useful for developers looking to build cross-platform applications with a consistent look and feel across devices. The @expo/ui package provides universal components that can be used across iOS, Android, and web platforms, simplifying the development process by reducing the need for platform-specific code.
The framework supports a variety of components such as Host, Column, Row, Button, Text, and List, which can be imported directly from @expo/ui. For scenarios where universal components do not meet specific requirements, developers can opt for platform-specific components available in @expo/ui/swift-ui for iOS and @expo/ui/jetpack-compose for Android. This flexibility enables the creation of optimized user interfaces that take full advantage of native capabilities while maintaining a shared codebase.
In addition, Expo UI offers drop-in replacements for popular React Native community libraries, allowing for a smoother migration path for developers looking to transition to native components without extensive code rewrites. This feature is especially beneficial for teams already using libraries like BottomSheet or DateTimePicker, as it provides API-compatible alternatives that integrate seamlessly into existing projects.
Overall, Expo UI is designed for developers and designers who want to enhance their React Native applications with native UI components, ensuring a more polished user experience while streamlining the development process.
When to use it
Use this skill when developing cross-platform applications that require a native look and feel or when migrating from community UI libraries to native components.
When not to use it
This skill is not suitable for projects needing custom native modules, Expo Router navigation, or advanced animations with Reanimated.
What you can build with it
Building a Cross-Platform App
Use Expo UI to create a consistent user interface for your app that works seamlessly on iOS, Android, and web.
Migrating from Community Libraries
Replace existing React Native community UI libraries with Expo UI's drop-in replacements for a native feel.
Creating Native-feeling UIs
Utilize platform-specific components when you need advanced UI features that standard React Native components cannot provide.
How to install Expo UI
View source1. Install with the skills CLI
npx skills add expo/skills/expo-ui --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by expoExpo 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:
-
Universal components — start here. Import from the
@expo/uiroot. One component tree runs unmodified on iOS, Android, and web from a single source (Compose on Android, SwiftUI on iOS,react-native-web/react-domon web). No platform file splits. →./references/universal.md -
Platform-specific (SwiftUI / Jetpack Compose). Import from
@expo/ui/swift-uior@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.tsxfiles (or branch onPlatform.OS) — more code to maintain.@expo/ui/swift-uiis iOS-only.@expo/ui/jetpack-composeis 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.tsxfiles placed incomponents/(never insideapp/— Expo Router does not support platform extensions for route files), or guard withPlatform.OSin a regular route file.Hostmust always be imported from@expo/ui(the universal package root), not from the platform-specific sub-packages. →./references/swift-ui.mdand./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.
Frequently asked questions about Expo UI
Similar skills
Playwright Component Testing
Test React and Vue components in isolation with Playwright.
Fluent UI Blazor
Integrate Fluent UI components in Blazor applications effortlessly.
Build MCP App
Create interactive UI widgets for MCP servers.
Web Design Reviewer
Identify and fix design issues in websites efficiently.
Markstream Install
Seamlessly integrate Markstream for Markdown rendering.
GSAP & Framer Scroll Animation
Create advanced scroll animations effortlessly.
