Example app
The repository includes a comprehensive example app built with Expo Router that demonstrates all major features of the library.
Running locally
Clone the repository and start the example:
git clone https://github.com/pawicao/react-native-header-motion.git
cd react-native-header-motion
yarn install
yarn example start
What's included
The example app covers a wide range of scenarios — from a simple collapsible header with navigation bridging, to multi-page pager setups, all five offset strategies, custom scrollables (FlashList, LegendList), overscroll effects, pull to refresh, pannable headers, consumer scroll handlers, external refs, and more.
Each example is a standalone screen in the Expo Router app under example/src/app/.