Components / Inputs

DateRangePicker nativelite

A two-date range field with one calendar (ISO dates).

Children
none
Loading the renderer…
DateRangePicker rendered by the React renderer on Web
Web React
DateRangePicker rendered by the SwiftUI renderer on iOS
iOS SwiftUI
DateRangePicker rendered by the Compose renderer on Android
Android Compose
DateRangePicker rendered by the gpui renderer on Desktop
Desktop gpui

View exponential-ui-date-range-picker, painted by each native renderer.

PropTypeDefaultDescription
labelstring–The field label.
namerequiredstring–The field's key in the submitted data ({start, end}).
startbinddate–The first day as yyyy-mm-dd, or empty.
endbinddate–The last day as yyyy-mm-dd, or empty.
mindate–The earliest allowed day.
maxdate–The latest allowed day.
placeholderstring–Shown while empty.
firstDayOfWeeknumber–0 (Sunday) to 6; else the locale's.
NameKind
on.changeevent: runs an action
Role
combobox
Semantics
as DatePicker; the second choice ends the range
KeysAction
–As DatePicker; the first Enter sets the start, the second the end
Recipe parts
DateRangePicker/rootDateRangePicker/labelDateRangePicker/triggerDateRangePicker/calendarDateRangePicker/dayDateRangePicker/range
Keyed by
:hover:pressed:focus:disabled:checked:open:selected:invalid:dragover

Themes · Write a theme