Expo UI Jetpack Compose

VerifiedSafe

Using @expo/ui/jetpack-compose to integrate Jetpack Compose views in an Expo app.

Sby Skills Guide Bot
DevelopmentIntermediate
7/27/2026
Claude CodeCursorCodex
#expo#jetpack-compose#android#mobile-ui#react-native

Recommended for

Automated summary

This skill explains how to use the `@expo/ui/jetpack-compose` package to bring Jetpack Compose components and modifiers into an Expo app, scoped to SDK 55.

Strengths

  • Covers the install step and the native rebuild requirement via `npx expo run:android`
  • Clarifies the split between components (`@expo/ui/jetpack-compose`) and modifiers (`.../modifiers`)
  • States the core `Host` wrapper rule with both sizing modes (`matchContents` and `style={{ flex: 1 }}`)
  • Points to versioned documentation links for confirming a component's or modifier's API

Limitations

  • Only targets Expo SDK 55; other versions are explicitly deferred to their own docs
  • Deliberately brief: only `LazyColumn` and `Icon` get detail among the key components
  • Assumes existing Jetpack Compose and Material Design 3 knowledge to pick components
When to use it

Use it when building an Android UI with Expo UI and Jetpack Compose on SDK 55 and you need the import conventions, the `Host` wrapper rule, or guidance on replacing React Native lists.

When not to use it

Avoid it on an Expo project running a different SDK version or for iOS work, since the skill only addresses Jetpack Compose under SDK 55.

Security analysis

Safe
Quality score88/100

The skill is purely documentation for using Expo UI's Jetpack Compose package. It contains normal install and native rebuild commands, documentation URLs, and UI code examples. It does not instruct destructive actions, secret exfiltration, obfuscated payloads, or disabling safety mechanisms.

No concerns found

How this analysis is made

Examples

Wrap a Compose tree in Host
I'm using @expo/ui/jetpack-compose in my Expo app and my Column renders with zero height. How should I wrap it in Host to get intrinsic sizing?
Swap FlatList for LazyColumn
Replace this react-native FlatList in my Expo screen with a Jetpack Compose LazyColumn from @expo/ui/jetpack-compose and tell me how to size the Host.
Add padding and fill width
Show me how to import fillMaxWidth and paddingAll from @expo/ui/jetpack-compose/modifiers and apply them to a Column inside Host.

name: expo-ui-jetpack-compose description: expo-ui-jetpack-compose risk: unknown source: community


name: expo-ui-jetpack-compose description: @expo/ui/jetpack-compose package lets you use Jetpack Compose 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 Jetpack Compose 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:android).

Instructions

  • Expo UI's API mirrors Jetpack Compose's API. Use Jetpack Compose and Material Design 3 knowledge to decide which components or modifiers to use.
  • Components are imported from @expo/ui/jetpack-compose, modifiers from @expo/ui/jetpack-compose/modifiers.
  • When about to use a component, fetch its docs to confirm the API - https://docs.expo.dev/versions/v55.0.0/sdk/ui/jetpack-compose/{component-name}/index.md
  • When unsure about a modifier's API, refer to the docs - https://docs.expo.dev/versions/v55.0.0/sdk/ui/jetpack-compose/modifiers/index.md
  • Every Jetpack Compose tree must be wrapped in Host. Use <Host matchContents> for intrinsic sizing, or <Host style={{ flex: 1 }}> when you need explicit size (e.g. as a parent of LazyColumn). Example:
import { Host, Column, Button, Text } from "@expo/ui/jetpack-compose";
import { fillMaxWidth, paddingAll } from "@expo/ui/jetpack-compose/modifiers";

<Host matchContents>
  <Column verticalArrangement={{ spacedBy: 8 }} modifiers={[fillMaxWidth(), paddingAll(16)]}>
    <Text style={{ typography: "titleLarge" }}>Hello</Text>
    <Button onPress={() => alert("Pressed!")}>Press me</Button>
  </Column>
</Host>;

Key Components

  • LazyColumn — Use instead of react-native ScrollView/FlatList for scrollable lists. Wrap in <Host style={{ flex: 1 }}>.
  • Icon — Use <Icon source={require('./icon.xml')} size={24} /> with Android XML vector drawables from Material Symbols.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/expo-ui-jetpack-compose-ms2s7ckc/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/expo-ui-jetpack-compose-ms2s7ckc/download' --output '.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc/SKILL.md.part' && mv '.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc/SKILL.md.part' '.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Original excerpt: Installation
npx expo install @expo/ui

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

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc/SKILL.md' && test -s '.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/expo-ui-jetpack-compose' && cp -R '.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc' '.claude/skills/expo-ui-jetpack-compose'

Cursor
test -f '.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc/SKILL.md' && test -s '.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/expo-ui-jetpack-compose' && cp -R '.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc' '.cursor/skills/expo-ui-jetpack-compose'

Codex
test -f '.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc/SKILL.md' && test -s '.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/expo-ui-jetpack-compose' && cp -R '.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc' '.agents/skills/expo-ui-jetpack-compose'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/expo-ui-jetpack-compose-ms2s7ckc'

openskills read 'expo-ui-jetpack-compose-ms2s7ckc'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/expo-ui-jetpack-compose-ms2s7ckc/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills