UI
← Home

Date Picker

A calendar grid. Arrow keys move by a day, Up/Down by a week, Home/End within the week, and PageUp/PageDown (or the prev/next buttons) change the month. Enter or Space selects the focused day.

  • Axe
  • Name
  • Roving
  • Focus

Preview

January 2024
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

Installation

npx shadcn@latest add https://ui.publictheta.com/r/date-picker.json

Conformance

Verified against the @publictheta/ui-spec date-picker specification on both the React and vanilla reference implementations, across Chromium, Firefox, and WebKit.

  • Axe No WCAG 2 A/AA axe-core violations
  • Name The widget container exposes an accessible name
  • Roving Exactly one tab stop; Arrow keys move within the widget
  • Focus A visible focus indicator appears on keyboard focus (WCAG 2.4.7)

See the full conformance matrix across all components.