Skip to content

rangle/react-day-picker

 
 

Repository files navigation

title

screen shot

react-day-picker is a flexible date picker component for React.

Look at some examples showing all its features!

build status coveralls npm downloads npm version Bower

Documentation

Contribute

  • Github – pull requests are welcome!
  • Issues – file bugs and suggestions
  • Gitter room – ask questions and chat with other developers

Quick start

Install via npm

npm install react-day-picker --save

and use it in your React components:

import DayPicker from "react-day-picker";

function isSunday(day) {
  return day.getDay() === 0;
}

function MyComponent() {
  return <DayPicker initialMonth={ new Date(2016, 1) } modifiers={{ isSunday }} />
}

Install via Bower

bower install react-day-picker --save

The bower package exposes a global DayPicker variable.

Packages

No packages published

Languages

  • JavaScript 95.8%
  • CSS 4.2%