Skip to main content
Pricing

Date Picker

Pro

A date selection component combining a text input with a calendar popup. Supports manual date entry, min/max date constraints, and disabled date ranges. The calendar grid follows the WAI-ARIA date picker pattern.

10 variants

State
29 Mar 2026

Variants

VariantDescriptionWhen to use
Single
RangeDual inputs for selecting a start and end date with a connected calendar.Use for date ranges — booking windows, report periods, leave requests.
With PresetsDate picker with quick-select buttons for common ranges.Use for analytics dashboards where "Last 7 days", "This month" are common selections.

Usage Guidelines

Do

Allow manual text entry alongside the calendar picker.

Don't

Force users to use only the calendar popup — some users prefer typing.

Do

Show the expected date format as placeholder text (e.g., "DD/MM/YYYY").

Don't

Use a date picker for selecting a year or month alone — use a simple Select.

Do

Disable dates outside the valid range rather than showing errors after selection.

Don't

Open the calendar automatically on page load.

Do

Use aria-label on the calendar trigger button.

Don't

Code

This component is included in Lexicon Pro

From €149 — one-time purchase, lifetime access

View pricing

Design Tokens

This component is included in Lexicon Pro

From €149 — one-time purchase, lifetime access

View pricing

Accessibility

  • Calendar grid uses role="grid" with role="gridcell" for each date.
  • Current date is indicated with aria-current="date".
  • Selected date uses aria-selected="true".
  • Calendar trigger button has aria-label="Open calendar" and aria-haspopup="dialog".
  • Disabled dates use aria-disabled="true" and are skipped in keyboard navigation.

Keyboard Interactions

ArrowUp/ArrowDownMoves focus up/down one week in the calendar grid.
ArrowLeft/ArrowRightMoves focus to the previous/next day.
Enter/SpaceSelects the focused date.
EscapeCloses the calendar popup.
Page Up/Page DownMoves to the previous/next month.
Home/EndMoves to the first/last day of the current week.