Installation
-
Install the package and its peers
Terminal window npx expo install expo-modern-table @shopify/flash-list react-native-gesture-handler react-native-reanimated react-native-worklets react-native-svg lucide-react-nativeTerminal window npm install expo-modern-table @shopify/flash-list react-native-gesture-handler react-native-reanimated react-native-worklets react-native-svg lucide-react-nativeTerminal window yarn add expo-modern-table @shopify/flash-list react-native-gesture-handler react-native-reanimated react-native-worklets react-native-svg lucide-react-nativeTerminal window pnpm add expo-modern-table @shopify/flash-list react-native-gesture-handler react-native-reanimated react-native-worklets react-native-svg lucide-react-nativereact-native-workletsis only needed with Reanimated 4. Apps created withcreate-expo-appalready include Reanimated, Gesture Handler and SVG —npx expo installpicks versions that match your SDK. -
Wrap your app in
GestureHandlerRootView(once, at the root)App.tsx import { GestureHandlerRootView } from 'react-native-gesture-handler';export default function App() {return (<GestureHandlerRootView style={{ flex: 1 }}>{/* your navigation / screens */}</GestureHandlerRootView>);}Expo Router apps can do this in
app/_layout.tsx. -
Bare React Native only: add the Babel plugin
Expo’s
babel-preset-expoconfigures it for you. In a bare app, add the plugin last:babel.config.js module.exports = {presets: ['module:@react-native/babel-preset'],plugins: [// Reanimated 4: 'react-native-worklets/plugin' · Reanimated 3: 'react-native-reanimated/plugin''react-native-worklets/plugin',],};
That’s it — continue with the quick start.
Peer dependencies
Section titled “Peer dependencies”| Package | Required | Tested with |
|---|---|---|
react, react-native |
Yes (>=18, >=0.73) |
React 19.1 · RN 0.81 (Expo SDK 54) |
@shopify/flash-list |
Yes — v1 (>=1.6) or v2 |
2.x |
react-native-gesture-handler |
Yes (>=2.14) |
2.28 |
react-native-reanimated |
Yes (>=3.6) |
4.1 |
lucide-react-native |
Yes — default icons, replaceable | 0.556 |
react-native-svg |
Yes, through lucide-react-native |
15.12 |
expo-screen-orientation |
No — only for the fullscreen button | 9.0 |
Everything is compatible with Expo Go — no custom native code, no dev build required.
The table works with react-native-web. In an Expo app:
npx expo install react-dom react-native-web @expo/metro-runtimeSee Web support for what differs from native.
The package ships ES modules (lib/module). If your Jest config doesn’t already transform React
Native packages from node_modules, add it to transformIgnorePatterns — jest-expo and the
react-native preset need the same for lucide-react-native, react-native-reanimated and
friends:
module.exports = { preset: 'jest-expo', transformIgnorePatterns: [ 'node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@shopify/flash-list|lucide-react-native|expo-modern-table)', ],};