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-time picker
A date and a time, typed or picked from a calendar with the times beside it.
Field
181120260700
When the vessel leaves harbour.
value: "2026-11-18T07:00"
ddmmyyyy––––
ddmmyyyy––––
Only 18 November, from 07:00 to 15:00.
<Field label="Departure">
<DateTimePicker bind:value step={15} />
</Field> Rules
- Type it or pick it. Typing is dd/mm/yyyy hh:mm, 24-hour, and digits move you along, as in the date picker.
- Picking a day keeps the time; picking a time completes the value and closes.
- The step is the precision that matters: 15 minutes for a departure, an hour for a booking.
- The value is local wall-clock time without a zone ("2026-11-18T07:00"): what the user sees is what’s stored. Convert at the edge if you keep UTC.
- Only a date matters? Use the date picker. A span? The date range picker.