react-day-picker

Customizable Date Picker for React

react-day-picker downloads react-day-picker version react-day-picker license

react-day-picker類似パッケージ:
npmのダウンロードトレンド
3 年
🌟 react-day-pickerのREADME.mdにリアルタイム使用チャートを表示するには、以下のコードをコピーしてください。
## Usage Trend
[![Usage Trend of react-day-picker](https://npm-compare.com/img/npm-trend/THREE_YEARS/react-day-picker.png)](https://npm-compare.com/react-day-picker#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 react-day-pickerのREADME.mdにGitHub Starsトレンドチャートを表示するには、以下のコードをコピーしてください。
## GitHub Stars Trend
[![GitHub Stars Trend of react-day-picker](https://npm-compare.com/img/github-trend/react-day-picker.png)](https://npm-compare.com/react-day-picker)
統計詳細
パッケージ
ダウンロード数
Stars
サイズ
Issues
公開日時
ライセンス
react-day-picker8,727,1726,6661.2 MB84日前MIT
react-day-picker のREADME

React DayPicker

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

Documentation

See daypicker.dev for guides, examples and API reference, or read the 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

npm install react-day-picker

npm version npm downloads Min gzipped size

Example

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