Date Picker

A date picker built from a popover and calendar.

Installation

Add the date picker component with the shadcn CLI.

npx shadcn@latest add https://yami.ui.unsanity.ai/r/date-picker.json

Usage

import { DatePicker } from "@/components/ui/date-picker"

<DatePicker placeholder="Pick a date" />

Examples

Default

Code

import { DatePicker } from "@/components/ui/date-picker"

<DatePicker placeholder="Pick a date" />