Skip to content

DateRangePicker

Category: Forms & inputs

+------------------------------------------------+
| Label |
| +--------------------------------------------+ |
| | MM/DD/YYYY – MM/DD/YYYY [📅] | |
| +--------------------------------------------+ |
| Helper text |
+------------------------------------------------+
<DateRangePicker label="Trip dates" />
import { parseDate, type DateValue } from '@internationalized/date';
import type { RangeValue } from 'react-aria-components';
const [range, setRange] = useState<RangeValue<DateValue> | null>({
start: parseDate('2026-05-25'),
end: parseDate('2026-06-01'),
});
<DateRangePicker label="Trip dates" value={range} onChange={setRange} />;
const blocked = new Set(['2026-05-30', '2026-05-31']);
<DateRangePicker label="Pickup window" isDateUnavailable={(d) => blocked.has(d.toString())} />;
  • Any flow that needs two related dates: trip, billing window, reservation, vacation, leave request.
  • One date, not a range.

See the tokens block in this spec’s frontmatter.

Install: @helix-ui/core

import { DateRangePicker } from '@helix-ui/core';

status: stable · since: 0.1.0

Tags: date, range, picker, calendar, popover, departure, return

Name Type Default Description
label string undefined Field label rendered above the trigger row.
description string undefined Helper text rendered below the trigger row.
errorMessage string undefined Validation error rendered when the field is invalid.
tone 'brand' | 'neutral' | 'danger' brand Tone for the focus ring and selected days.
size 'sm' | 'md' | 'lg' md Touch target size, matching every other helix-ui input.
value RangeValue<DateValue> | null undefined Controlled selected range.
defaultValue RangeValue<DateValue> undefined Uncontrolled initial range.
onChange (value: RangeValue<DateValue> | null) => void undefined Fires when the user picks a complete range.
minValue DateValue undefined Earliest selectable date.
maxValue DateValue undefined Latest selectable date.
isDateUnavailable (date: DateValue) => boolean undefined Mark specific dates as unselectable (blackout dates).
isDisabled boolean false Disable the entire picker.
isReadOnly boolean false Show as non-editable.

color.bg.surface.default, color.bg.action.brand.default, color.bg.action.brand.subtle, color.border.default, color.border.focus, color.text.primary, color.text.muted, color.text.action.brand, color.text.on.brand, radius.md, space.1

Role: combobox

Keyboard

Key Action
Tab Move between start / end segments and the trigger.
ArrowUp Increment focused segment.
ArrowDown Decrement focused segment.
Enter Open the popover; on the grid, anchor or commit the range.
ArrowKeys Inside the grid — move by day; PageUp/PageDown by month.

Notes

  • Each segment is independently focusable.
  • The trigger is a labeled button; opens a dialog with a range-aware calendar.
  • Days inside the active range announce as aria-selected.