Lab

Date range

Slant / Components

A month grid for picking a range, with keyboard movement across days and months.

The theme follows the link: share a page with ?theme=moon.

Usage

  • A grid of gridcell days; the first and second picks define the range.

Keyboard

← / → / ↑ / ↓moves a day or a week
PageUp / PageDownmoves a month
Enter / Spacepicks the focused day

Accessibility

  • Each day cell is labelled with its full date; the range is read out.

Date range in React and SwiftUI.

Source

The React tab is the component’s real source; the SwiftUI tab is its twin in TUTTNKit.