Skip to content

Date range picker

A period of days, with presets beside two months.

In use

Presets sit beside the calendar.

States

Choose a period

Open

Shown open for review.

Code
<DateRangePicker value={range} onValueChange={setRange} max="2026-11-22" />
// value is { from: "YYYY-MM-DD", to: "YYYY-MM-DD" } or null