Skip to content
Binary UIKit reference Stable

Calendar

Single-date calendar grid.

Use Calendar when date selection benefits from a persistent month grid.

Interactive example

Loading interactive example

API

MemberTypeKindRequiredDefault
disabledbooleanpropNofalse
isDateDisabled(date: DateValue) => booleancallbackNoundefined
isDateUnavailable(date: DateValue) => booleancallbackNoundefined
labelstringpropNoundefined
localestringpropNoundefined
maxValueDateValuepropNoundefined
minValueDateValuepropNoundefined
nextMonthLabelstringpropNo'Next month'
numberOfMonths1 | 2propNo1
onValueChange(value: DateValue | undefined) => voidcallbackNoundefined
previousMonthLabelstringpropNo'Previous month'
valueDateValuebindingNoundefined
viewDateDateValuebindingNoundefined
weekStartsOn0 | 1propNo1

Source

Loading source