Skip to main content

Installation

The Date Picker is built using a composition of the <Popover /> and the <Calendar /> components. See installation instructions for the Popover and Calendar components.

Usage

Dependencies

The Date Picker uses React DayPicker for the calendar functionality and date-fns for date formatting.

Examples

Basic Date Picker

A simple date picker for selecting a single date:

Date Range Picker

Select a date range with start and end dates:

Date of Birth

A date picker with dropdown selectors for month and year:

With Input Field

Combine date picker with an input field:

Time Picker

Combine date picker with time selection:

Accessibility

  • Built on React DayPicker for full accessibility
  • Keyboard navigation support
  • Screen reader compatible
  • ARIA labels and roles
  • Focus management

API Reference

See the React DayPicker documentation for complete API details.