Calendar

Component that lets the user select a date via an interactive agenda-view.

October 2026
MonTueWedThuFriSatSun

Import

JSX

Usage

JSX

Note that the onSelect callback is optional and should only be used when you need the parent component to get the selected value from Calendar.

Return value

The datestring in the format yyyy-mm-dd.

Variants

Year limits

October 2026
MonTueWedThuFriSatSun
JSX

Disabled days

October 2026
MonTueWedThuFriSatSun
JSX

Props

PropTypeDefaultDescription
onSelect*(name: string, value: string) => void-callback function that handles input change
minYearnumber-minimum years value
maxYearnumber-maximum years value
disabledDaysDate[]-days that cannot be selected