Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

NotificationsYou must be signed in to change notification settings

gpbl/react-day-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Documentation

Seedaypicker.dev for guides, examples and API reference, or readthe 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 ondate-fns for date manipulation and formatting.

Installation

npm install react-day-picker

npm versionnpm downloadsMin gzipped size

Example

import{DayPicker}from"react-day-picker";import"react-day-picker/style.css";functionMyDatePicker(){const[selected,setSelected]=useState<Date>();return(<DayPickermode="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 theMIT 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.

CHECK24wilsonadenugaseverinlandoltsyntaxfmthnxdevkatyabilokurbedandbreakfasteuThinkmillAlexKDawsondimitur2204indeedengflexboxgithubtjfred35

About

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

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

[8]ページ先頭

©2009-2025 Movatter.jp