Date Picker
View in FigmaA calendar-based control for selecting dates with month navigation and day states.
FormsImport
import { DatePicker } from "@/components/ui"API
| Prop | Type | Default | Description |
|---|---|---|---|
| value | Date | — | Controlled selected date. |
| onChange | (date: Date) => void | — | Callback when a date is selected. |
| min | Date | — | Earliest selectable date. |
| max | Date | — | Latest selectable date. |
| disabledDates | Date[] | — | Specific dates that cannot be selected. |
| futureOnly | boolean | — | Only allow future dates. |
| placeholder | string | "Select date" | Text shown when no date is selected. |