Calendar

The Calendar component allows users to select a date from a calendar interface.

This component leverages the React DayPicker and as a result is a React only component. There is no web component alternative.

Use the captionLayout=“label” prop to display the month and year as labels above the calendar grid.

Use the mode=“range” prop to enable range selection.

Use the numberOfMonths=2” prop to enable multiple date selection.

The OdsCalendar is built off of the React Day Picker library. Please reference the documentation for more information on the available props.

Search