EnterUI
DocsComponentsThemesExamplesDonation
Get Started
    • DatePicker
    • DateRangePicker
    • DatePresetPicker

Default usage

  1. EnterUI
  2. /Docs
  3. /Scheduling
  4. /Date Pickers
  5. /DateRangePicker
Updated 3 October 2026

DateRangePicker

Start and end date selection with linked calendar popovers.

DateRangePicker pairs two DatePicker controls for reporting ranges, audit filters, and planning windows.

#Default usage

Date range

The end input uses the start date as its minimum when available.

From
–
To
Code
<DateRangePicker defaultValue={{ from: "2026-05-01", to: "2026-05-07" }} />

#Import

Code
import { DateRangePicker } from "@froggdesign/enter-ui-react";

#States

Range states

Use min and max to disable dates outside the allowed range.

From
–
To
From
–
To
From
–
To

#Accessibility

DateRangePicker uses two labelled button triggers, Start date and End date, with calendar popovers. DatePicker owns keyboard navigation and focus handling. These are not native date inputs; validate the completed range in application code. Wrap the range in Field or add surrounding copy when its purpose needs more context.

#API

  • value, defaultValue, and onValueChange use { from?: string; to?: string }.
  • min and max disable out-of-range calendar dates. Selecting a start date sets the end picker’s minimum; selecting an end date sets the start picker’s maximum.
  • disabled and invalid map to aria state and data attributes.
  • Supports native div props and className.

#Styling

Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.

PreviousDatePicker
NextDatePresetPicker
On this page
  • Default usage
  • Import
  • States
  • Accessibility
  • API
  • Styling