Skip to main content
  1. Docs
  2. Components
  3. Dates

Date range picker

One field for a range: typed in either order, chosen in a range calendar, or a preset in one step.

Import
@qeetrix/react/experimental
Status
ExperimentalSince 0.0.6
Renders
<input> + calendarServer-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

When to use

Use it for
  • A report's or an export's period.
  • Leave, a booking, a contract's term.
  • Quick ranges people reach for: the last 7 days, this month.
Not for

02

Anatomy

  1. 1field-label<label>Names the field, and its button.
  2. 2input-control<input>Both dates, as typed or chosen: "19/10/2026 – 25/10/2026".
  3. 3icon-button<button>Opens the range calendar, with any presets beside it.

03

Do and don't

One field for one range
DoBoth ends in one field: typed, or chosen in one calendar.
Don'tTwo date pickers that don't know about each other.

04

Content

  • The label names the period: "Sign-ins", "Leave".
  • Presets people actually use; your own with a label: "Last quarter".
  • Limit to what has data: max={today} for reports.
Next — Date range pickerAPI