Design System
Forms

Date range picker

Pick a start and end date together, with presets for the ranges people ask for most.

Not documented yet

This component ships in the design system and is fully supported. What is missing is the guidance around it: when to reach for it, the do and don't, and the accessibility notes. Until that is written, Storybook is the reference for variants, props and live controls.

Props

PropTypeDefaultDescription
valueDateRange | undefinedThe currently selected range (controlled).
onChange((range: DateRange | undefined) => void) | undefined
presetsDateRangePreset[] | undefinedDEFAULT_RANGE_PRESETSQuick-pick presets shown beside the calendar; pass an empty array to hide the column.
numberOfMonths1 | 2 | undefined2Number of months displayed.
placeholderstring | undefined"Pick a date range"
idstring | undefined
classNamestring | undefined

On this page