SwiftUI
SwiftUI components for building native iOS interfaces with @expo/ui.
For the complete documentation index, see llms.txt. Use this file to discover all available pages.
The SwiftUI components in @expo/ui/swift-ui allow you to build fully native iOS interfaces using SwiftUI from React Native.
Installation
- npx expo install @expo/uiIf you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Using a component from @expo/ui/swift-ui requires wrapping it in a Host component. The Host is a container for SwiftUI views.
import { Host, Button } from '@expo/ui/swift-ui'; export function SaveButton() { return ( <Host style={{ flex: 1 }}> <Button label="Save changes" /> </Host> ); }
For more information, see the following resources:
Learn about the basics of @expo/ui/swift-ui
Create custom SwiftUI components and modifiers that integrate with Expo UI.

Learn how to build real SwiftUI views in your React Native app with the new Expo UI.