Optional
autoOptional
classesOverride or extend the styles applied to the component.
Optional
classOptional
componentsOverridable components.
Optional
componentsThe props used for each component slot.
Optional
customTranslation object used for screen reader texts.
Optional
dayFormats the day of week displayed in the calendar header.
The day of week provided by the adapter. Deprecated, will be removed in v7: Use date
instead.
The date of the day of week provided by the adapter.
The name to display.
Optional
defaultDefault calendar month displayed when value
and defaultValue
are empty.
Optional
defaultThe default selected value. Used when the component is not controlled.
Optional
disabledIf true, the component is disabled.
Optional
disableIf true, disable values after the current date for date components, time for time components and both for date time components.
Optional
disableIf true
, today's date is rendering without highlighting with circle.
Optional
disableIf true, disable values before the current date for date components, time for time components and both for date time components.
Optional
displayIf true
, the week number will be display in the calendar.
Optional
fixedCalendar will show more weeks in order to match this value. Put it to 6 for having fix number of week in Gregorian calendars
Optional
focusedControlled focused view.
Optional
hasRender action buttons Cancel and Ok. If true, onAccept only fires on Ok button
Optional
hasSet this to true the picker should show the week numbers next to dates.
Optional
isIf true, a loading skeleton will be rendered instead of the component.
Language used for localization and date formatting.
Optional
loadingIf true
, calls renderLoading
instead of rendering the day calendar.
Can be used to preload information and show it in calendar.
Optional
maxMaximal selectable date.
Optional
minMinimal selectable date.
Optional
monthsMonths rendered per row.
Optional
onCallback when Calendar changes.
Optional
onCallback when Calendar is requested to be closed.
Optional
onCallback fired on focused view change.
The new view to focus or not.
true
if the view should be focused.
Optional
onCallback fired on month change.
The new month.
Optional
onCallback fired on view change.
The new view.
Optional
onCallback fired on year change.
The new year.
Optional
openThe default visible view.
Used when the component view is not controlled.
Must be a valid option from views
list.
Optional
outlinedIf true the calendar will have a border and white background. Default is false = transparent
Optional
readMake picker read only.
Optional
reduceIf true
, disable heavy animations.
Optional
referenceThe date used to generate the new value when both value
and defaultValue
are empty.
Optional
renderComponent displaying when passed loading
true.
The node to render when loading.
Optional
secondarySpecifies the default calendar view when the component is rendered.
Optional
shouldDisable specific date.
Warning: This function can be called multiple times (e.g. when rendering date calendar, checking if focus can be moved to a certain date, etc.). Expensive computations can impact performance.
The date to test.
If true
the date will be disabled.
Optional
shouldDisable specific month.
The month to test.
If true
, the month will be disabled.
Optional
shouldDisable specific year.
The year to test.
If true
, the year will be disabled.
Optional
showIf true
, days outside the current month are rendered:
if fixedWeekNumber
is defined, renders days to have the weeks requested.
if fixedWeekNumber
is not defined, renders day to fill the first and last week of the current month.
ignored if calendars
equals more than 1
on range pickers.
Optional
slotThe props used for each component slot.
Optional
slotsOverridable component slots.
Optional
sxThe system prop that allows defining system overrides as well as additional CSS styles.
Optional
timezoneChoose which timezone to use for the value. Example: "default", "system", "UTC", "America/New_York". If you pass values from other timezones to some props, they will be converted to this timezone before being used.
See the timezones documention for more details.
Optional
timeTime zone for the calendar.
Optional
titleStyle calendar heading as h2, h3 or h4. Defaults to h2
Optional
valueDate value of the datepicker, in yyyy-MM-dd format.
Optional
viewThe visible view.
Used when the component view is controlled.
Must be a valid option from views
list.
Optional
viewsAvailable views.
Optional
yearsYears rendered per row.
If
true
, the main element is focused during the first mount. This main element is:day
view).input
element if there is a field rendered.