Deft
Ask AI

Search

Search skills, authors and topics

expo / skills

expo-ui

Build native UI with @expo/ui: real SwiftUI on iOS and Jetpack Compose on Android. Use for sheets, pickers, sliders, toggles, menus and grouped form sections, with drop-in replacements for React Native community libraries.

Install

npx skills add https://github.com/expo/skills --skill expo-ui

Drop-in replacements for RN community libraries

@expo/ui ships API-compatible replacements for popular React Native community libraries, powered by native @expo/ui components (Jetpack Compose on Android, SwiftUI on iOS). Use these when migrating an existing app off a community UI dependency — the API matches the library being replaced, so the swap is usually just the import path.

Available replacements

Every drop-in lives under @expo/ui/community/<kebab-case-name>. Note which are default vs named imports.

ReplacesImport
@gorhom/bottom-sheetimport BottomSheet, { BottomSheetView } from '@expo/ui/community/bottom-sheet'
@react-native-community/datetimepickerimport DateTimePicker from '@expo/ui/community/datetime-picker'
@react-native-masked-view/masked-viewimport { MaskedView } from '@expo/ui/community/masked-view'
@react-native-menu/menuimport { MenuView } from '@expo/ui/community/menu'
react-native-pager-viewimport PagerView from '@expo/ui/community/pager-view'
@react-native-picker/pickerimport { Picker } from '@expo/ui/community/picker'
@react-native-segmented-control/segmented-controlimport SegmentedControl from '@expo/ui/community/segmented-control'
@react-native-community/sliderimport Slider from '@expo/ui/community/slider'

Confirming the API

Each component has a dedicated docs page with setup and usage:

The installed package's TypeScript types (.d.ts) are the most reliable source of truth for the exact props on your SDK version (@expo/ui is versioned with the SDK and its API can change between versions). Use the doc page to find platform support and any props that differ from the library being replaced.