React Native Date Picker for Expo

Install

Date Picker · Birthday, native in Expo Go — the other variants are a tap away. No account needed.

Needs Expo Go for SDK 58 — update from the App Store or Play Store.

A floating-label date field that opens the calendar in a draggable spring sheet.

NewiOS · Android · Expo Go
9:41

Installation

One command copies the source into your app — you own the code and can change anything.

After you add the file, import it like any local component:

App.tsx
import { DatePicker } from "@/components/ui/date-picker";

Or add it with the CLI (installs any missing peers):

Usage

Colours, radius and light / dark come from useKit(). Wrap your app in <KitProvider accent="#6366f1" radius={14}> to re-skin every component at once.

Like this? There's a lot more in Pro Pro

12 full screens built from the same kit — install them the same way.

See what's in Pro

Props

PropTypeDefault
label

Rests in the field, floats onto the border when open or filled.

string—
floatingLabel

Set to false to put the label above the field as static text (no notch) and show placeholder inside.

booleantrue
mode

One date or a start / end range.

'single' | 'range''single'
value

Controlled value.

Date | { start, end } | null—
defaultValue

Initial value when uncontrolled.

Date | { start, end } | nullnull
onChange

Called with the committed date / range, or null when cleared.

(value) => void—
presentation

auto: bottom sheet on phones, centred dialog from 640pt wide · sheet: always a bottom sheet with drag-to-dismiss · dialog: always a centred modal · popover: drops under the field.

'auto' | 'sheet' | 'dialog' | 'popover''auto'
presets

true adds built-in shortcuts (Today, Next 7 days, Next weekend, This month…); or pass your own.

boolean | { label, value | () => value }[]—
confirm

Stage picks behind Clear / Done; otherwise picking (or finishing a range) closes the picker.

booleanfalse
clearable

Show an × in the field that clears the value.

booleanfalse
format

Custom formatter for each date shown in the field.

(date: Date) => string—
formatOptions

Intl options for the field text.

Intl.DateTimeFormatOptions{ day, month: 'short', year }
locale

Locale for the field and the calendar.

stringdevice
size

Field height 46 / 56 / 66 and type size.

'sm' | 'md' | 'lg''md'
placeholder

Shown in the field while open with nothing picked, and in the sheet header.

string—
title

Sheet heading.

stringlabel
minDate / maxDate

Selectable bounds; presets outside them are disabled.

Date—
isDateDisabled

Disable individual days.

(date: Date) => boolean—
markedDates

Event dots, passed to Calendar.

Record<string, string | string[]>—
weekStartsOn

First day of the week.

0 | 10
showOutsideDays

Show neighbouring-month days in the grid.

booleanfalse
error

Red border, icon message and one shake.

string—
success

Success border and check; a string is shown under the field.

boolean | string—
helper

Hint under the field.

string—
disabled

Dims the field and blocks opening.

booleanfalse
accent

Focus, halo and selection colour.

stringtheme accent
surface

Background behind the field (the label notch uses it).

stringtheme background
onOpenChange

Called when the picker opens or closes.

(open: boolean) => void—
style

Root container style.

StyleProp<ViewStyle>—
className

Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.

string—
fieldStyle

The bordered box: background, border width / colour, radius, height, padding. Wins over the computed style; a borderColor replaces the resting border only (focus, error and success colours still show). A numeric height / borderRadius re-centres the label and resizes the halo.

StyleProp<ViewStyle>—
inputStyle

The formatted date text in the trigger.

StyleProp<TextStyle>—
labelStyle

Label in both modes (floating and above). color is the resting colour — focus (accent), error and success still take over; fontSize sets the resting size, it floats at the same ratio and the notch follows its width.

StyleProp<TextStyle>—
messageStyle

Helper / error / success text. color applies to the helper; error and success keep their tone colour.

StyleProp<TextStyle>—
placeholderTextColor

Placeholder colour in the trigger.

stringtheme mutedForeground
iconColor

Calendar icon and clear × colour at rest (calendar turns accent while open).

stringtheme mutedForeground
menuStyle

Sheet / dialog / popover panel — background, border, radius, padding, shadow (transform and opacity are animated).

StyleProp<ViewStyle>—

Customization

You own the source file — tune appearance with props (no fork required for most tweaks). For brand-wide colours and radius, wrap your app in KitProvider; for one-off looks, use the style props below.

Design theme

Open Design theme on the live preview — accent, corner radius and font update every variant instantly (same as KitProvider in your app).

Variants

Use the variant chips on the preview to switch examples; each maps to a demo you can copy from the Code tab.

Style props

React Native style and typed slots like fieldStyle, plus optional root className when you use NativeWind or Uniwind (cnProps from kit).

size
'sm' | 'md' | 'lg' · default 'md'Field height 46 / 56 / 66 and type size.
accent
string · default theme accentFocus, halo and selection colour.
surface
string · default theme backgroundBackground behind the field (the label notch uses it).
style
StyleProp<ViewStyle>Root container style.
className
stringTailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.
fieldStyle
StyleProp<ViewStyle>The bordered box: background, border width / colour, radius, height, padding. Wins over the computed style; a borderColor replaces the resting border only (focus, error and success colours still show). A numeric height / borderRadius re-centres the label and resizes the halo.
inputStyle
StyleProp<TextStyle>The formatted date text in the trigger.
labelStyle
StyleProp<TextStyle>Label in both modes (floating and above). color is the resting colour — focus (accent), error and success still take over; fontSize sets the resting size, it floats at the same ratio and the notch follows its width.
messageStyle
StyleProp<TextStyle>Helper / error / success text. color applies to the helper; error and success keep their tone colour.
placeholderTextColor
string · default theme mutedForegroundPlaceholder colour in the trigger.
iconColor
string · default theme mutedForegroundCalendar icon and clear × colour at rest (calendar turns accent while open).
menuStyle
StyleProp<ViewStyle>Sheet / dialog / popover panel — background, border, radius, padding, shadow (transform and opacity are animated).

Map tokens from your design system on Bring your design system or read Theming for KitProvider and NativeWind / Uniwind setup.

Behaviour & accessibility

Touch
Tap the field to open the picker. In a sheet, drag the grabber header down (or flick it) to dismiss.
Motion
The label floats onto the border and a focus halo springs in while open. An error shakes the field once and its message springs in below.
Screen readers
The field is a button labelled with your label, with the date (or "Not set") as its value and an expanded state. Helper, error and success messages are polite live regions.
Platforms
With presentation 'auto' it opens a bottom sheet on phones and a centred dialog from 640pt wide.

Source

FAQ

How do I make a date picker in React Native?
Use ExpoKit's Date Picker: run npx @expokit/cli@latest add date-picker in your Expo or React Native project and it copies a ready-made date picker into your app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.
Does Date Picker work in Expo Go?
Yes. Date Picker runs in Expo Go on iOS and Android with no development build — its packages (react-native-svg) are all included in Expo Go.
How do I add Date Picker to my Expo app?
Run npx @expokit/cli@latest add date-picker in your project. The CLI copies the component's source into your app and installs react-native-svg, so the code is yours to change.
Is Date Picker free?
Yes. Date Picker is free: its full source is on this page and the CLI installs it without an account.
Can I change how Date Picker looks?
Yes. It takes its colours, radius and light / dark mode from useKit(), so wrapping your app in <KitProvider accent radius> re-skins it with every other ExpoKit component. The code lives in your project, so you can also edit anything directly.