React date picker libraries

Updated Nov 2026

React date picker libraries render a calendar, a date input, or both, for choosing a date, a range, or a date and time. These libraries let booking, scheduling, and reporting screens accept dates entered with a mouse, a keyboard, or a screen reader.

Popularity

React DayPicker has the most monthly downloads in this comparison, at 184.5M.

LibraryMonthly downloadsStarsLast releaseLicense
React DayPicker
188.7M
6.9KSep 2026MIT
MUI X Date Pickers
27.2M
5.9KNov 2026MIT
react-datepicker
26.9M
8.4KDec 2025MIT
rc-picker
12.0M
306Feb 2025MIT
@react-aria/datepicker
10.4M
16.1KMay 2026Apache-2.0
Mantine Dates
6.9M
32.0KNov 2026MIT
@zag-js/date-picker
6.7M
5.3KNov 2026MIT
react-calendar
5.8M
3.8KApr 2026MIT
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

React DayPicker

React DayPicker is a React component for building date pickers, calendars, and date inputs. The mode prop selects one day, several days, or a range, and selected with onSelect keep the choice in component state. A default stylesheet ships with the package, and any CSS framework can restyle it. Localization covers languages and time zones, and add-on packages bring Persian, Hijri, Buddhist, Ethiopic, and Hebrew calendars. The newest major version publishes under the package name @daypicker/react, and its date math runs on date-fns.

Downloads / mo
188.7M
Stars
6.9K
Last release
10.0.2
License
MIT

Strengths

  • Selects continuous date ranges. Set mode to range and constrain the selected number of nights.
  • Adapts to application styling. Extend the default CSS, or restyle the calendar with any CSS framework.

Limitations

  • Ranges can include disabled dates. Enable excludeDisabled to reset ranges that cross unavailable dates.
  • Calendar add-ons install separately. Install a matching add-on when using a non-Gregorian calendar.

Quickstart

From README.md
$ npm install react react-dom react-day-picker
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."
      }
    />
  );
}

React DayPicker examples

From open-source projects on GitHub

MUI X Date Pickers

MUI X Date Pickers is a set of React components for choosing dates, times, and date-time values, built on Material Design. Every picker sits inside a LocalizationProvider, which takes an adapter for the date library the app uses, such as Day.js. The free Community package, under the MIT license, includes date, time, and date-time pickers. Range pickers belong to the Pro package, which requires a commercial license.

Downloads / mo
27.2M
Stars
5.9K
Last release
9.18.0
License
MIT

Strengths

  • Blocks unavailable date choices. Use shouldDisableDate to prevent selection of application-specific unavailable dates.
  • Customizes internal picker components. Replace picker slots to fit existing application controls.

Limitations

  • Timezones need a compatible adapter. Use the Day.js adapter when UTC and timezone support are required.
  • Today stays fixed after mounting. Past and future validation use the provider’s initial current time.
  • Range pickers in Pro. Date and time range pickers need the commercially licensed Pro package.

Quickstart

From quickstart
$ npm install react react-dom @mui/x-date-pickers @mui/material @emotion/react @emotion/styled dayjs
import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';
import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';
import { DatePicker } from '@mui/x-date-pickers/DatePicker';
export default function App() {
  return <LocalizationProvider dateAdapter={AdapterDayjs}><DatePicker /></LocalizationProvider>;
}

MUI X Date Pickers examples

From open-source projects on GitHub

react-datepicker

react-datepicker is a date input with a popup calendar for React. selected holds the current date, onChange receives each new value, and the package's CSS file supplies the default look. showTimeSelect adds time selection to the same picker, so one control sets both a date and a time. Locales other than US English come from date-fns, imported and registered with the picker.

Downloads / mo
26.9M
Stars
8.4K
Last release
9.1.0
License
MIT

Strengths

  • Combines date and time selection. Enable showTimeSelect when a form needs both a date and time.
  • Localizes picker display components. Import a locale and register it for the picker.

Limitations

  • Timezone conversion needs another library. Use date-fns-tz when dates need conversion between timezones.

Quickstart

From README.md
$ npm install react react-dom react-datepicker
import React, { useState } from "react";
import DatePicker from "react-datepicker";

import "react-datepicker/dist/react-datepicker.css";

const Example = () => {
  const [startDate, setStartDate] = useState(new Date());
  return <DatePicker selected={startDate} onChange={(date) => setStartDate(date)} />;
};

react-datepicker examples

From open-source projects on GitHub

rc-picker is the date and time picker that Ant Design builds on, now published under the name @rc-component/picker. It exports a single picker, a range picker, and a panel without a popup, with modes for dates, times, weeks, months, quarters, and years. A generateConfig adapter connects it to the app's date library, whether Day.js, date-fns, Luxon, or Moment, and a locale package sets the language. Presets, disabled dates, and custom cell rendering are set through props.

Downloads / mo
12.0M
Stars
306
Last release
4.11.3
License
MIT

Strengths

  • Week, quarter, and year modes. The same picker selects weeks, months, quarters, or years, as well as single dates.

Limitations

  • Renamed package. The README now installs @rc-component/picker, the new name for rc-picker.

Quickstart

From README.md
$ npm install react react-dom rc-picker dayjs
import Picker from 'rc-picker';
import enUS from 'rc-picker/lib/locale/en_US';
import dayjsGenerateConfig from 'rc-picker/lib/generate/dayjs';
import 'rc-picker/assets/index.css';
export default function App() {
  return <Picker locale={enUS} generateConfig={dayjsGenerateConfig} />;
}

rc-picker examples

