Animated pagination component for React Native's ListView, FlatList, and SectionList with customizable dots and navigation.
React Native Pagination is a library that provides animated pagination indicators and navigation controls for React Native's ListView, FlatList, and SectionList components. It solves the problem of visually indicating scroll position and enabling quick navigation through long lists in mobile apps, with fully customizable dots and optional start/end navigation icons.
React Native developers building mobile applications with scrollable lists who need pagination indicators, such as those creating image galleries, onboarding screens, or data-heavy lists.
Developers choose this library for its extensive customization options, smooth animations, and seamless integration with React Native's core list components, offering a more polished alternative to building pagination from scratch.
Animated Pagination For React Native's ListView, FlatList, and SectionList
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers over 50 props for dot icons, colors, sizes, text, and positioning, as detailed in the Properties section, allowing fine-grained control over appearance.
Provides built-in animations for dot states (active, inactive, empty) with customizable animation presets like LayoutAnimation.Presets.easeInEaseOut.
Seamlessly works with both horizontal and vertical lists, automatically adjusting start/end dot icons and layouts based on the horizontal prop.
Includes light and dark dot themes (via dotThemeLight) for different backgrounds, reducing styling effort for common use cases.
Currently only supports FlatList, as stated in the README, excluding other React Native list components like SectionList or ListView.
Requires manual handling of list refs and onViewableItemsChanged callbacks, which can be error-prone and adds boilerplate code.
Relies on react-native-vector-icons for icons, adding an extra dependency and setup step (e.g., react-native link) that might conflict with other libraries.