React Native Date Picker
React Native Date Picker is a cross-platform datetime picker component that provides a native look and feel on both iOS and Android. It leverages native code from each platform to deliver the genuine user experience that users expect.Key Features
Cross-Platform Support
Works seamlessly on iOS, Android, and Expo projects
Multiple Modes
Three picker modes: Date, Time, and DateTime
Internationalization
Support for various languages and locale-based formatting
Customizable
Extensive styling options and theming support
Modal or Inline
Use as a modal popup or inline component
New Architecture
Full support for React Native’s Fabric and Turbo Modules
Platform Support
This library uses native components to provide the best user experience on each platform.
- Native iOS date picker component
- Requires Xcode >= 11.6
- Supports iOS system date/time preferences
- Native Android date picker component
- Unique datetime mode that combines date and time selection
- Customizable colors and theming
- Compatible with Expo SDK 42 and later
- Works with Development Builds
- Note: Not compatible with Expo Go (requires custom native code)
Requirements
- Xcode >= 11.6 (for iOS development)
- React Native >= 0.57
- React >= 17.0.1
- For React Native 0.64, version 0.64.2 or later is required
- For Expo projects:
- Expo SDK 42 or later
- If using Expo SDK 44, version 44.0.4 or later is required
- Must use Development Builds (not compatible with Expo Go)
Display Modes
The picker offers three different modes to suit various use cases:DateTime Mode
The datetime mode allows users to select both date and time in a single picker interface. This is the default mode and is particularly useful on Android, where it avoids the need for two separate picker popups.Date Mode
The date mode displays only date selection (year, month, day). The order of date components adjusts automatically based on the locale.Time Mode
The time mode shows only time selection. The AM/PM format is automatically adjusted based on locale and device settings.Usage Patterns
Modal Pattern
Use the built-in modal for a controlled popup experience:Inline Pattern
Embed the picker directly in your view:Why React Native Date Picker?
The datetime mode on Android is particularly unique, providing a superior user experience by combining date and time selection in a single interface.
React Native’s New Architecture
This package fully supports React Native’s new architecture (Fabric + Turbo Modules) from React Native 0.71 and forward. Support was introduced in version 4.3.0 of react-native-date-picker.Next Steps
Installation
Get started by installing the library
Quick Start
Build your first date picker