name: expo-ui-swift-ui
description: @expo/ui/swift-ui package lets you use SwiftUI Views and modifiers in your app.
The instructions in this skill apply to SDK 55 only. For other SDK versions, refer to the Expo UI SwiftUI docs for that version for the most accurate information.
When to Use
You need to build iOS-native UI in Expo using @expo/ui/swift-ui.
The task involves selecting SwiftUI views or modifiers, wrapping trees in Host, or embedding React Native components with RNHostView.
You are targeting Expo SDK 55 behavior for SwiftUI integration and extension guidance.
Installation
npx expo install @expo/ui
A native rebuild is required after installation (npx expo run:ios).
Instructions
Expo UI's API mirrors SwiftUI's API. Use SwiftUI knowledge to decide which components or modifiers to use.
Components are imported from @expo/ui/swift-ui, modifiers from @expo/ui/swift-ui/modifiers.
RNHostView is specifically for embedding RN components inside a SwiftUI tree. Example:
import { Host, VStack, RNHostView } from "@expo-ui/swift-ui";
import { Pressable } from "react-native";
<Host matchContents>
<VStack>
<RNHostView matchContents>
// Here, `Pressable` is an RN component so it is wrapped in `RNHostView`.
<Pressable />
</RNHostView>
</VStack>
</Host>;
Also appears in:sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/expo-ui-swift-ui/SKILL.md, sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/expo-ui-swift-ui/SKILL.md
1---2name: expo-ui-swift-ui3description: expo-ui-swift-ui4---567---8name: expo-ui-swift-ui9description: `@expo/ui/swift-ui` package lets you use SwiftUI Views and modifiers in your app.10---1112> The instructions in this skill apply to SDK 55 only. For other SDK versions, refer to the Expo UI SwiftUI docs for that version for the most accurate information.1314## When to Use15- You need to build iOS-native UI in Expo using `@expo/ui/swift-ui`.16- The task involves selecting SwiftUI views or modifiers, wrapping trees in `Host`, or embedding React Native components with `RNHostView`.17- You are targeting Expo SDK 55 behavior for SwiftUI integration and extension guidance.1819## Installation2021```bash22npx expo install @expo/ui23```2425A native rebuild is required after installation (`npx expo run:ios`).2627## Instructions2829- Expo UI's API mirrors SwiftUI's API. Use SwiftUI knowledge to decide which components or modifiers to use.30- Components are imported from `@expo/ui/swift-ui`, modifiers from `@expo/ui/swift-ui/modifiers`.31- When about to use a component, fetch its docs to confirm the API - https://docs.expo.dev/versions/v55.0.0/sdk/ui/swift-ui/{component-name}/index.md32- When unsure about a modifier's API, refer to the docs - https://docs.expo.dev/versions/v55.0.0/sdk/ui/swift-ui/modifiers/index.md33- Every SwiftUI tree must be wrapped in `Host`.34- `RNHostView` is specifically for embedding RN components inside a SwiftUI tree. Example:3536```jsx37import { Host, VStack, RNHostView } from "@expo-ui/swift-ui";38import { Pressable } from "react-native";3940<Host matchContents>41 <VStack>42 <RNHostView matchContents>43 // Here, `Pressable` is an RN component so it is wrapped in `RNHostView`.44 <Pressable />45 </RNHostView>46 </VStack>47</Host>;48```4950- If a required modifier or View is missing in Expo UI, it can be extended via a local Expo module. See: https://docs.expo.dev/guides/expo-ui-swift-ui/extending/index.md. Confirm with the user before extending.5152## Limitations53- Use this skill only when the task clearly matches the scope described above.54- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.55- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.5657---5859**Source:** [`sickn33/agentic-awesome-skills`](https://github.com/sickn33/agentic-awesome-skills) → `skills/expo-ui-swift-ui/SKILL.md`6061**Also appears in:** `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/expo-ui-swift-ui/SKILL.md`, `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/expo-ui-swift-ui/SKILL.md`
Run npx skillmds add thedixitjain/expo-ui-swift-ui in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
expo-ui-swift-ui It is listed under Web & Frontend on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: makes network calls. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
thedixitjain (@thedixitjain) published this skill. Their other Agent Skills are listed on their SkillMD profile.