react-day-picker vs react-datepicker vs react-calendar vs react-datetime
Choosing a calendar surface or date-time input
react-day-pickerreact-datepickerreact-calendarreact-datetimeSimilar Packages:

Choosing a calendar surface or date-time input

Choose the interaction, value representation and integration dependencies before comparing visual customization.

Npm Package Weekly Downloads Trend

3 Years

Github Stars Ranking

Stat Detail

Package
Downloads
Stars
Size
Issues
Publish
License
react-day-picker52,251,7166,864992 kB252 months agoMIT
react-datepicker6,878,4638,3874.5 MB95a year agoMIT
react-calendar1,458,9103,789271 kB238 months agoMIT
react-datetime379,7382,002291 kB1822 years agoMIT

Begin with the field people must use

React Calendar provides a calendar surface with navigation and range selection. React Datepicker integrates an input and popup calendar with optional time controls. React Datetime provides date-only, time-only or combined entry around Moment parsing. DayPicker focuses on a customizable calendar with single, multiple and range modes.

An inline grid, a typed field and a combined date/time control create different validation and interaction work. Do not choose merely from a calendar screenshot or assume every package returns the same value.

Align dependencies and values

React Datetime requires Moment; its displayTimeZone option also needs the documented Moment Timezone setup. Its callback may represent a parsed value or text that has not become a valid value. That dependency and parsing model are concrete integration considerations.

React Datepicker's actual published interface includes timeZone with an optional date-fns-tz integration. Configure it deliberately instead of repeating a broad README statement that omits the option. DayPicker's unscoped and scoped names should not be ranked as independent calendar engines.

Define the application's date meaning

A calendar date, a local date/time and an absolute instant are different values. Locale display alone does not choose the storage zone or resolve daylight-saving boundaries. Test clearing, incomplete input, constraints and keyboard flow in the actual form. Component options do not by themselves establish the finished application's behavior.

How to Choose: react-day-picker vs react-datepicker vs react-calendar vs react-datetime

  • react-day-picker:

    Choose the customizable DayPicker calendar API when composing the surrounding field. The project prefers @daypicker/react for new integrations; the unscoped package remains a specific compatibility entry.

  • react-datepicker:

    Choose a combined input/calendar workflow with optional time selection; configure the selected mode, stylesheet and any named-zone dependency.

  • react-calendar:

    Choose an inline calendar and range-selection surface when the application owns the surrounding input or popup.

  • react-datetime:

    Choose its Moment-based date/time editing when that parsing and formatting model fits. Handle incomplete text as well as valid values.

README for react-day-picker

React DayPicker

DayPicker is a React component for creating date pickers, calendars, and date inputs for web applications.

You are reading the README for react-day-picker, the legacy DayPicker package name. It remains available for compatibility and exposes the same DayPicker API in v10, but new projects should use @daypicker/react.

Documentation

See daypicker.dev for guides, examples, and API reference, or read the v10 docs in the repository.

Screenshot of DayPicker displaying the September 2025 calendar, with the date range from the 17th to the 20th selected.

Features

DayPicker is written in TypeScript and compiled to CommonJS and ESM. It relies on date-fns for date manipulation and formatting.

Installation

Install the legacy DayPicker package name:

npm install react-day-picker

For new projects, prefer the @daypicker/react package name:

npm install @daypicker/react

npm version npm downloads Min gzipped size

Example

import { useState } from "react";

import { DayPicker } from "react-day-picker";
import "react-day-picker/style.css";

function MyDatePicker() {
  const [selected, setSelected] = useState<Date>();

  return (
    <DayPicker
      mode="single"
      selected={selected}
      onSelect={setSelected}
      footer={
        selected ? `Selected: ${selected.toLocaleDateString()}` : "Pick a day."
      }
    />
  );
}

Compatibility

DayPicker is compatible with React 16.8 and later.

License

DayPicker is released under the MIT License.

Community

Ask for help and share your experience with DayPicker:

Sponsors

Thank you to everyone supporting DayPicker - your sponsorship keeps this project maintained and evolving.

CHECK24 wilsonadenuga severinlandolt syntaxfm thnxdev katyabilokur bedandbreakfasteu Thinkmill AlexKDawson dimitur2204 indeedeng flexbox github tjfred35