boolean
default: false
Moves keyboard focus into the calendar when it mounts, so the arrow keys
work at once. Web only. The date pickers set it; leave it off for a
calendar that is part of a page.
Date[]
Selected days in `multiple` mode.
number
Last year reachable from the year grid and the endless scroller.
number
0 = Sunday … 6 = Saturday. Defaults to the locale's own week start.
(date: Date) => boolean
Excludes days `validRange` cannot express (weekends, computed holidays).
boolean
default: true
Arrow-key/PageUp/Home/Enter navigation. Web only — there is no key event
source on native. Default `true`.
string
Formatting/labelling locale. Defaults to the device locale.
(date: Date) => void
Fires in `single` mode.
(dates: Date[]) => void
Fires in `multiple` mode with the full set after the tap.
(range: DateRange) => void
Fires in `range` mode with the interval after the tap.
() => void
Called on Escape while keyboard navigation is active.
DateRange
default: EMPTY_RANGE
Selected interval in `range` mode.
CalendarScrollMode
default: "endless"
`endless` scrolls through months in one virtualized list; `paged` shows one
month at a time behind the chevrons. Defaults to `endless`.
DateSelectionMode
default: "single"
How many days the grid collects. Defaults to `"single"`.
boolean
default: true
Renders the "Today" shortcut row. Default `true`.
number
First year reachable from the year grid and the endless scroller.
ValidRange
The selectable window plus individual excluded days.
Date | null
Selected day in `single` mode.