Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →`@expo/ui/swift-ui` package lets you use SwiftUI Views and modifiers in your app.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -53% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -20% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 3% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -57% | 0% |
> 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.
bashnpx expo install @expo/ui
A native rebuild is required after installation (npx expo run:ios).
@expo/ui/swift-ui, modifiers from @expo/ui/swift-ui/modifiers.Host.RNHostView is specifically for embedding RN components inside a SwiftUI tree. Example:jsximport { 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>;
Other measured skills in the registry, with their headline benchmark lift.