ui.calendar
Calendar
An always-open month grid: one day or a range, busy days marked, closed days greyed out.Pick a day
The value is a date; today is outlined.Book a stay
mode="range": the first click sets the check-in, the second the check-out. min= forbids the past.Busy days
marks= takes a mapping of date to count (or a list of dates). weekstart=0 starts the week on Sunday.Closed days
A two-month booking window opened on next month, with every Sunday disabled.A day's appointments
on_change sends the clicked day to Python; the schedule beside it re-renders.Friday, October 16
10:30PhysiotherapyDr. Hart
13:15Blood testLab 2
15:00Follow-up callDr. Moreau