Skip to contentSkip to content

EventCalendar API

API reference docs for the React EventCalendar component. Learn about the props, CSS, and other APIs of this exported module.

Demos

Import

import { EventCalendar } from '@mui/x-scheduler/event-calendar';
// or
import { EventCalendar } from '@mui/x-scheduler';

Learn about the difference by reading this guide on minimizing bundle size.

Props

Props of the native component are also available.

NameTypeDefaultDescription
apiRef{ current?: { setVisibleDate?: func } }-

The ref object that allows Event Calendar manipulation. Can be instantiated with useEventCalendarApiRef().

areEventsDraggablebooltrue

Whether the event can be dragged to change its start and end dates without changing the duration.

areEventsResizable'end'
| 'start'
| bool
true

Whether the event start or end can be dragged to change its duration without changing its other date. If true, both start and end can be resized. If false, the events are not resizable. If "start", only the start can be resized. If "end", only the end can be resized.

canDragEventsFromTheOutsideboolfalse

Whether events can be dragged from outside of the calendar and dropped into it.

canDropEventsToTheOutsideboolfalse

Whether events can be dragged from inside of the calendar and dropped outside of it. If true, when the mouse leaves the calendar, the event won't be rendered inside the calendar anymore. If false, when the mouse leaves the calendar, the event will be rendered in its last valid position inside the calendar.

classesobject-

Override or extend the styles applied to the component.

See CSS classes API below for more details.

dataSource{ getEvents: func, updateEvents: func }-

Data source for fetching events asynchronously. When provided, events are fetched through the data source instead of the events prop.

dateLocaleobjectenUS (English)

The locale object from date-fns used to format dates. This affects day names, month names, week start day, and other locale-dependent formatting. Import a locale from date-fns/locale and pass it to this prop.

defaultPreferences{ ampm?: bool, isSidePanelOpen?: bool, showEmptyDaysInAgenda?: bool, showWeekends?: bool, showWeekNumber?: bool }{ showWeekends: true, showWeekNumber: false, isSidePanelOpen: true, showEmptyDaysInAgenda: true, ampm: true }

The default preferences for the calendar. To use controlled preferences, use the preferences prop.

defaultView'agenda'
| 'day'
| 'month'
| 'week'
"week"

The view initially displayed in the calendar. To render a controlled calendar, use the view prop.

defaultVisibleDateDatetoday

The date initially used to determine the visible date range in each view. To render a controlled calendar, use the visibleDate prop.

defaultVisibleResourcesobject{} - all resources are visible

The IDs of the resources initially visible. To render a controlled scheduler, use the visibleResources prop.

displayTimezonestring"default"

The timezone used to display events in the scheduler.
Accepts any valid IANA timezone name (for example "America/New_York", "Europe/Paris", "Asia/Tokyo"), or keywords understood by the adapter, such as "default" (use the adapter's default timezone), "locale" (use the user's current locale timezone), or "UTC".
This timezone only affects rendering, events keep their original data timezone.

eventColor'amber'
| 'blue'
| 'green'
| 'grey'
| 'indigo'
| 'lime'
| 'orange'
| 'pink'
| 'purple'
| 'red'
| 'teal'
"teal"

The color palette used for all events. Can be overridden per resource using the eventColor property on the resource model. Can be overridden per event using the color property on the event model.

eventModelStructureobject-

The structure of the event model. It defines how to read and write the properties of the event model. If not provided, the event model is assumed to match the CalendarEvent interface.

eventsArray<object>[]

The events currently available in the calendar.

localeTextobject-

Set the locale text of the Event Calendar. You can find all the translation keys supported in the source in the GitHub repository.

onEventsChangefunc-

Callback fired when some event of the calendar change.

onPreferencesChangefunc-

Event handler called when the preferences change.

onViewChangefunc-

Event handler called when the view changes.

onVisibleDateChangefunc-

Event handler called when the visible date changes.

onVisibleResourcesChangefunc-

Event handler called when the visible resources change.

