--- title: Date Picker Component for React sidebar_label: Introduction sidebar_position: 1 slug: / --- # React DayPicker DayPicker is a [React](https://react.dev) component for creating date pickers, calendars, and date inputs for web applications. ## Features - 🛠 Extensive set of props for [customizing](./docs/appearance.mdx) the calendar. - 🎨 Minimal design that can be [easily styled](./docs/styling.mdx) with CSS or any CSS framework. - 📅 Supports [selections](./selections/selection-modes.mdx) of single days, multiple days, ranges of days, or [custom selections](./guides/custom-selections.mdx). - 🌍 Can be [localized](./localization/changing-locale.mdx) into any language and [time zones](./localization/setting-time-zone.mdx). - 🌐 Support for [ISO 8601](./localization/iso-and-broadcast#iso-8601-calendar), [Persian](./localization/persian), [Buddhist (Thai)](./localization/buddhist), [Ethiopic](./localization/ethiopic), [Hebrew](./localization/hebrew) and [broadcast](./localization/iso-and-broadcast#broadcast-calendar) calendar. - 🦮 Complies with WCAG 2.1 AA requirements for [accessibility](./guides/accessibility.mdx). - ⚙️ [Customizable components](./guides/custom-components.mdx) to extend the rendered elements. - 🔤 Easy integration [with input fields](./guides/input-fields.mdx). DayPicker is written in TypeScript and compiled to CommonJS and ESM. It relies on [date-fns](https://date-fns.org) for date manipulation and formatting. ## Example ```tsx title="./MyDatePicker.jsx" import { DayPicker } from "react-day-picker"; import "react-day-picker/style.css"; function MyDatePicker() { const [selected, setSelected] = useState(); return ( ); } ``` ## Compatibility DayPicker is compatible with React 16.8 and later. ## License DayPicker is released under the [MIT License](./license.mdx). ## Community Ask for help and share your experience with DayPicker: - 💬 [Discussion forums](https://github.com/gpbl/react-day-picker/discussions) - Get support and provide feedback. - 🪳 [Report an issue](https://github.com/gpbl/react-day-picker/issues/new/choose) - Report bugs or request features. ## Sponsors Thank you to everyone supporting DayPicker — your sponsorship keeps this project maintained and evolving.

CHECK24 wilsonadenuga severinlandolt syntaxfm thnxdev katyabilokur bedandbreakfasteu Thinkmill AlexKDawson dimitur2204 indeedeng flexbox github tjfred35

- 🎗️ Become a sponsor: https://github.com/sponsors/gpbl