Custom Components

Customize calendar day cells and month navigation buttons with renderer callbacks.

Pass an Arc renderer to appearance.day on DateCalendar or popover DatePicker surfaces. Start from default_calendar_day and default_calendar_month_button to preserve keyboard behavior and selection styling, then wrap or extend the default output.

  • Highlighting weekends, holidays, or blackout dates in the grid
  • Compact month/year pickers with abbreviated labels
  • Product-specific day badges (dots, counts) on calendar cells
  • Define a function matching CalendarDayRenderer (or month button equivalent).
  • Delegate to the default renderer for baseline interaction, then wrap with extra markup or classes.
  • Assign Some(Arc::new(your_renderer)) to appearance.day on the calendar or date picker.
Custom day cell

Highlight weekend days with a custom day renderer on DateCalendar.

July 2026
SunMonTueWedThuFriSat
28
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