preferences{ ampm?: bool, isSidePanelOpen?: bool, showEmptyDaysInAgenda?: bool, showWeekends?: bool, showWeekNumber?: bool }-

Preferences currently displayed in the calendar.

preferencesMenuConfigfalse
| { toggleAmpm?: bool, toggleEmptyDaysInAgenda?: bool, toggleWeekendVisibility?: bool, toggleWeekNumberVisibility?: bool }
{ toggleWeekendVisibility: true, toggleWeekNumberVisibility: true, toggleAmpm: true, toggleEmptyDaysInAgenda: true }

Config of the preferences menu. Defines which options are visible in the menu. If false, the menu will be entirely hidden.

readOnlyboolfalse

Whether the calendar is in read-only mode.

resourceModelStructureobject-

The structure of the resource model. It defines how to read and write the properties of the resource model. If not provided, the resource model is assumed to match the CalendarResource interface.

resourcesArray<object>-

The resources the events can be assigned to.

showCurrentTimeIndicatorbooltrue

Whether the component should display the current time indicator.

sxArray<func
| object
| bool>
| func
| object
-

The system prop that allows defining system overrides as well as additional CSS styles.

See the `sx` page for more details.

view'agenda'
| 'day'
| 'month'
| 'week'
-

The view currently displayed in the calendar.

viewsArray<'agenda'
| 'day'
| 'month'
| 'week'>
["day", "week", "month", "agenda"]

The views available in the calendar.

visibleDateDate-

The date currently used to determine the visible date range in each view.

visibleResourcesobject-

The IDs of the resources currently visible. A resource is visible if it is not included in this object or if it is included with true value.

The ref is forwarded to the root element.

Theme default props

You can use MuiEventCalendar to change the default props of this component with the theme.

CSS classes

These class names are useful for styling with CSS. They are applied to the component's slots when specific states are triggered.

