export const title = "Date picker components" export const description = "Free and open-source React date picker components built for modern applications and websites. These date pickers are built using React Aria and styled with Tailwind CSS." export const links = { github: "https://github.com/untitleduico/react/tree/main/components/application/date-picker", rac: "https://react-spectrum.adobe.com/react-aria/DatePicker.html" } import * as Demos from "@/components/application/date-picker/date-picker.story.tsx";
## Installation You can add this date picker component using our CLI or manually: ```bash npx untitledui@latest add date-picker ``` As our calendar component is built with [Internationalized Date](https://www.npmjs.com/package/@internationalized/date) and [React Aria](https://www.npmjs.com/package/@react-aria/i18n), you'll need to install the dependencies: ```bash npm install @internationalized/date @react-aria/i18n ``` Copy the files below into your project: Great! Now you can start using the date picker components in your project by just copy/pasting our examples below. ## Date picker examples Below are examples and variations of this date picker component: ### Date picker {{ tocOnly:true }}
### Date time picker {{ tocOnly:true }}
### Date range picker with presets {{ tocOnly:true }}
### Calendar {{ tocOnly:true }} ### Calendar card {{ tocOnly:true }} ### Range calendar {{ tocOnly:true }} ### Range calendar card {{ tocOnly:true }}