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-picker6,671,2416,632801 kB1024日前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 oluwatunmiisheii severinlandolt syntaxfm thnxdev katyabilokur bedandbreakfasteu codecov manavm1990 Thinkmill AlexKDawson dimitur2204 indeedeng flexbox github tjfred35

  • 🎗️ Become a sponsor: https://github.com/sponsors/gpbl