gpbl/react-day-picker

DayPicker is a customizable date picker component for React. Add date pickers, calendars, and date inputs to your web applications.

TypeScript

6,859

6,330 commits

updated Sep 30, 2026

See the code

README

React DayPicker

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

@daypicker/react is the preferred package name for DayPicker v10 and newer.

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 preferred DayPicker package name:

npm install @daypicker/react

npm version npm downloads Min gzipped size

Example

import { useState } from "react";

import { DayPicker } from "@daypicker/react";
import "@daypicker/react/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.

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

calendar
calendar-component
calendar-widget
component
date-fns
date-picker
datepicker
date-picker-range
react
react-component

gpbl/react-day-picker

DayPicker is a customizable date picker component for React. Add date pickers, calendars, and date inputs to your web applications.

TypeScript

6,859

6,330 commits

updated Sep 30, 2026

See the code

README

React DayPicker

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

@daypicker/react is the preferred package name for DayPicker v10 and newer.

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 preferred DayPicker package name:

npm install @daypicker/react

npm version npm downloads Min gzipped size

Example

import { useState } from "react";

import { DayPicker } from "@daypicker/react";
import "@daypicker/react/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.

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

calendar
calendar-component
calendar-widget
component
date-fns
date-picker
datepicker
date-picker-range
react
react-component

Project health

Overall

5.2/10

Maintained

5/10

Code review

1/10
OpenSSF Scorecard

Latest release

10.0.2 · Sep 30, 2026

Releases this year

11

Significant stargazers

(top 24 of 46)

EGOIST

13,582 followers · starred Sep 2023

Travis Fischer

4,596 followers · starred Sep 2026

Christian Murphy

218 followers · starred Feb 2023

Brian Vaughn

11,656 followers · starred Nov 2015