Forms

DateRangePicker

Select a date range with separate start and end inputs and a shared calendar.

Basic usage

Use index={0} for the start input and index={1} for the end input. The form receives each endpoint separately, for example as trip[start] and trip[end].

Start2292028
End352028

API

Key props and defaults.

PropValues and behaviorDefault
value / defaultValueDateSelection—
namesreadonly [string, string]derived from name
numOfMonths1 | 21
closeOnSelectbooleantrue
index (Input)0 | 10