Documentation Index
Fetch the complete documentation index at: https://brandtnewlabs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Install
Peer dependencies
Install the library’s peer dependencies in your app. Versions should match your React Native / Expo SDK.| Peer | Role |
|---|---|
react | UI |
react-native | Host |
@shopify/react-native-skia | Canvas rendering |
react-native-reanimated | Shared values, animations, worklets |
react-native-worklets | Required by Reanimated 4+ |
react-native-gesture-handler | Pan / scrub gestures |
Babel
The package ships TypeScript source, so your app’s bundler compiles it with the same stack as a typical Expo / Reanimated 4 project. You need:babel-preset-expo(or an equivalent preset that includes Reanimated’s Babel plugin), andreact-native-worklets/pluginas the last entry in yourpluginsarray.
babel.config.js
Metro / package exports
From Expo SDK 53+, Metro resolvesimport using package.json exports, including the
react-native condition. This library’s runtime entry is src/index.ts under that condition —
your Metro + Babel pipeline compiles it.
If you disabled package exports (unstable_enablePackageExports: false), re-enable them or align
your resolver so resolution matches the published map.
Gesture handler root
Scrubbing uses Gesture Handler, so wrap your app (or the screen hosting the chart) in aGestureHandlerRootView: