Date Range Picker
A calendar grid for picking a start and end date. Your first pick sets the start, the second the end, and every day in between is highlighted; picking an earlier day than the start swaps the ends so the range stays ordered. Arrow keys move across days and Enter/Space picks the focused one.
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-range-picker.jsonConformance
This component conforms to the @publictheta/ui-spec date-range-picker specification. Run the suite against any implementation with pnpm conformance.