Date picker
CoreChoose a date without losing context.
pnpm dlx shadcn@latest add https://wui.alann.works/r/date-picker.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
label* | string | required |
value | Date | — |
onChange | (date: Date | undefined) => void | — |
description | string | — |
placeholder | string | — |
minDate | Date | — |
maxDate | Date | — |
disabledDates | CalendarDateMatcher | — |
locale | string | — |
format | Intl.DateTimeFormatOptions | — |
showToday | boolean | — |