Date Picker Test

Date and date-range entry: a text field that parses typed dates, plus a calendar popover.

Default (closed)

A simple date picker with a value set.

Open

Click the calendar button to open the popover.

Open with shortcuts

Custom shortcuts appear alongside the Today button.

Month grid

Click the month label to switch to a month grid, then click a month to return to the day view.

Year grid

From the month grid, click the year label to see a year grid.

Range in progress

Range mode after selecting the start date but before the end. The second click is armed.

Range selected

A completed range selection.

Two-month range (open)

In range mode at 600px or wider, two months are shown side by side.

Disabled dates

Weekends are disabled via the disabledDates predicate.

Week numbers

ISO week numbers shown in a leading column.

Typed invalid

After typing unparseable text and blurring, the field shows a type mismatch error.

All sizes

Small, medium (default), and large.

Flipped up

When there is not enough space below, the calendar opens above the field.

Dark theme

The same component in dark theme. Toggle the theme switch in the toolbar to compare.