Calendar
A month to look at and a day to choose.
Dates
The calendar shows six weeks and lets the visitor choose a day.
Which days can be chosen and which carry a mark is the application's decision. Names come from the platform in the page's language; the grid follows the WAI-ARIA date picker pattern.
Choose a day
Arrow keys move by a day or a week, Page Up and Page Down by a month, with Shift by a year.
November 2026
MonTueWedThuFriSatSun
–
Bookable days
Only the next six weeks, no weekends; days with free times carry a mark.
November 2026
MonTueWedThuFriSatSun
Contextual DSL
The chosen day is a property of the application; bounds and rules are plain values or properties.
scala
val chosen = Property(Option.empty[LocalDate])
calendar(chosen) {
locale = "de"
minDate = LocalDate.now()
enabled = (date: LocalDate) => freeDays.contains(date)
marked = (date: LocalDate) => freeDays.contains(date)
}