Skip to content

Installation

Install the package and its peer dependencies.

npm install react-native-collapsible-tab
# peer deps (you likely have them):
npx expo install react-native-reanimated \
  react-native-gesture-handler react-native-pager-view

Optional list backends — only if you use their adapters:

npx expo install @shopify/flash-list   # v2+, New Architecture only
npm  install @legendapp/list

Your app must be wrapped in <GestureHandlerRootView> (Expo Router does this for you).

Note · Requirements: react-native-reanimated ≥ 3.6, react-native-gesture-handler ≥ 2, react-native-pager-view ≥ 6. iOS & Android only — no web (pager-view is native-only).