A simple and flexible React Native wheel picker component for Android, with DatePicker and TimePicker variants.
React Native Wheel Picker V2 is a React Native library that provides customizable wheel picker components for Android applications, with dedicated DatePicker and TimePicker components. It addresses the need for consistent, native-like date and time selection interfaces across platforms by leveraging native iOS pickers for iOS and custom Android implementations. The library offers flexible data binding for general-purpose wheel selection beyond just dates and times.
React Native developers building Android applications who need customizable, platform-consistent picker components for date/time selection or general wheel-based selection interfaces. It's particularly useful for developers who want native iOS picker behavior on iOS while having Android-specific wheel picker customization.
Developers choose this library because it provides a lightweight, cross-platform solution that respects platform-specific UI conventions while offering extensive customization options for Android wheel pickers. The unique selling point is its combination of native iOS DatePickerIOS integration for iOS with highly configurable Android wheel pickers, all within a single React Native library.
React Native Wheel Picker V2 provides a customizable wheel picker component for Android applications built with React Native. It offers native-like date and time selection interfaces, addressing the need for consistent and performant picker components across platforms. The library includes dedicated DatePicker and TimePicker components that leverage native iOS pickers for a seamless cross-platform experience.
The project prioritizes simplicity and flexibility, offering a lightweight solution that integrates smoothly with React Native's ecosystem while respecting platform-specific UI conventions.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
The WheelPicker component offers extensive props like selectedItemTextColor, itemTextSize, isCyclic, and indicatorColor, allowing detailed control over appearance and behavior, as shown in the README's prop table.
It uses native DatePickerIOS for iOS out-of-the-box, ensuring platform-specific UI conventions are respected without additional configuration, mentioned in the cross-platform support feature.
The base WheelPicker accepts custom data arrays, enabling use beyond dates and times for any wheel-based selection interface, as demonstrated in the usage example with days of the week.
Android-specific features include custom hour/minute arrays, hide options for sections, and min date constraints, enhancing functionality for complex picker needs, detailed in the DatePicker and TimePicker props.
For iOS, only DatePickerIOS is used, which lacks wheel picker aesthetics and the same customization options as the Android component, creating inconsistent UI capabilities across platforms.
The README includes manual Android installation steps with edits to settings.gradle and MainApplication.java, indicating potential pitfalls with native module linking that could deter developers.
Features like custom arrays, cyclic behavior, and hide options are Android-only, leading to an imbalance where iOS users miss out on advanced configurations available on Android.