Overview Button Copy button Field Input Number field Textarea Select Combobox Multiselect Date picker Date range picker Date-time picker Checkbox Radio group Position picker Switch Slider Dropzone Device controls Avatar Badge Card Collapsible Kbd Map Matrix Proportion bar Separator Stat Table Timeline Chat Playback Pagination Charts Chart theming Profile chart Time series chart Bar chart Isopleth chart TS diagram Box plot Rose chart Calendar chart Banner Toast Loader Progress Skeleton Empty state Error state Dropdown menu Tooltip Info tooltip Dialog Sheet Resizable Confirm dialog Breadcrumbs Command palette Mobile menu Navigation list Outline Scroll rail Sidebar Tabs
Date picker
A date, typed or picked. Type it straight into the field, or open the calendar from the button on the right.
Example
Click the field and type 0311, or open the calendar.
ddmmyyyy
Value: ''
<Field label="Mission date">
<DatePicker bind:value={date} min={today} />
</Field> Shortcuts
Dates people pick most often, under the calendar.
ddmmyyyy
Rules
- Typing comes first: people who know the date shouldn’t have to click through months to it. Digits move to the next part; arrows step a part up and down.
- The value is ISO, "2026-11-10", whatever the field shows. Store it, put it in the URL, send it as it is.
- Shortcuts only where a few dates are much more likely than the rest: today for a log entry, in 14 days for a due date.
- Limit with min and max rather than an error after the fact: dates outside can’t be typed or picked.