Date Picker
A field that opens a calendar to pick a day, one press like a Select: the whole field opens it, its icon is only a picture, and the picked day is written in it.
Usage
Examples
Appearances
appearance paints the field on the kit's one scale: solid, the default, soft on the grey wash, outline with only its line, and transparent with neither until it is hovered.
Sizes
size sets its height: sm 32px, base 40px (the default) or lg 48px, a Button's height at the same size, the large one written at 16px on a phone.
Border radius
borderRadius sets its corners on the kit's one scale: none, xs 4px, sm 6px, base 8px (the default), lg 12px, xl 16px, or full to round it.
Range
mode="range" picks a first day and then a last, closes on the last and writes both ends in the field, beside mode="single", the default, which picks one day.
Input
DatePickerInput, in place of the field, takes a typed date such as 15 Jan 2026, opens the calendar from its button, a click or ArrowDown, and writes a picked day in the field.
Trigger
DatePickerTrigger, in place of the field, opens the calendar from an outline Button of its own, with DatePickerValue writing the picked day on it.
Multiple
mode="multiple" on DatePickerMonth, the calendar the picker opens, turns each day on or off on its own, beside mode="single", which picks one day.
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
Caption layout
captionLayout="dropdown" puts a month select and a year select in the caption, for dates far from today, beside "label", the default, which writes the month and steps with the arrows.
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
Locale
locale takes a date-fns locale: the months and days are named in its language and the week starts where it does, here on Monday for French, beside the default, English.
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
| lu | ma | me | je | ve | sa | di |
|---|---|---|---|---|---|---|
Week start
weekStartsOn={1} begins each week on Monday, beside the default, which starts where the locale does, Sunday in English.
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
| Mo | Tu | We | Th | Fr | Sa | Su |
|---|---|---|---|---|---|---|
Week numbers
showWeekNumber adds a column with the number of each week of the year, beside a month as it is by default, without one.
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
| Su | Mo | Tu | We | Th | Fr | Sa | |
|---|---|---|---|---|---|---|---|
| 45 | |||||||
| 46 | |||||||
| 47 | |||||||
| 48 | |||||||
| 49 |
Disabled days
disabled takes the days no one may pick, here the weekends, greyed out among the others, which can all be picked by default; DatePickerCalendar takes it too.
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|---|---|---|---|---|---|
Clearable
clearable shows an X at the field's end once it holds a day, which takes the day away, or puts back resetTo on the DatePicker; by default a field has none.
Disabled
disabled dims the field and keeps its calendar shut, beside one as it is by default.
Invalid
error writes what is wrong under the field, turns its border to the destructive colour and describes it to screen readers, beside one without an error.