Reka UI logoReka
backdrop
Examples

Date Picker View Switching

One Calendar with day, month and year views: click the heading to drill up, select a cell to drill back down.

Calendar
29
30
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
1
2
3
4
5
6
7
8
9
Event Date, October 2024

View Switching Pattern

CalendarViewTrigger renders the heading as a button that switches the root's view from day to month to year. Each CalendarView renders only while its view is active. Selecting a year moves the placeholder into that year and drops to the month view; selecting a month drops to the day view; selecting a day commits the value. Bind v-model:view to control or observe the active view, and max-view to stop the drill-up early.