react-day-picker is a flexible date picker component for React.
- no external dependencies
- select days, ranges, whatever using CSS modifiers
- ready for i18n, with moment.js or any other library
- customizable style
- navigable via keyboard, ARIA support
Look at some examples showing all its features!
How to use
Partecipate
- Gitter room – ask questions and chat with other developers
- Issues – file bugs and suggestions
- Check out the source code on Github
- Pull requests are welcome! If you are planning a pull request with lot of changes, please add an issue to discuss your idea first
- See how to start the project locally here
Quick start
Install via npm
npm install react-day-picker --save
and use it in your React components:
import DayPicker from "react-day-picker"; { return day === 0;} { return <DayPicker = = />}
If you are not using ES2015, use require
:
var DayPicker = ;
Install via Bower
bower install react-day-picker --save
The bower package exposes a global DayPicker
variable.