days

An array of days that are displayed in the current calendar view. This includes:

  • Selected day - The chosen day within the calendar popover.
  • Current day - The current day within the calendar popover.
  • Unselected day - A day within the calendar popover that the user has not selected.
  • Unavailable day - A day within the calendar popover that the user cannot select, shown as a strikethrough on the day.
  • Within range day - A day within a range that the user has selected, shown as a blue highlight over each day within the range.
  • Disabled day - A day that the user cannot select. This is usually a day that precedes the user's current day, shown as a gray color to distinguish it from the strikethrough styling of an unavailable day.

maxValue

The maximum amount of months displayed in the calendar popover is three.

minValue

The minimum amount of months displayed in the calendar popover is one.

isError

The calendar popover may display an error as error text when a user attempts to provide an input that violates the defined constraints of the date selection. For example, when the user selects dates that fall outside allowable limits, or conflict with contextual restrictions.

isDisabled

The calendar popover is disabled. For example, a month within a three-month range is disabled.

selectionMode

The types of selection available for the calendar.

  • Single - The calendar popover only displays a single month.
  • Range - The calendar popover displays two, or a maximum of three, months.

currentYear and currentMonth

The current year or month displayed in the calendar popover.