From open-source projects on GitHub

@react-aria/datepicker

@react-aria/datepicker provides hooks with the behavior and accessibility of a date field and a date picker, and no markup or styles of its own. useDateField shows each part of a date, such as the month, day, and year, as a separate segment edited from the keyboard, and useDatePicker joins a field with a calendar popover. State comes from the companion @react-stately/datepicker package. Both belong to React Aria, Adobe's library of unstyled components and hooks.

Downloads / mo
10.4M
Stars
16.1K
Last release
3.17.1
License
Apache-2.0

Strengths

  • Segmented keyboard entry. Each part of the date is its own segment, typed or stepped with the arrow keys.

Limitations

  • App renders every element. The input segments, the button, and the popover are all markup the app writes and styles.

Quickstart

From useDatePicker.ts
$ npm install react react-dom @react-aria/datepicker @react-stately/datepicker
import { useRef } from 'react';
import { useDatePicker } from '@react-aria/datepicker';
import { useDatePickerState } from '@react-stately/datepicker';
export function useBasicDatePicker() {
  const props = { label: 'Date' };
  const state = useDatePickerState(props);
  const ref = useRef(null);
  return useDatePicker(props, state, ref);
}

@react-aria/datepicker examples

From open-source projects on GitHub

Mantine Dates, the @mantine/dates package, provides date inputs, pickers, and calendars that match Mantine's other components. DatePickerInput renders a field that opens a calendar, with its value and onChange held in React state. Values are date strings in year, month, and day order, with no time zone attached, and Day.js handles date math as a required dependency. The package's stylesheet has to be imported after the Mantine core styles.

Downloads / mo
6.9M
Stars
32.0K
Last release
9.8.1
License
MIT

Limitations

  • Day.js required. The components depend on Day.js, which can't be swapped for another date library.

Quickstart

From getting-started
$ npm install react react-dom @mantine/core @mantine/hooks @mantine/dates dayjs
import { useState } from 'react';
import { DatePickerInput } from '@mantine/dates';

function Demo() {
  const [value, setValue] = useState<string | null>(null);
  return (
    <DatePickerInput
      label="Pick date"
      placeholder="Pick date"
      value={value}
      onChange={setValue}
    />
  );
}

Mantine Dates examples

From open-source projects on GitHub

@zag-js/date-picker

@zag-js/date-picker holds the logic of a date picker as a state machine, covering keyboard interaction, focus management, and ARIA attributes, and leaves the markup and styling to the app. In React, useMachine from @zag-js/react runs the machine, and connect turns its state into props for the app's own elements. The same machine runs through adapters for Vue, Solid, and Svelte.

Downloads / mo
6.7M
Stars
5.3K
Last release
1.48.0
License
MIT

Strengths

  • One picker across frameworks. React, Vue, Solid, and Svelte apps share the same date picker machine.

Limitations

  • App renders every element. Zag supplies props and state only, so the input, calendar grid, and popover are written by the app.

Quickstart

From date-picker
$ npm install react react-dom @zag-js/date-picker @zag-js/react @internationalized/date
import * as datePicker from '@zag-js/date-picker';
import { normalizeProps, useMachine } from '@zag-js/react';
import { useId } from 'react';
export default function DateInputSlot() {
  const service = useMachine(datePicker.machine, { id: useId() });
  const api = datePicker.connect(service, normalizeProps);
  return <input {...api.getInputProps()} />;
}

@zag-js/date-picker examples

From open-source projects on GitHub

react-calendar

react-calendar renders a full interactive calendar for React, with views for days, months, years, and decades. value and onChange hold the selection, which is a single date or, with range selection turned on, a pair of dates. The package needs no Moment.js, supports almost any language, and ships an optional stylesheet as a base for custom styles.

Downloads / mo
5.8M
Stars
3.8K
Last release
6.0.1
License
MIT

Strengths

  • Decade to day views. Users move between decade, year, month, and day views to reach a date.

Limitations

  • Calendar only. The package renders the calendar itself. A text input that opens it comes from the companion react-date-picker package.

Quickstart

From README.md
$ npm install react react-dom react-calendar
import { useState } from 'react';
import Calendar from 'react-calendar';

type ValuePiece = Date | null;

type Value = ValuePiece | [ValuePiece, ValuePiece];

function MyApp() {
  const [value, onChange] = useState<Value>(new Date());

  return (
    <div>
      <Calendar onChange={onChange} value={value} />
    </div>
  );
}

react-calendar examples

From open-source projects on GitHub

FAQ

For a styled picker with little setup, React DayPicker and react-datepicker render a finished calendar from one component, and react-datepicker adds time selection. Inside a Material UI or Mantine app, use MUI X Date Pickers or Mantine Dates. For custom markup with built-in accessibility, use @react-aria/datepicker.

Install react-calendar, import Calendar, and render it with value and onChange held in state. Import react-calendar/dist/Calendar.css for the default styles, or style it from scratch.

Install @mui/x-date-pickers and a date library such as Day.js, wrap the app in LocalizationProvider with the matching adapter, then render DatePicker. Date, time, and date-time pickers are free under the MIT license. Range pickers belong to the Pro package, which requires a commercial license.

In React DayPicker, set mode to range, which also accepts minimum and maximum lengths. react-calendar supports range selection, and rc-picker exports a separate RangePicker. MUI X range pickers need the commercial Pro package.

DayPicker is a React component for building date pickers, calendars, and date inputs, styled with its own CSS or any CSS framework. It selects one day, several days, or a range, and the newest major version publishes as @daypicker/react.

For coding agents

Found your date picker library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official