Calendar
Forms

Calendar.

Inline month calendar with date constraints and controlled ISO selection.

Real interactive component
Live demo
November 2026
MoTuWeThFrSaSu
Selected: 2026-11-02

The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.

Props & API reference

Parameters available in the shared component, including value types, requirements and accepted options.

10 props
ParameterTypeRequiredDefaultPossible valuesDescription
valuestringNo——Selected date in YYYY-MM-DD form.
onValueChange(date: string) => voidNo——Called when a day is chosen.
initialMonthstringNo——Initially displayed month in YYYY-MM format.
minstringNo——Earliest selectable date.
maxstringNo——Latest selectable date.
rangeFromstringNo——Optional ISO range start for highlighted range.
rangeTostringNo——Optional ISO range end for highlighted range.
labelstringNoChoose date—Accessible calendar label.
disabledbooleanNofalsetrue · falseDisable date selection.
classNamestringNo——Additional CSS class on the outer component element.