# xgfe/react-native-datepicker

react native datePicker component for both Android and IOS, useing DatePikcerAndroid, TimePickerAndroid and DatePickerIOS

Repository: https://github.com/xgfe/react-native-datepicker
Canonical: https://ross.abutalabs.com/products/react-native-datepicker
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-05-05T12:02:07+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3786, "days_push": 1216, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2112, forks 713 (observed 2026-08-28T04:06:14.460934+00:00)

## What it is
A React Native date and time picker component that works on both Android and iOS by wrapping the native DatePickerAndroid, TimePickerAndroid, and DatePickerIOS APIs. It exposes a single customizable <DatePicker> element with date, time, and datetime modes, configurable formats, min/max dates, and custom styling.

## Use cases
- add a date picker to my react native app
- let users pick a date and time on both ios and android in react native
- react native component for selecting a date within a min and max range
- customizable calendar or spinner date input for react native
- time picker widget for a react native form
- format and display a selected date in a react native input field

## When to choose
- You are on an older React Native version where DatePickerAndroid, TimePickerAndroid, and DatePickerIOS still exist in core
- You want one cross-platform component covering date, time, and datetime modes
- You need configurable date formats, min/max date constraints, and custom styling of the input, icon, and confirm/cancel buttons

## When to avoid
- Modern React Native projects, since the underlying DatePickerAndroid/TimePickerAndroid/DatePickerIOS APIs have been deprecated and removed from RN core
- You need an actively developed component with ongoing bug fixes and new RN version support
- You need a web or non-React-Native date picker

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, date-time
- domain: mobile-development, frontend
- platform: -
- tags: react-native, date-picker, time-picker, datetime-picker, ui-component, javascript, cross-platform, form-input, android, ios, mobile

## Member repositories
- xgfe/react-native-datepicker (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:14.460934+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:53:42.207124+00:00, confidence not recorded.
  - readme: https://github.com/xgfe/react-native-datepicker (fetched 2026-08-28T04:06:14.460934+00:00, sha 6cfc12319268)
  - registry_npm: https://registry.npmjs.org/react-native-datepicker (fetched 2026-08-29T10:34:03.704661+00:00, sha 2b2e39fd8361)
- Data as of 2026-08-30T08:39:29.467469+00:00.
