Skip to content

Latest commit

 

History

History
 
 

react-day-picker

react-day-picker

DayPicker is a React component to display a monthly calendar for picking dates.

Thanks to an extensive set of props, DayPicker helps developers to implement date pickers – without fighting with JavaScript dates and complex layouts.

This is a prerelase

Quick start

  1. Add react-day-picker to the project’s dependencies:
yarn add react-day-picker     # when using yarn
npm install react-day-picker  # when using npm
  1. Import DayPicker and its CSS file in your script:
import "react-day-picker/dist/style.css";
import { DayPicker } from "react-day-picker";

function App() {
  return <DayPicker />
}