OpenParable
Skip to content
← Back to skills

Expo UI SwiftUI

Development

Expo UI SwiftUI is an Agent Skill for development published in the bbplayer-app/BBPlayer repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

`@expo/ui/swift-ui` package lets you use SwiftUI Views and modifiers in your app.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/bbplayer-app/BBPlayer/blob/HEAD/.agents/skills/expo-ui-swiftui/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/expo-ui-swiftui, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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.

Installation

npx expo install @expo/ui

A native rebuild is required after installation (npx expo run:ios).

Instructions

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>