{"name":"build-native-ui-in-expo","description":"Builds native sheets, switches, sliders and menus in an Expo project with @expo/ui, which renders SwiftUI on iOS and Jetpack Compose on Android. Use when the user wants a native bottom sheet, a native switch, or a settings-style group in Expo.","category":"apps","tags":["sheets-and-dialogs","buttons"],"models":["any"],"proven":false,"passing_families":0,"model_testing":"Not yet model-tested; testing Jan 2027","url":"https://theskillvault.ai/skills/build-native-ui-in-expo","api_url":"https://theskillvault.ai/api/skills/build-native-ui-in-expo","raw_url":"https://theskillvault.ai/api/skills/build-native-ui-in-expo/raw","body":"# Build native UI in Expo\n\n`@expo/ui` draws real SwiftUI on iOS and Jetpack Compose on Android from React. Use it for a short settings group, a sheet, a switch or a menu. Keep a long feed on a virtualised list.\n\n## When to use\n- The user wants a native bottom sheet in an Expo project.\n- A settings screen should look like grouped native rows, not a web form.\n- A switch, slider or menu should be the platform control.\n\n## When not to use\n- Skip this for tabs or a stack. Those are a separate skill.\n- The list is a long feed. `@expo/ui` List is a short grouped table, not a recycled list.\n- The project is not Expo. Check `package.json` for an `expo` dependency first.\n\n## Steps\n1. Read the Expo SDK version in `package.json`. The universal components need a current SDK. If the project is older, say so and do not pretend the latest component exists.\n2. Install with `npx expo install @expo/ui` so the version matches the SDK.\n3. Wrap every `@expo/ui` tree in `Host`. A control outside `Host` will not show.\n4. Use `BottomSheet` for a slide-up panel, `Switch` for a toggle, and `Menu` for a small menu. Keep the sheet content short.\n5. Use `List` and `ListItem` only for a short, fixed group such as settings. For a feed, search results or anything of unknown length, use `FlatList` or FlashList.\n6. Load the screen in Expo Go on a current SDK, once on iOS and once on Android if you can. Native controls do not look identical. That is expected.\n7. If a component is missing from this SDK, use the React Native control and say which one you fell back to.\n\n```tsx\nimport { Host, BottomSheet, Column, Text } from \"@expo/ui\";\n\nexport function Details() {\n  return (\n    <Host>\n      <BottomSheet>\n        <Column>\n          <Text>Order details</Text>\n        </Column>\n      </BottomSheet>\n    </Host>\n  );\n}\n```\n\n## Gotchas\n- Do not put passwords, tokens or private balances in example rows.\n- `List` does not recycle rows. A long `List` will get slow. Switch that screen to `FlatList`.\n- This is an independent how-to adapted from Expo's skill. It is not official Expo documentation, and it was not run on a device in this library.\n\n## Portability\nSwiftUI and Jetpack Compose projects that are not Expo use those toolkits directly. If you use React Navigation only, a JS sheet library is fine until you adopt `@expo/ui`.\n\n## Done when\n- The sheet, switch or menu renders inside `Host` on the project's SDK.\n- Long data uses a virtualised list, not `@expo/ui` List.\n- The file says which SDK it was written for.\n\n## Example prompt\n\"Show a native bottom sheet in this Expo app with @expo/ui, and keep the product feed on FlatList.\"\n\n---\nAdapted from \"expo-ui\" in expo/skills (MIT, Copyright (c) 2025-present 650 Industries, Inc. (aka Expo)). See LICENSE.txt.","files":["LICENSE.txt"],"license":"MIT","license_name":"MIT License","license_url":"https://opensource.org/license/mit","attribution":"Based on work by Expo / 650 Industries (expo/skills, expo-ui) (Copyright (c) 2025-present 650 Industries, Inc. (aka Expo), MIT License), https://github.com/expo/skills/tree/a9e5bd3fa00b4e61f632e43f85da73aee1942582/plugins/expo/skills/expo-ui; adapted by TheSkillVault, https://theskillvault.ai","install":{"claude_code":"curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/build-native-ui-in-expo/raw' -o ~/'.claude/skills/build-native-ui-in-expo/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/build-native-ui-in-expo/files/LICENSE.txt' -o ~/'.claude/skills/build-native-ui-in-expo/LICENSE.txt'","cursor":"curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/build-native-ui-in-expo/raw' -o '.cursor/skills/build-native-ui-in-expo/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/build-native-ui-in-expo/files/LICENSE.txt' -o '.cursor/skills/build-native-ui-in-expo/LICENSE.txt'","agents":"curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/build-native-ui-in-expo/raw' -o '.agents/skills/build-native-ui-in-expo/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/build-native-ui-in-expo/files/LICENSE.txt' -o '.agents/skills/build-native-ui-in-expo/LICENSE.txt'","mcp_url":"https://theskillvault.ai/mcp","cursor_mcp_deeplink":"cursor://anysphere.cursor-deeplink/mcp/install?name=theskillvault&config=eyJ1cmwiOiJodHRwczovL3RoZXNraWxsdmF1bHQuYWkvbWNwIn0%3D","mcp_config":{"mcpServers":{"theskillvault":{"url":"https://theskillvault.ai/mcp"}}}},"bundles":[],"tested_on":[{"family":"chatgpt","name":"ChatGPT","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"claude","name":"Claude","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"gemini","name":"Gemini","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"grok","name":"Grok","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"llama","name":"Llama","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"deepseek","name":"DeepSeek","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"mistral","name":"Mistral","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"qwen","name":"Qwen","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"kimi","name":"Kimi K","outcome":null,"date":null,"source":null,"counts":false,"stale":false}],"proven_rule":{"threshold":5,"window_days":365,"computed_at":"2026-11-29T03:42:30.374Z"}}