Class nameRule nameDescription
.MuiEventCalendar-agendaViewagendaViewStyles applied to the agenda view element.
.MuiEventCalendar-agendaViewDayHeaderCellagendaViewDayHeaderCellStyles applied to agenda view day header cell elements.
.MuiEventCalendar-agendaViewDayNumberCellagendaViewDayNumberCellStyles applied to agenda view day number cell elements.
.MuiEventCalendar-agendaViewEventListItemagendaViewEventListItemStyles applied to the agenda view event list item elements.
.MuiEventCalendar-agendaViewEventsListagendaViewEventsListStyles applied to the agenda view events list element.
.MuiEventCalendar-agendaViewRowagendaViewRowStyles applied to agenda view row elements.
.MuiEventCalendar-agendaViewWeekDayCellagendaViewWeekDayCellStyles applied to agenda view week day cell elements.
.MuiEventCalendar-agendaViewWeekDayNameLabelagendaViewWeekDayNameLabelStyles applied to agenda view week day name label elements.
.MuiEventCalendar-agendaViewYearAndMonthLabelagendaViewYearAndMonthLabelStyles applied to agenda view year and month label elements.
.MuiEventCalendar-contentcontentStyles applied to the content section element.
.MuiEventCalendar-dayGridEventdayGridEventStyles applied to day grid event elements.
.MuiEventCalendar-dayGridEventCardContentdayGridEventCardContentStyles applied to day grid event card content elements.
.MuiEventCalendar-dayGridEventCardWrapperdayGridEventCardWrapperStyles applied to day grid event card wrapper elements.
.MuiEventCalendar-dayGridEventLinesClampdayGridEventLinesClampStyles applied to day grid event lines clamp elements.
.MuiEventCalendar-dayGridEventPlaceholderdayGridEventPlaceholderStyles applied to day grid event placeholder elements.
.MuiEventCalendar-dayGridEventRecurringIcondayGridEventRecurringIconStyles applied to day grid event recurring icon elements.
.MuiEventCalendar-dayGridEventResizeHandlerdayGridEventResizeHandlerStyles applied to day grid event resize handler elements.
.MuiEventCalendar-dayGridEventTimedayGridEventTimeStyles applied to day grid event time elements.
.MuiEventCalendar-dayGridEventTitledayGridEventTitleStyles applied to day grid event title elements.
.MuiEventCalendar-dayTimeGriddayTimeGridStyles applied to the day time grid element.
.MuiEventCalendar-dayTimeGridAllDayEventContainerdayTimeGridAllDayEventContainerStyles applied to day time grid all day event container elements.
.MuiEventCalendar-dayTimeGridAllDayEventsCelldayTimeGridAllDayEventsCellStyles applied to day time grid all day events cell elements.
.MuiEventCalendar-dayTimeGridAllDayEventsCellEventsdayTimeGridAllDayEventsCellEventsStyles applied to day time grid all day events cell events container elements.
.MuiEventCalendar-dayTimeGridAllDayEventsGriddayTimeGridAllDayEventsGridStyles applied to the day time grid all day events grid element.
.MuiEventCalendar-dayTimeGridAllDayEventsHeaderCelldayTimeGridAllDayEventsHeaderCellStyles applied to the day time grid all day events header cell element.
.MuiEventCalendar-dayTimeGridAllDayEventsRowdayTimeGridAllDayEventsRowStyles applied to the day time grid all day events row element.
.MuiEventCalendar-dayTimeGridBodydayTimeGridBodyStyles applied to the day time grid body element.
.MuiEventCalendar-dayTimeGridColumndayTimeGridColumnStyles applied to day time grid column elements.
.MuiEventCalendar-dayTimeGridColumnInteractiveLayerdayTimeGridColumnInteractiveLayerStyles applied to day time grid column interactive layer elements.
.MuiEventCalendar-dayTimeGridContainerdayTimeGridContainerStyles applied to the day time grid container element.
.MuiEventCalendar-dayTimeGridCurrentTimeIndicatordayTimeGridCurrentTimeIndicatorStyles applied to the day time grid current time indicator element.
.MuiEventCalendar-dayTimeGridCurrentTimeIndicatorCircledayTimeGridCurrentTimeIndicatorCircleStyles applied to the day time grid current time indicator circle element.
.MuiEventCalendar-dayTimeGridCurrentTimeLabeldayTimeGridCurrentTimeLabelStyles applied to the day time grid current time label element.
.MuiEventCalendar-dayTimeGridGriddayTimeGridGridStyles applied to the day time grid grid element.
.MuiEventCalendar-dayTimeGridHeaderdayTimeGridHeaderStyles applied to the day time grid header element.
.MuiEventCalendar-dayTimeGridHeaderButtondayTimeGridHeaderButtonStyles applied to day time grid header button elements.
.MuiEventCalendar-dayTimeGridHeaderCelldayTimeGridHeaderCellStyles applied to day time grid header cell elements.
.MuiEventCalendar-dayTimeGridHeaderContentdayTimeGridHeaderContentStyles applied to day time grid header content elements.
.MuiEventCalendar-dayTimeGridHeaderDayNamedayTimeGridHeaderDayNameStyles applied to day time grid header day name elements.
.MuiEventCalendar-dayTimeGridHeaderDayNumberdayTimeGridHeaderDayNumberStyles applied to day time grid header day number elements.
.MuiEventCalendar-dayTimeGridScrollableContentdayTimeGridScrollableContentStyles applied to the day time grid scrollable content element.
.MuiEventCalendar-dayTimeGridScrollablePlaceholderdayTimeGridScrollablePlaceholderStyles applied to the day time grid scrollable placeholder element.
.MuiEventCalendar-dayTimeGridTimeAxisdayTimeGridTimeAxisStyles applied to the day time grid time axis element.
.MuiEventCalendar-dayTimeGridTimeAxisCelldayTimeGridTimeAxisCellStyles applied to day time grid time axis cell elements.
.MuiEventCalendar-dayTimeGridTimeAxisTextdayTimeGridTimeAxisTextStyles applied to day time grid time axis text elements.
.MuiEventCalendar-errorAlerterrorAlertStyles applied to the error alert element.
.MuiEventCalendar-errorContainererrorContainerStyles applied to the error container element.
.MuiEventCalendar-errorMessageerrorMessageStyles applied to the error message element.
.MuiEventCalendar-eventColorIndicatoreventColorIndicatorStyles applied to event color indicator elements.
.MuiEventCalendar-eventDialogeventDialogStyles applied to the event dialog root element.
.MuiEventCalendar-eventDialogActionseventDialogActionsStyles applied to the event dialog actions element.
.MuiEventCalendar-eventDialogCloseActioneventDialogCloseActionStyles applied to the event dialog close action button element.
.MuiEventCalendar-eventDialogCloseButtoneventDialogCloseButtonStyles applied to the event dialog close button element.
.MuiEventCalendar-eventDialogContenteventDialogContentStyles applied to the event dialog content element.
.MuiEventCalendar-eventDialogDateTimeContainereventDialogDateTimeContainerStyles applied to the event dialog date time container element.
.MuiEventCalendar-eventDialogDateTimeFieldsContainereventDialogDateTimeFieldsContainerStyles applied to the event dialog date time fields container element.
.MuiEventCalendar-eventDialogDateTimeFieldsRoweventDialogDateTimeFieldsRowStyles applied to the event dialog date time fields row element.
.MuiEventCalendar-eventDialogDateTimeIconeventDialogDateTimeIconStyles applied to the event dialog date time icon element.
.MuiEventCalendar-eventDialogDateTimeLabeleventDialogDateTimeLabelStyles applied to the event dialog date time label element.
.MuiEventCalendar-eventDialogDeleteButtoneventDialogDeleteButtonStyles applied to the event dialog delete button element.
.MuiEventCalendar-eventDialogDescriptionLabeleventDialogDescriptionLabelStyles applied to the event dialog description label element.
.MuiEventCalendar-eventDialogEndsRadioGroupeventDialogEndsRadioGroupStyles applied to the event dialog ends radio group element.
.MuiEventCalendar-eventDialogFormeventDialogFormStyles applied to the event dialog form element.
.MuiEventCalendar-eventDialogFormActionseventDialogFormActionsStyles applied to the event dialog form actions element.
.MuiEventCalendar-eventDialogFormDividereventDialogFormDividerStyles applied to the event dialog form divider element.
.MuiEventCalendar-eventDialogFrequencySelecteventDialogFrequencySelectStyles applied to the event dialog frequency select element.
.MuiEventCalendar-eventDialogHeadereventDialogHeaderStyles applied to the event dialog header element.
.MuiEventCalendar-eventDialogInlineRoweventDialogInlineRowStyles applied to the event dialog inline row element.
.MuiEventCalendar-eventDialogPapereventDialogPaperStyles applied to the event dialog paper element.
.MuiEventCalendar-eventDialogRadioButtonLabeleventDialogRadioButtonLabelStyles applied to the event dialog radio button label element.
.MuiEventCalendar-eventDialogReadonlyContenteventDialogReadonlyContentStyles applied to the event dialog readonly content element.
.MuiEventCalendar-eventDialogRecurrenceIconeventDialogRecurrenceIconStyles applied to the event dialog recurrence icon element.
.MuiEventCalendar-eventDialogRecurrenceLabeleventDialogRecurrenceLabelStyles applied to the event dialog recurrence label element.
.MuiEventCalendar-eventDialogRecurrenceLabelContainereventDialogRecurrenceLabelContainerStyles applied to the event dialog recurrence label container element in the readonly content.
.MuiEventCalendar-eventDialogRecurrenceSelectorContainereventDialogRecurrenceSelectorContainerStyles applied to the event dialog recurrence selector container element.
.MuiEventCalendar-eventDialogRecurrenceSelectorToggleGroupeventDialogRecurrenceSelectorToggleGroupStyles applied to the event dialog recurrence selector toggle group element.
.MuiEventCalendar-eventDialogRepeatSectionContenteventDialogRepeatSectionContentStyles applied to the event dialog repeat section content element.
.MuiEventCalendar-eventDialogRepeatSectionFieldseteventDialogRepeatSectionFieldsetStyles applied to the event dialog repeat section fieldset element.
.MuiEventCalendar-eventDialogRepeatSectionLabeleventDialogRepeatSectionLabelStyles applied to the event dialog repeat section label element.
.MuiEventCalendar-eventDialogResourceContainereventDialogResourceContainerStyles applied to the event dialog resource container element.
.MuiEventCalendar-eventDialogResourceLegendColoreventDialogResourceLegendColorStyles applied to the event dialog resource legend color element.
.MuiEventCalendar-eventDialogResourceLegendContainereventDialogResourceLegendContainerStyles applied to the event dialog resource legend container element.
.MuiEventCalendar-eventDialogResourceMenuColorDoteventDialogResourceMenuColorDotStyles applied to the event dialog resource menu color dot element.
.MuiEventCalendar-eventDialogResourceMenuColorRadioButtoneventDialogResourceMenuColorRadioButtonStyles applied to the event dialog resource menu color radio button element.
.MuiEventCalendar-eventDialogResourceMenuItemeventDialogResourceMenuItemStyles applied to the event dialog resource menu item element.
.MuiEventCalendar-eventDialogResourceMenuListSubheadereventDialogResourceMenuListSubheaderStyles applied to the event dialog resource menu list subheader element.
.MuiEventCalendar-eventDialogResourceTitleeventDialogResourceTitleStyles applied to the event dialog resource title element.
.MuiEventCalendar-eventDialogSaveButtoneventDialogSaveButtonStyles applied to the event dialog save button element.
.MuiEventCalendar-eventDialogSectionHeaderTitleeventDialogSectionHeaderTitleStyles applied to the event dialog section header title element.
.MuiEventCalendar-eventDialogSmallNumberFieldeventDialogSmallNumberFieldStyles applied to the event dialog small number field element.
.MuiEventCalendar-eventDialogTabeventDialogTabStyles applied to the event dialog tab elements.
.MuiEventCalendar-eventDialogTabContenteventDialogTabContentStyles applied to the event dialog tab content element.
.MuiEventCalendar-eventDialogTabPaneleventDialogTabPanelStyles applied to the event dialog tab panel element.
.MuiEventCalendar-eventDialogTabsContainereventDialogTabsContainerStyles applied to the event dialog tabs container element.
.MuiEventCalendar-eventDialogTitleeventDialogTitleStyles applied to the event dialog title element.
.MuiEventCalendar-eventDialogWeekDaySelectorCheckboxeventDialogWeekDaySelectorCheckboxStyles applied to the event dialog week day selector form group element.
.MuiEventCalendar-eventDragPrevieweventDragPreviewStyles applied to the event drag preview element.
.MuiEventCalendar-eventItemCardeventItemCardStyles applied to event item card elements.
.MuiEventCalendar-eventItemCardContenteventItemCardContentStyles applied to event item card content elements.
.MuiEventCalendar-eventItemCardWrappereventItemCardWrapperStyles applied to event item card wrapper elements.
.MuiEventCalendar-eventItemLinesClampeventItemLinesClampStyles applied to event item lines clamp elements.
.MuiEventCalendar-eventItemRecurringIconeventItemRecurringIconStyles applied to event item recurring icon elements.
.MuiEventCalendar-eventItemTimeeventItemTimeStyles applied to event item time elements.
.MuiEventCalendar-eventItemTitleeventItemTitleStyles applied to event item title elements.
.MuiEventCalendar-eventSkeletoneventSkeletonStyles applied to event skeleton elements.
.MuiEventCalendar-headerToolbarheaderToolbarStyles applied to the header toolbar element.
.MuiEventCalendar-headerToolbarActionsheaderToolbarActionsStyles applied to the header toolbar actions element.
.MuiEventCalendar-headerToolbarDateNavigatorheaderToolbarDateNavigatorStyles applied to the header toolbar date navigator buttons container element.
.MuiEventCalendar-headerToolbarLabelheaderToolbarLabelStyles applied to the header toolbar label element.
.MuiEventCalendar-headerToolbarLeftElementheaderToolbarLeftElementStyles applied to the header toolbar left side element.
.MuiEventCalendar-headerToolbarNextButtonheaderToolbarNextButtonStyles applied to the header toolbar next button element.
.MuiEventCalendar-headerToolbarPreviousButtonheaderToolbarPreviousButtonStyles applied to the header toolbar previous button element.
.MuiEventCalendar-headerToolbarSidePanelToggleheaderToolbarSidePanelToggleStyles applied to the header toolbar side panel toggle button element.
.MuiEventCalendar-headerToolbarTodayButtonheaderToolbarTodayButtonStyles applied to the header toolbar today button element.
.MuiEventCalendar-mainPanelmainPanelStyles applied to the main panel element.
.MuiEventCalendar-miniCalendarminiCalendarStyles applied to the mini calendar root element.
.MuiEventCalendar-miniCalendarDayButtonminiCalendarDayButtonStyles applied to mini calendar day buttons.
.MuiEventCalendar-miniCalendarDayCellminiCalendarDayCellStyles applied to mini calendar day cells.
.MuiEventCalendar-miniCalendarGridminiCalendarGridStyles applied to the mini calendar grid (body).
.MuiEventCalendar-miniCalendarHeaderminiCalendarHeaderStyles applied to the mini calendar header element.
.MuiEventCalendar-miniCalendarMonthLabelminiCalendarMonthLabelStyles applied to the mini calendar month label.
.MuiEventCalendar-miniCalendarNavigationminiCalendarNavigationStyles applied to the mini calendar header navigation container.
.MuiEventCalendar-miniCalendarNextButtonminiCalendarNextButtonStyles applied to the mini calendar next button element.
.MuiEventCalendar-miniCalendarPreviousButtonminiCalendarPreviousButtonStyles applied to the mini calendar previous button element.
.MuiEventCalendar-miniCalendarWeekdayCellminiCalendarWeekdayCellStyles applied to individual mini calendar weekday header cells.
.MuiEventCalendar-miniCalendarWeekdayHeaderminiCalendarWeekdayHeaderStyles applied to the mini calendar weekday header row.
.MuiEventCalendar-miniCalendarWeekRowminiCalendarWeekRowStyles applied to mini calendar week rows.
.MuiEventCalendar-monthViewmonthViewStyles applied to the month view root element.
.MuiEventCalendar-monthViewBodymonthViewBodyStyles applied to the month view body element.
.MuiEventCalendar-monthViewCellmonthViewCellStyles applied to month view cell elements.
.MuiEventCalendar-monthViewCellEventsmonthViewCellEventsStyles applied to month view cell events container elements.
.MuiEventCalendar-monthViewCellNumbermonthViewCellNumberStyles applied to month view cell number elements.
.MuiEventCalendar-monthViewCellNumberButtonmonthViewCellNumberButtonStyles applied to month view cell number button elements.
.MuiEventCalendar-monthViewGridmonthViewGridStyles applied to the month view grid element.
.MuiEventCalendar-monthViewHeadermonthViewHeaderStyles applied to the month view header element.
.MuiEventCalendar-monthViewHeaderCellmonthViewHeaderCellStyles applied to month view header cell elements.
.MuiEventCalendar-monthViewMoreEventsmonthViewMoreEventsStyles applied to month view more events button elements.
.MuiEventCalendar-monthViewPlaceholderContainermonthViewPlaceholderContainerStyles applied to month view placeholder event container elements.
.MuiEventCalendar-monthViewRowmonthViewRowStyles applied to month view row elements.
.MuiEventCalendar-monthViewWeekHeaderCellmonthViewWeekHeaderCellStyles applied to the month view week header cell element.
.MuiEventCalendar-monthViewWeekNumberCellmonthViewWeekNumberCellStyles applied to month view week number cell elements.
.MuiEventCalendar-moreEventsPopovermoreEventsPopoverStyles applied to the more events popover element.
.MuiEventCalendar-moreEventsPopoverBodymoreEventsPopoverBodyStyles applied to the more events popover body element.
.MuiEventCalendar-moreEventsPopoverHeadermoreEventsPopoverHeaderStyles applied to the more events popover header element.
.MuiEventCalendar-moreEventsPopoverTitlemoreEventsPopoverTitleStyles applied to the more events popover title element.
.MuiEventCalendar-preferencesMenupreferencesMenuStyles applied to the preferences menu element.
.MuiEventCalendar-preferencesMenuButtonpreferencesMenuButtonStyles applied to the preferences menu button element.
.MuiEventCalendar-preferencesMenuDividerpreferencesMenuDividerStyles applied to the preferences menu divider elements.
.MuiEventCalendar-preferencesMenuItempreferencesMenuItemStyles applied to the preferences menu item elements.
.MuiEventCalendar-preferencesMenuListpreferencesMenuListStyles applied to the preferences menu list element.
.MuiEventCalendar-preferencesMenuListItemIconpreferencesMenuListItemIconStyles applied to the preferences menu list item icon elements.
.MuiEventCalendar-preferencesMenuListItemTextpreferencesMenuListItemTextStyles applied to the preferences menu list item text elements.
.MuiEventCalendar-preferencesMenuListSubheaderpreferencesMenuListSubheaderStyles applied to the preferences menu list subheader elements.
.MuiEventCalendar-resourceLegendColorresourceLegendColorStyles applied to event item resource legend color elements.
.MuiEventCalendar-resourcesLegendresourcesLegendStyles applied to the resources legend root element.
.MuiEventCalendar-resourcesLegendItemresourcesLegendItemStyles applied to resources legend item elements.
.MuiEventCalendar-resourcesLegendItemCheckboxresourcesLegendItemCheckboxStyles applied to resources legend item checkbox elements.
.MuiEventCalendar-resourcesLegendItemNameresourcesLegendItemNameStyles applied to resources legend item name elements.
.MuiEventCalendar-resourcesLegendLabelresourcesLegendLabelStyles applied to the resources legend label element.
.MuiEventCalendar-rootrootStyles applied to the root element.
.MuiEventCalendar-sidePanelsidePanelStyles applied to the side panel element.
.MuiEventCalendar-sidePanelCollapsesidePanelCollapseStyles applied to the side panel collapse element.
.MuiEventCalendar-sidePanelDividersidePanelDividerStyles applied to the side panel divider element.
.MuiEventCalendar-standaloneEventstandaloneEventStyles applied to the standalone event element.
.MuiEventCalendar-timeGridEventtimeGridEventStyles applied to time grid event elements.
.MuiEventCalendar-timeGridEventPlaceholdertimeGridEventPlaceholderStyles applied to time grid event placeholder elements.
.MuiEventCalendar-timeGridEventRecurringIcontimeGridEventRecurringIconStyles applied to time grid event recurring icon elements.
.MuiEventCalendar-timeGridEventResizeHandlertimeGridEventResizeHandlerStyles applied to time grid event resize handler elements.
.MuiEventCalendar-timeGridEventSkeletontimeGridEventSkeletonStyles applied to time grid event skeleton elements.
.MuiEventCalendar-timeGridEventTimetimeGridEventTimeStyles applied to time grid event time elements.
.MuiEventCalendar-timeGridEventTitletimeGridEventTitleStyles applied to time grid event title elements.
.MuiEventCalendar-viewSwitcherviewSwitcherStyles applied to the view switcher element.
.MuiEventCalendar-viewSwitcherButtonviewSwitcherButtonStyles applied to the view switcher button element.
.MuiEventCalendar-viewSwitcherMenuviewSwitcherMenuStyles applied to the view switcher menu element.

You can override the style of the component using one of these customization options:

Source code

If you did not find the information in this page, consider having a look at the implementation of the component for more detail.