A customizable React Native date, time, and datetime picker component for iOS and Android with native look and feel.
React Native Date Picker is a cross-platform React Native component for selecting dates, times, or both in iOS and Android apps. It provides native platform pickers for an authentic user experience and supports modal or inline display with extensive customization options. It solves the problem of implementing consistent, high-performance date/time selection across platforms without compromising on native look and feel.
React Native developers building mobile apps that require date or time input, particularly those needing platform-specific UI, internationalization support, or integration with Expo development builds.
Developers choose this library for its use of native iOS and Android pickers, ensuring a seamless, platform-authentic experience with high performance. Its unique selling point is the combined datetime mode on Android, which avoids separate popups and improves user interaction.
React Native Date Picker is datetime picker for Android and iOS. It includes date, time and datetime picker modes. The datepicker is customizable and is supporting different languages. It's written with native code to achieve the best possible look, feel and performance.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses native iOS UIDatePicker and Android DatePickerDialog for an authentic look and feel, ensuring high performance and seamless user interaction as described in the philosophy.
Supports date, time, and datetime modes in a single component, with clear examples and props like `mode` to switch between them, reducing the need for multiple pickers.
Offers locale-based formatting and language support through the `locale` prop, allowing apps to adapt date order and 12/24h preferences automatically for different regions.
Can be used as a modal with built-in buttons or inline within any view, providing versatility in UI design as shown in the example code snippets.
Compatible with Expo development builds, enabling easier setup for Expo users, though it excludes Expo Go as noted in the requirements.
Changing font size on iOS requires manual workarounds like modifying native styles, as admitted in the 'Font size' section, making fine-grained customization cumbersome.
Does not support a month-year-only picker due to constraints in iOS's DatePickerIOS, forcing developers to seek alternative solutions for such use cases.
Can crash in production if Proguard is enabled without specific keep rules, adding extra configuration steps and potential debugging overhead.
Requires pod installation for iOS and careful linking, which complicates setup compared to pure JavaScript solutions and limits use in Expo Go.