Skill library

Agent skill Mobile

Expo Native UI

Create native-feeling Expo screens with semantic colors, platform controls, icons, media and responsive layouts.

  • Expo
  • React Native
  • iOS / Android

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add expo/skills --skill expo-native-ui --agent claude-code --yes

Check this file in your project.claude/skills/expo-native-ui/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add expo/skills --skill expo-native-ui

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use an existing Expo project with its dependencies installed. Confirm its Expo SDK and target devices. Use a compatible Expo Go runtime when supported, or the development build required by the project.

View operation manual

What this skill helps with

  • Build native-feeling screens with platform-aware controls.
  • Apply semantic colors, icons, media and visual effects.
  • Organize responsive layouts for Expo applications.

Good for

  • Building Expo app screens
  • Refining native iOS and Android layouts
Skill scope
Native Expo screen structure, platform controls, semantic colors, icons, and layout.
Platform controls
Consult expo-ui before choosing controls. The skill’s Expo Go guidance for @expo/ui applies to SDK 56 and later.
App runtime
Expo Go where compatible, with a development build for native features outside its runtime.
Deliverable
One working screen or native settings update and its device checks.
Skill name
expo-native-ui
Repository
expo/skills

Start from the project’s native runtime

A request that assumes the web layout

Copy my desktop bookshelf layout into the Expo app.

The design leaves the keyboard, safe-area insets, scrolling list, and platform controls undefined.

A native workflow with clear checks

  1. Identify the installed Expo SDK and supported preview runtime.
  2. Choose the list and controls for the actual data and target platform.
  3. Test search, recovery, text size, safe areas, and navigation on each available platform.

Expo Native UI operation manual

Build a reading app bookshelf or refine a reading settings screen with Expo Native UI. Replace bracketed details with the actual route, data, and target devices.

Give readers a usable book list, a category filter, and navigation to the existing book-detail screen.

  1. Check the route, SDK, and preview setup

    Find the existing data and navigation, then confirm the runtime the project can actually use.

    • From the app directory, the first command checks the runtime. When compatible, the second command starts the Expo dev server and syncs skills shipped by installed packages.
    Prompt · Step 1
    Use the installed expo-native-ui skill to prepare [bookshelf route] in my Expo project. Read package.json, the app config, the route, and its existing screen and test commands. Confirm the Expo SDK, router or navigation setup, which targets we support, and where books and categories come from. Check the project’s Expo Go compatibility and identify the native dependency or config if it needs a development build. Reuse the project’s existing run instructions. Report the exact launch command and which target device or simulator is available. Ask for the intended route or dataset if it cannot be determined. Keep this pass to setup and verification.
    npx --yes @expo/agent-cli@latest status
    npx --yes @expo/agent-cli@latest start
  2. Choose the scroll container and native controls

    Use the project’s actual catalog size and select controls that make sense on both platforms.

    Prompt · Step 2
    Use expo-native-ui to plan how [bookshelf route] displays [catalog and filters]. Check the installed SDK and consult expo-ui before choosing a control. Use a virtualized list such as FlatList for a large or unpredictable catalog and make it the screen’s scroll container. Plan automatic content insets where supported and confirm the top and bottom safe areas. Choose accessible labels, platform-appropriate icon sources, and project theme colors. Map loading, error, empty library, empty search results, and populated content. Identify what tapping a book should open using the current navigation or, when adding Expo Router navigation, its expo-router guidance. Show one narrow-layout example and wait for approval to implement.
  3. Implement search and book navigation

    Wire the approved list, filter, and book item to the states and data the project already uses.

    Prompt · Step 3
    Use expo-native-ui to implement [approved bookshelf plan] at [bookshelf route]. Find the approved data and navigation target before editing. Reuse the existing data source, theme, controls, and loading logic. Wire search and category filters to the displayed list, and connect each item to its real detail destination. Keep one scroll container. Where applicable, configure list insets and keyboardShouldPersistTaps="handled" so a result opens with the keyboard visible. Include loading, error with retry, no results, and populated content. Keep the Expo SDK and existing platform support. Run the project’s targeted checks and report changed files.
  4. Test the bookshelf on target devices

    Walk one real book search, a no-results case, and one failed load with recovery where the local setup supports it.

    • Search and category filtering change the visible books.
    • The correct book opens and the primary controls stay reachable.
    • The recorded checks identify the runtime and actual platform.
    Prompt · Step 4
    Use expo-native-ui to verify [bookshelf route] with [test catalog and target platforms]. Start the supported Expo preview or development client. For each available target, search and change category, tap a result with the keyboard open, confirm the intended detail opens, and go back. Test no results, a long title, a missing cover, large system text, and a safe local load error or retry if the fixture allows it. Check top and bottom safe areas, light and dark appearance, and labels. Record the actual device or simulator, evidence, and any platform or state you could not exercise.

Find the right native UI reference

Name the target platform, SDK, and the component or state you need to check.

Choose a switch, picker, or segmented controlControls
Command or reference
expo-ui · references/controls.md
Examples
Check the installed SDK and the supported control before choosing an implementation.
A large list is jerky or has competing scroll containersLists
Command or reference
SKILL.md · Responsiveness
Examples
Make the virtualized list the scroll container and confirm its insets.
An icon only shows up on iOSIcons
Command or reference
references/icons.md
Examples
Use the matching platform icon source and verify Android offers a Material icon for the same action.
The app does not open in Expo GoRuntime
Command or reference
SKILL.md · Running the App
Examples
Run the status command and identify the first native dependency or configuration that requires a development build.

Expo Native UI troubleshooting

Does the skill install @expo/ui?

The Skills CLI installs guidance and references. Choose the supported UI package separately for your project’s SDK and target platforms. Expo documents @expo/ui in Expo Go for SDK 56.

Do I need a development build for every change?

Start with the compatible Expo Go runtime when the project can use it. Native code, dependencies outside Expo Go, or custom native configuration may require a development build.

Should I use a ScrollView around FlatList?

FlatList is already the scrolling container. Use its header, footer, and content container options for surrounding content. Account for platform insets on the actual scrolling view.