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.