react-native-pager-view is a React Native wrapper that provides swipeable page navigation using native Android ViewPager and iOS UIPageViewController implementations.
The component solves the problem of creating smooth, performant page-swiping interfaces in React Native by delegating to platform-native controls rather than implementing the behavior in JavaScript. It allows users to swipe left and right through pages of data, with the native implementations handling the gesture recognition and animation performance.
Developers should choose this tool when building apps that need carousel or tab-like navigation with native feel and performance. It suits projects targeting both Android and iOS where swipeable page transitions are a core interaction pattern. The tool requires that only View components be used as direct children of PagerView, and on Android, parent Views with their own children must have the collapsable property set to false to prevent React Native from removing nested view hierarchies. An example project is available demonstrating basic usage patterns.
The project maintains active support for React Native's new architecture, having dropped support for older architecture versions. Migration guidance is provided for users upgrading from earlier versions, including documentation of breaking changes such as the removal of the transitionStyle property. The tool supports multiple package managers for installation and provides autolinking for React Native versions that support it, with manual linking instructions available for older versions.