Skip to main content
Version: 0.x (Reanimated v3)

Installation

Prerequisites

Reanimated Tab View requires the following peer dependencies:

Make sure you have them installed and configured in your project before proceeding. Follow the official installation guides:

Optional peer dependencies

These are only needed if you render the matching component inside a scene:

PackageVersionNeeded for
@shopify/flash-list>= 2.0.0RTVFlashList
@legendapp/list>= 3.0.0RTVLegendList

Leaving them out is fine: your app still bundles, and only the component you did not install is unavailable.

Install the package

yarn add reanimated-tab-view

Or using npm:

npm install reanimated-tab-view

Wrap your app with GestureHandlerRootView

Ensure your app is wrapped with GestureHandlerRootView from react-native-gesture-handler:

import { GestureHandlerRootView } from 'react-native-gesture-handler';

export default function App() {
return (
<GestureHandlerRootView style={{ flex: 1 }}>
{/* Your app content */}
</GestureHandlerRootView>
);
}

Platform support

PlatformSupported
iOSYes
AndroidYes
WebPartial

Collapsible headers are supported on iOS and Android.