Components/Date Picker
Date Picker
Compact input that opens a Calendar in a popover. Built on top of Calendar + Popover.
Installation
npx ajaxui add date-pickerProps
| Prop | Type | Default | Description |
|---|---|---|---|
| value | Date | — | — |
| defaultValue | Date | — | — |
| onValueChange | (date: Date) => void | — | — |
| placeholder | string | "Pick a date" | — |
| format | (date: Date) => string | — | Custom display formatter. |
| min | Date | — | — |
| max | Date | — | — |