React Day Picker

A flexible date picker component for React with no external dependencies and navigable via keyboard.

Dependencies

React

import DayPicker from "react-day-picker";

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

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