DateRangePicker
A two-date range field with one calendar (ISO dates).
Group: Inputs · Kind: native · in the lite catalog
Preview
Section titled “Preview”example
Platforms
Section titled “Platforms”The same specimen painted by React, SwiftUI, Compose and gpui.




| Prop | Type | Required | Bindable | Description |
|---|---|---|---|---|
label |
string |
– | – | The field label. |
name |
string |
yes | – | The field’s key in the submitted data ({start, end}). |
start |
date |
– | yes | The first day as yyyy-mm-dd, or empty. |
end |
date |
– | yes | The last day as yyyy-mm-dd, or empty. |
min |
date |
– | – | The earliest allowed day. |
max |
date |
– | – | The latest allowed day. |
placeholder |
string |
– | – | Shown while empty. |
firstDayOfWeek |
number |
– | – | 0 (Sunday) to 6; else the locale’s. |
Events
Section titled “Events”on.change: runs an action
None.
Children
Section titled “Children”none
A2UI basic mapping
Section titled “A2UI basic mapping”No basic catalog component maps here.
Built from
Section titled “Built from”A native component: every renderer paints it directly.
Accessibility
Section titled “Accessibility”Role: combobox
as DatePicker; the second choice ends the range
| Keys | Action |
|---|---|
| – | As DatePicker; the first Enter sets the start, the second the end |
Theming
Section titled “Theming”Recipe parts: DateRangePicker/root DateRangePicker/label DateRangePicker/trigger DateRangePicker/calendar DateRangePicker/day DateRangePicker/range
Keyed by: :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover
Related
Section titled “Related”Form · FieldGroup · FormActions · Input · Textarea · NumberField · Checkbox · Radio