Skip to main content
Version: 1.x

Installation

Install the library​

npm install react-native-header-motion

Peer dependencies​

Header Motion relies on three peer dependencies that your project must provide:

PackageRequired version
react-native-reanimated^4.0.0
react-native-gesture-handler^2.0.0
react-native-worklets>= 0.4.0

If you already have these installed, you're good to go. Otherwise, follow their respective installation guides:

caution

Make sure the version of react-native-worklets you install is compatible with your version of Reanimated. Check the compatibility table before installing.

Version notes​

What's next?​

With everything installed, head to the Quick Start to build your first animated header.