
Description
react-native-datetimepicker is a date and time picker component for React Native, supporting iOS, Android and Windows. The README notes that Windows is not actively maintained. The repository was moved out of the React Native Community GitHub organization, and the package is still published on npm under its original namespace, with a note that it will move to a new namespace at some point with a major version bump. The component is configured through props. The mode prop selects whether the user picks a date, a time or both, and the display prop sets how the picker appears. Android has its own options for the design, the initial input mode, the title, fullscreen display and whether the year selection opens first, and it also offers an imperative API for opening the picker. Value change handlers fire as the user picks a value, and dismiss and neutral-button handlers cover the other ways the picker closes, with onChange kept only for backwards compatibility. Minimum and maximum dates limit the range the user can pick. The README includes a localization note, screenshots of each platform and a list of requirements. It is useful for React Native developers who need a native-looking date or time input on mobile. Because the maintainers ask for support through donations or contributions, teams that depend on the package may want to plan for its future namespace change. The README's badges show an MIT License. The package's own documentation should be checked for the version a project uses.…
Highlights
- Date and time picker for iOS and Android
- Windows support, not actively maintained
- Props for mode, display, value and date limits
- Android-only options and an imperative API
- Change, dismiss and neutral-button handlers
Ratings & Reviews
No ratings yet
Be the first to rate @react-native-community/datetimepicker.
People also visit
@react-native-community/datetimepicker FAQ
Which platforms are supported?
iOS and Android, and Windows, which the README says is not actively maintained.
Is the package still on npm?
Yes, under the original namespace, with a note that it will move to a new namespace in a future major version.
What props control the picker?
Among others, mode, display, value, minimumDate and maximumDate, plus handlers for value change and dismissal.
What license is it under?
The README shows an MIT License badge.
What are the best @react-native-community/datetimepicker alternatives?
Popular alternatives to @react-native-community/datetimepicker include react-native-date-picker, react-native-date-picker and react-datetime. See all @react-native-community/datetimepicker alternatives















