[object Promise]

# EventCalendar API

## Demos

For examples and details on the usage of this React component, visit the component demo pages:

- [Scheduler - Event dialog](/x/react-scheduler/components/event-dialog/)
- [Event Calendar - Drag Interactions](/x/react-scheduler/event-calendar/drag-interactions/)
- [Event Calendar - Editing](/x/react-scheduler/event-calendar/editing/)
- [Event Calendar - Events](/x/react-scheduler/event-calendar/events/)
- [Event Calendar - Localization](/x/react-scheduler/event-calendar/localization/)
- [Event Calendar - Navigation](/x/react-scheduler/event-calendar/navigation/)
- [Event Calendar - Preferences](/x/react-scheduler/event-calendar/preferences/)
- [Event Calendar - Resources](/x/react-scheduler/event-calendar/resources/)
- [Event Calendar - Views](/x/react-scheduler/event-calendar/views/)

## Import

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

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| apiRef | `{ current?: { setVisibleDate?: func } }` | - | No |  |
| areEventsDraggable | `bool` | `true` | No |  |
| areEventsResizable | `'end' \| 'start' \| bool` | `true` | No |  |
| canDragEventsFromTheOutside | `bool` | `false` | No |  |
| canDropEventsToTheOutside | `bool` | `false` | No |  |
| classes | `object` | - | No | Override or extend the styles applied to the component. |
| collapsedResources | `object` | - | No |  |
| dateLocale | `string` | `"en-US"` | No |  |
| defaultCollapsedResources | `object` | `{} - all resources are expanded` | No |  |
| defaultPreferences | `{ ampm?: bool, isSidePanelOpen?: bool, showEmptyDaysInAgenda?: bool, showWeekends?: bool, showWeekNumber?: bool, weekStartsOn?: 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 }` | `{ showWeekends: true, showWeekNumber: false, isSidePanelOpen: true, showEmptyDaysInAgenda: true }` | No |  |
| defaultView | `'agenda' \| 'day' \| 'month' \| 'week'` | `"week"` | No |  |
| defaultVisibleDate | `Date` | `today` | No |  |
| defaultVisibleResources | `object` | `{} - all resources are visible` | No |  |
| displayTimezone | `string` | `"default"` | No |  |
| eventColor | `'amber' \| 'blue' \| 'green' \| 'grey' \| 'indigo' \| 'lime' \| 'orange' \| 'pink' \| 'purple' \| 'red' \| 'teal'` | `"teal"` | No |  |
| eventCreation | `{ canHaveMultipleResources?: bool, duration?: number, interaction?: 'click' \| 'double-click' } \| bool` | - | No |  |
| eventDeletion | `{ confirmation?: bool } \| bool` | `true` | No |  |
| eventModelStructure | `object` | - | No |  |
| events | `Array<object>` | `[]` | No |  |
| localeText | `object` | - | No |  |
| onCollapsedResourcesChange | `func` | - | No |  |
| onEventEditingStart | `func` | - | No |  |
| onEventsChange | `func` | - | No |  |
| onPreferencesChange | `func` | - | No |  |
| onViewChange | `func` | - | No |  |
| onVisibleDateChange | `func` | - | No |  |
| onVisibleResourcesChange | `func` | - | No |  |
| preferences | `{ ampm?: bool, isSidePanelOpen?: bool, showEmptyDaysInAgenda?: bool, showWeekends?: bool, showWeekNumber?: bool, weekStartsOn?: 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 }` | - | No |  |
| preferencesMenuConfig | `false \| { toggleAmpm?: bool, toggleEmptyDaysInAgenda?: bool, toggleWeekendVisibility?: bool, toggleWeekNumberVisibility?: bool, toggleWeekStartsOn?: bool }` | `{ toggleWeekendVisibility: true, toggleWeekNumberVisibility: true, toggleAmpm: true, toggleEmptyDaysInAgenda: true, toggleWeekStartsOn: false }` | No |  |
| readOnly | `bool` | `false` | No |  |
| resourceModelStructure | `object` | - | No |  |
| resources | `Array<object>` | - | No |  |
| shouldEventRequireResource | `bool` | `false` | No |  |
| showCurrentTimeIndicator | `bool` | `true` | No |  |
| slotProps | `object` | `{}` | No |  |
| slots | `object` | `{}` | No |  |
| sx | `Array<func \| object \| bool> \| func \| object` | - | No | The system prop that allows defining system overrides as well as additional CSS styles. |
| view | `'agenda' \| 'day' \| 'month' \| 'week'` | - | No |  |
| viewConfig | `{ agenda?: { dayCount?: 'month' \| number }, day?: { endTime?: number, initialScrollTime?: number, startTime?: number, timeGridEvents?: 'same-day-only' \| 'shorter-than-one-day' }, week?: { endTime?: number, initialScrollTime?: number, startTime?: number, timeGridEvents?: 'same-day-only' \| 'shorter-than-one-day' } }` | - | No |  |
| views | `Array<'agenda' \| 'day' \| 'month' \| 'week'>` | `["day", "week", "month", "agenda"]` | No |  |
| visibleDate | `Date` | - | No |  |
| visibleResources | `object` | - | No |  |

> **Note**: The `ref` is forwarded to the root element (HTMLDivElement).

> Any other props supplied will be provided to the root element (native element).

## Theme default props

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

## Slots

| Name | Default | Class | Description |
|------|---------|-------|-------------|
| eventDialogGeneralTab | `EventDialogGeneralTabContent` | - | The content of the "General" tab of the event editing surface:
the dialog on regular views, the compact editing drawer on compact views.
It is rendered inside the tab panel, so it must not render a tab panel of its own.
Return a fragment rather than a wrapper element to keep the spacing between the sections. |

## CSS

### Rule name

| Global class | Rule name | Description |
|--------------|-----------|-------------|
| - | agendaView | Styles applied to the agenda view element. |
| - | agendaViewDayHeaderCell | Styles applied to agenda view day header cell elements. |
| - | agendaViewDayNumberCell | Styles applied to agenda view day number cell elements. |
| - | agendaViewEmptyState | Styles applied to the agenda view empty state element. |
| - | agendaViewEventListItem | Styles applied to the agenda view event list item elements. |
| - | agendaViewEventsList | Styles applied to the agenda view events list element. |
| - | agendaViewRow | Styles applied to agenda view row elements. |
| - | agendaViewWeekDayCell | Styles applied to agenda view week day cell elements. |
| - | agendaViewWeekDayNameLabel | Styles applied to agenda view week day name label elements. |
| - | agendaViewWeekNumberLabel | Styles applied to agenda view week number label elements. |
| - | agendaViewWeekNumberRow | Styles applied to agenda view week number row elements. |
| - | agendaViewYearAndMonthLabel | Styles applied to agenda view year and month label elements. |
| - | anchoredEventToolbar | Styles applied to the anchored (desktop) armed-event toolbar wrapper element. |
| - | compactDayTimeGrid | Styles applied to the compact (touch) day time grid root element. |
| - | compactDayTimeGridContent | Styles applied to the compact (touch) day time grid content element. |
| - | compactEventDrawer | Styles applied to the compact editing drawer root element. |
| - | compactEventDrawerContent | Styles applied to the compact editing drawer content element. |
| - | compactEventDrawerReadonlyHeader | Styles applied to the compact editing drawer read-only header element. |
| - | compactEventDrawerReadonlyTitle | Styles applied to the compact editing drawer read-only title element. |
| - | compactEventToolbarDock | Styles applied to the compact (touch) armed-event toolbar dock element. |
| - | content | Styles applied to the content section element. |
| - | dayGridEvent | Styles applied to day grid event elements. |
| - | dayGridEventCardContent | Styles applied to day grid event card content elements. |
| - | dayGridEventCardWrapper | Styles applied to day grid event card wrapper elements. |
| - | dayGridEventLinesClamp | Styles applied to day grid event lines clamp elements. |
| - | dayGridEventPlaceholder | Styles applied to day grid event placeholder elements. |
| - | dayGridEventRecurringIcon | Styles applied to day grid event recurring icon elements. |
| - | dayGridEventResizeHandler | Styles applied to day grid event resize handler elements. |
| - | dayGridEventTime | Styles applied to day grid event time elements. |
| - | dayGridEventTitle | Styles applied to day grid event title elements. |
| - | dayTimeGrid | Styles applied to the day time grid element. |
| - | dayTimeGridAllDayEventContainer | Styles applied to day time grid all day event container elements. |
| - | dayTimeGridAllDayEventsCell | Styles applied to day time grid all day events cell elements. |
| - | dayTimeGridAllDayEventsCellEvents | Styles applied to day time grid all day events cell events container elements. |
| - | dayTimeGridAllDayEventsGrid | Styles applied to the day time grid all day events grid element. |
| - | dayTimeGridAllDayEventsHeaderCell | Styles applied to the day time grid all day events header cell (visually hidden row label). |
| - | dayTimeGridAllDayEventsRow | Styles applied to the day time grid all day events row element. |
| - | dayTimeGridBody | Styles applied to the day time grid body element. |
| - | dayTimeGridColumn | Styles applied to day time grid column elements. |
| - | dayTimeGridColumnInteractiveLayer | Styles applied to day time grid column interactive layer elements. |
| - | dayTimeGridContainer | Styles applied to the day time grid container element. |
| - | dayTimeGridCurrentTimeIndicator | Styles applied to the day time grid current time indicator element. |
| - | dayTimeGridCurrentTimeIndicatorCircle | Styles applied to the day time grid current time indicator circle element. |
| - | dayTimeGridCurrentTimeLabel | Styles applied to the day time grid current time label element. |
| - | dayTimeGridGrid | Styles applied to the day time grid grid element. |
| - | dayTimeGridHeader | Styles applied to the day time grid header element. |
| - | dayTimeGridHeaderButton | Styles applied to day time grid header button elements. |
| - | dayTimeGridHeaderCell | Styles applied to day time grid header cell elements. |
| - | dayTimeGridHeaderContent | Styles applied to day time grid header content elements. |
| - | dayTimeGridHeaderDayName | Styles applied to day time grid header day name elements. |
| - | dayTimeGridHeaderDayNumber | Styles applied to day time grid header day number elements. |
| - | dayTimeGridScrollableContent | Styles applied to the day time grid scrollable content element. |
| - | dayTimeGridScrollablePlaceholder | Styles applied to the day time grid scrollable placeholder element. |
| - | dayTimeGridTimeAxis | Styles applied to the day time grid time axis element. |
| - | dayTimeGridTimeAxisCell | Styles applied to day time grid time axis cell elements. |
| - | dayTimeGridTimeAxisText | Styles applied to day time grid time axis text elements. |
| - | errorAlert | Styles applied to the error alert element. |
| - | errorContainer | Styles applied to the error container element. |
| - | errorMessage | Styles applied to the error message element. |
| - | eventColorIndicator | Styles applied to event color indicator elements. |
| - | eventContextMenu | Styles applied to the event context menu root element. |
| - | eventContextMenuDeleteItem | Styles applied to the event context menu delete item element. |
| - | eventContextMenuEditItem | Styles applied to the event context menu edit item element. |
| - | eventContextMenuShowDetailsItem | Styles applied to the event context menu show details item element (read-only events). |
| - | eventDialog | Styles applied to the event dialog root element. |
| - | eventDialogActions | Styles applied to the event dialog actions element. |
| - | eventDialogCloseAction | Styles applied to the event dialog close action button element. |
| - | eventDialogCloseButton | Styles applied to the event dialog close button element. |
| - | eventDialogContent | Styles applied to the event dialog content element. |
| - | eventDialogDateTimeContainer | Styles applied to the event dialog date time container element. |
| - | eventDialogDateTimeFieldsContainer | Styles applied to the event dialog date time fields container element. |
| - | eventDialogDateTimeFieldsRow | Styles applied to the event dialog date time fields row element. |
| - | eventDialogDateTimeIcon | Styles applied to the event dialog date time icon element. |
| - | eventDialogDateTimeLabel | Styles applied to the event dialog date time label element. |
| - | eventDialogDeleteButton | Styles applied to the event dialog delete button element. |
| - | eventDialogDescriptionLabel | Styles applied to the event dialog description label element. |
| - | eventDialogEndsRadioGroup | Styles applied to the event dialog ends radio group element. |
| - | eventDialogForm | Styles applied to the event dialog form element. |
| - | eventDialogFormActions | Styles applied to the event dialog form actions element. |
| - | eventDialogFormDivider | Styles applied to the event dialog form divider element. |
| - | eventDialogFrequencySelect | Styles applied to the event dialog frequency select element. |
| - | eventDialogHeader | Styles applied to the event dialog header element. |
| - | eventDialogHeaderActions | Styles applied to the event dialog header actions container element. |
| - | eventDialogInlineRow | Styles applied to the event dialog inline row element. |
| - | eventDialogPaper | Styles applied to the event dialog paper element. |
| - | eventDialogRadioButtonLabel | Styles applied to the event dialog radio button label element. |
| - | eventDialogReadonlyContent | Styles applied to the event dialog readonly content element. |
| - | eventDialogRecurrenceIcon | Styles applied to the event dialog recurrence icon element. |
| - | eventDialogRecurrenceLabel | Styles applied to the event dialog recurrence label element. |
| - | eventDialogRecurrenceLabelContainer | Styles applied to the event dialog recurrence label container element in the readonly content. |
| - | eventDialogRecurrenceSelectorContainer | Styles applied to the event dialog recurrence selector container element. |
| - | eventDialogRecurrenceSelectorToggleGroup | Styles applied to the event dialog recurrence selector toggle group element. |
| - | eventDialogRecurrenceTimezoneLabel | Styles applied to the recurrence timezone note and label suffix elements. |
| - | eventDialogRepeatSectionContent | Styles applied to the event dialog repeat section content element. |
| - | eventDialogRepeatSectionFieldset | Styles applied to the event dialog repeat section fieldset element. |
| - | eventDialogRepeatSectionLabel | Styles applied to the event dialog repeat section label element. |
| - | eventDialogResourceContainer | Styles applied to the event dialog resource container element. |
| - | eventDialogResourceLegendColor | Styles applied to the event dialog resource legend color element. |
| - | eventDialogResourceLegendContainer | Styles applied to the event dialog resource legend container element. |
| - | eventDialogResourceMenuColorDot | Styles applied to the event dialog resource menu color dot element. |
| - | eventDialogResourceMenuColorToggle | Styles applied to the event dialog resource menu color toggle element. |
| - | eventDialogResourceMenuColorToggleGroup | Styles applied to the event dialog resource menu color toggle group element. |
| - | eventDialogResourceMenuItem | Styles applied to the event dialog resource menu item element. |
| - | eventDialogResourceMenuListSubheader | Styles applied to the event dialog resource menu list subheader element. |
| - | eventDialogResourceTitle | Styles applied to the event dialog resource title element. |
| - | eventDialogSaveButton | Styles applied to the event dialog save button element. |
| - | eventDialogSectionFieldset | Styles applied to the event dialog section fieldset element. |
| - | eventDialogSectionHeaderTitle | Styles applied to the event dialog section header title element. |
| - | eventDialogSmallNumberField | Styles applied to the event dialog small number field element. |
| - | eventDialogTab | Styles applied to the event dialog tab elements. |
| - | eventDialogTabContent | Styles applied to the event dialog tab content element. |
| - | eventDialogTabPanel | Styles applied to the event dialog tab panel element. |
| - | eventDialogTabsContainer | Styles applied to the event dialog tabs container element. |
| - | eventDialogTitle | Styles applied to the event dialog title element. |
| - | eventDialogWeekDaySelectorCheckbox | Styles applied to the event dialog week day selector form group element. |
| - | eventDragPreview | Styles applied to the event drag preview element. |
| - | eventItemCard | Styles applied to event item card elements. |
| - | eventItemCardContent | Styles applied to event item card content elements. |
| - | eventItemCardWrapper | Styles applied to event item card wrapper elements. |
| - | eventItemLinesClamp | Styles applied to event item lines clamp elements. |
| - | eventItemRecurringIcon | Styles applied to event item recurring icon elements. |
| - | eventItemTime | Styles applied to event item time elements. |
| - | eventItemTitle | Styles applied to event item title elements. |
| - | eventSkeleton | Styles applied to the event skeleton element. |
| - | eventToolbar | Styles applied to the armed-event toolbar root element. |
| - | eventToolbarDeleteButton | Styles applied to the armed-event toolbar delete button element. |
| - | eventToolbarEditButton | Styles applied to the armed-event toolbar edit button element. |
| - | headerToolbar | Styles applied to the header toolbar element. |
| - | headerToolbarActions | Styles applied to the header toolbar actions element. |
| - | headerToolbarCompactMenuButton | Styles applied to the header toolbar compact menu button element (compact layout). |
| - | headerToolbarCompactTodayButton | Styles applied to the header toolbar compact today button element (compact layout). |
| - | headerToolbarDateNavigator | Styles applied to the header toolbar date navigator buttons container element. |
| - | headerToolbarLabel | Styles applied to the header toolbar label element. |
| - | headerToolbarNextButton | Styles applied to the header toolbar next button element. |
| - | headerToolbarPreviousButton | Styles applied to the header toolbar previous button element. |
| - | headerToolbarSidePanelToggle | Styles applied to the header toolbar side panel toggle button element. |
| - | headerToolbarStart | Styles applied to the header toolbar start side element. |
| - | headerToolbarTodayButton | Styles applied to the header toolbar today button element. |
| - | headerToolbarWeekNumber | Styles applied to the header toolbar week number element. |
| - | mainPanel | Styles applied to the main panel element. |
| - | miniCalendar | Styles applied to the mini calendar root element. |
| - | miniCalendarDayButton | Styles applied to mini calendar day buttons. |
| - | miniCalendarDayCell | Styles applied to mini calendar day cells. |
| - | miniCalendarGrid | Styles applied to the mini calendar grid (body). |
| - | miniCalendarHeader | Styles applied to the mini calendar header element. |
| - | miniCalendarMonthLabel | Styles applied to the mini calendar month label. |
| - | miniCalendarNavigation | Styles applied to the mini calendar header navigation container. |
| - | miniCalendarNextButton | Styles applied to the mini calendar next button element. |
| - | miniCalendarPreviousButton | Styles applied to the mini calendar previous button element. |
| - | miniCalendarWeekdayCell | Styles applied to individual mini calendar weekday header cells. |
| - | miniCalendarWeekdayHeader | Styles applied to the mini calendar weekday header row. |
| - | miniCalendarWeekRow | Styles applied to mini calendar week rows. |
| - | monthView | Styles applied to the month view root element. |
| - | monthViewBody | Styles applied to the month view body element. |
| - | monthViewCell | Styles applied to month view cell elements. |
| - | monthViewCellEvents | Styles applied to month view cell events container elements. |
| - | monthViewCellNumber | Styles applied to month view cell number elements. |
| - | monthViewCellNumberButton | Styles applied to month view cell number button elements. |
| - | monthViewGrid | Styles applied to the month view grid element. |
| - | monthViewHeader | Styles applied to the month view header element. |
| - | monthViewHeaderCell | Styles applied to month view header cell elements. |
| - | monthViewMoreEvents | Styles applied to month view more events button elements. |
| - | monthViewPlaceholderContainer | Styles applied to month view placeholder event container elements. |
| - | monthViewRow | Styles applied to month view row elements. |
| - | monthViewWeekHeaderCell | Styles applied to the month view week header cell element. |
| - | monthViewWeekNumberCell | Styles applied to month view week number cell elements. |
| - | moreEventsPopover | Styles applied to the more events popover element. |
| - | moreEventsPopoverBody | Styles applied to the more events popover body element. |
| - | moreEventsPopoverHeader | Styles applied to the more events popover header element. |
| - | moreEventsPopoverTitle | Styles applied to the more events popover title element. |
| - | preferencesMenu | Styles applied to the preferences menu element. |
| - | preferencesMenuButton | Styles applied to the preferences menu button element. |
| - | preferencesMenuDivider | Styles applied to the preferences menu divider elements. |
| - | preferencesMenuItem | Styles applied to the preferences menu item elements. |
| - | preferencesMenuList | Styles applied to the preferences menu list element. |
| - | preferencesMenuListItemIcon | Styles applied to the preferences menu list item icon elements. |
| - | preferencesMenuListItemText | Styles applied to the preferences menu list item text elements. |
| - | preferencesMenuListSubheader | Styles applied to the preferences menu list subheader elements. |
| - | resourceLegendColor | Styles applied to event item resource legend color elements. |
| - | resourcesTree | Styles applied to the resources tree root element. |
| - | resourcesTreeItem | Styles applied to resources tree item elements. |
| - | resourcesTreeItemCheckbox | Styles applied to resources tree item checkbox elements. |
| - | resourcesTreeItemLabel | Styles applied to resources tree item label elements. |
| - | resourcesTreeLabel | Styles applied to the resources tree section label element. |
| - | responsiveTypographyContainer | Styles applied to the element that hosts the responsive typography tokens. |
| - | root | Styles applied to the root element. |
| - | sidePanel | Styles applied to the side panel element. |
| - | sidePanelCollapse | Styles applied to the side panel collapse element. |
| - | sidePanelDivider | Styles applied to the side panel divider element. |
| - | sidePanelDrawer | Styles applied to the side panel drawer paper (popup) element (compact layout). |
| - | sidePanelDrawerBackdrop | Styles applied to the side panel drawer backdrop element. |
| - | sidePanelDrawerCloseButton | Styles applied to the side panel drawer close button element. |
| - | sidePanelDrawerHeader | Styles applied to the side panel drawer header element. |
| - | sidePanelDrawerPreferences | Styles applied to the side panel drawer preferences entry list element. |
| - | sidePanelDrawerPreferencesButton | Styles applied to the side panel drawer preferences button element. |
| - | sidePanelDrawerPreferencesList | Styles applied to the side panel drawer collapsible preferences options list element. |
| - | sidePanelDrawerTitle | Styles applied to the side panel drawer title element. |
| - | sidePanelDrawerViewItem | Styles applied to side panel drawer view list item elements. |
| - | sidePanelDrawerViewList | Styles applied to the side panel drawer view list element. |
| - | sidePanelDrawerViewport | Styles applied to the side panel drawer root (modal) element. |
| - | standaloneEvent | Styles applied to the standalone event element. |
| - | timeGridEvent | Styles applied to time grid event elements. |
| - | timeGridEventPlaceholder | Styles applied to time grid event placeholder elements. |
| - | timeGridEventRecurringIcon | Styles applied to time grid event recurring icon elements. |
| - | timeGridEventResizeHandler | Styles applied to time grid event resize handler elements. |
| - | timeGridEventSkeleton | Styles applied to time grid event skeleton elements. |
| - | timeGridEventTime | Styles applied to time grid event time elements. |
| - | timeGridEventTitle | Styles applied to time grid event title elements. |
| - | viewSwitcher | Styles applied to the view switcher element. |
| - | viewSwitcherButton | Styles applied to the view switcher button element. |
| - | viewSwitcherMenu | Styles applied to the view switcher menu element. |

## Source code

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

- [/packages/x-scheduler/src/event-calendar/EventCalendar.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-scheduler/src/event-calendar/EventCalendar.tsx)

# EventCalendarPremium API

## Demos

For examples and details on the usage of this React component, visit the component demo pages:

- [Scheduler - Event dialog](/x/react-scheduler/components/event-dialog/)
- [Event Calendar - Drag Interactions](/x/react-scheduler/event-calendar/drag-interactions/)
- [Event Calendar - Editing](/x/react-scheduler/event-calendar/editing/)
- [Event Calendar - Events](/x/react-scheduler/event-calendar/events/)
- Event Calendar - Lazy Loading Events
- [Event Calendar - Localization](/x/react-scheduler/event-calendar/localization/)
- [Event Calendar - Navigation](/x/react-scheduler/event-calendar/navigation/)
- [Event Calendar - Preferences](/x/react-scheduler/event-calendar/preferences/)
- [Event Calendar - Resources](/x/react-scheduler/event-calendar/resources/)
- [Event Calendar - Views](/x/react-scheduler/event-calendar/views/)

## Import

```jsx
import { EventCalendarPremium } from '@mui/x-scheduler-premium/event-calendar-premium';
// or
import { EventCalendarPremium } from '@mui/x-scheduler-premium';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| apiRef | `{ current?: { setVisibleDate?: func } }` | - | No |  |
| areEventsDraggable | `bool` | `true` | No |  |
| areEventsResizable | `'end' \| 'start' \| bool` | `true` | No |  |
| canDragEventsFromTheOutside | `bool` | `false` | No |  |
| canDropEventsToTheOutside | `bool` | `false` | No |  |
| classes | `object` | - | No | Override or extend the styles applied to the component. |
| collapsedResources | `object` | - | No |  |
| dataSource | `{ getEvents: func, persistEvents: func }` | - | No |  |
| dateLocale | `string` | `"en-US"` | No |  |
| defaultCollapsedResources | `object` | `{} - all resources are expanded` | No |  |
| defaultPreferences | `{ ampm?: bool, isSidePanelOpen?: bool, showEmptyDaysInAgenda?: bool, showWeekends?: bool, showWeekNumber?: bool, weekStartsOn?: 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 }` | `{ showWeekends: true, showWeekNumber: false, isSidePanelOpen: true, showEmptyDaysInAgenda: true }` | No |  |
| defaultView | `'agenda' \| 'day' \| 'month' \| 'week'` | `"week"` | No |  |
| defaultVisibleDate | `Date` | `today` | No |  |
| defaultVisibleResources | `object` | `{} - all resources are visible` | No |  |
| displayTimezone | `string` | `"default"` | No |  |
| eventColor | `'amber' \| 'blue' \| 'green' \| 'grey' \| 'indigo' \| 'lime' \| 'orange' \| 'pink' \| 'purple' \| 'red' \| 'teal'` | `"teal"` | No |  |
| eventCreation | `{ canHaveMultipleResources?: bool, duration?: number, interaction?: 'click' \| 'double-click' } \| bool` | - | No |  |
| eventDeletion | `{ confirmation?: bool } \| bool` | `true` | No |  |
| eventModelStructure | `object` | - | No |  |
| events | `Array<object>` | `[]` | No |  |
| features | `object` | - | No |  |
| localeText | `object` | - | No |  |
| onCollapsedResourcesChange | `func` | - | No |  |
| onEventEditingStart | `func` | - | No |  |
| onEventsChange | `func` | - | No |  |
| onPreferencesChange | `func` | - | No |  |
| onViewChange | `func` | - | No |  |
| onVisibleDateChange | `func` | - | No |  |
| onVisibleResourcesChange | `func` | - | No |  |
| preferences | `{ ampm?: bool, isSidePanelOpen?: bool, showEmptyDaysInAgenda?: bool, showWeekends?: bool, showWeekNumber?: bool, weekStartsOn?: 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 }` | - | No |  |
| preferencesMenuConfig | `false \| { toggleAmpm?: bool, toggleEmptyDaysInAgenda?: bool, toggleWeekendVisibility?: bool, toggleWeekNumberVisibility?: bool, toggleWeekStartsOn?: bool }` | `{ toggleWeekendVisibility: true, toggleWeekNumberVisibility: true, toggleAmpm: true, toggleEmptyDaysInAgenda: true, toggleWeekStartsOn: false }` | No |  |
| readOnly | `bool` | `false` | No |  |
| resourceModelStructure | `object` | - | No |  |
| resources | `Array<object>` | - | No |  |
| shouldEventRequireResource | `bool` | `false` | No |  |
| showCurrentTimeIndicator | `bool` | `true` | No |  |
| slotProps | `object` | `{}` | No |  |
| slots | `object` | `{}` | No |  |
| sx | `Array<func \| object \| bool> \| func \| object` | - | No | The system prop that allows defining system overrides as well as additional CSS styles. |
| view | `'agenda' \| 'day' \| 'month' \| 'week'` | - | No |  |
| viewConfig | `{ agenda?: { dayCount?: 'month' \| number }, day?: { endTime?: number, initialScrollTime?: number, startTime?: number, timeGridEvents?: 'same-day-only' \| 'shorter-than-one-day' }, week?: { endTime?: number, initialScrollTime?: number, startTime?: number, timeGridEvents?: 'same-day-only' \| 'shorter-than-one-day' } }` | - | No |  |
| views | `Array<'agenda' \| 'day' \| 'month' \| 'week'>` | `["day", "week", "month", "agenda"]` | No |  |
| visibleDate | `Date` | - | No |  |
| visibleResources | `object` | - | No |  |

> **Note**: The `ref` is forwarded to the root element (HTMLDivElement).

> Any other props supplied will be provided to the root element (native element).

## Theme default props

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

## Slots

| Name | Default | Class | Description |
|------|---------|-------|-------------|
| eventDialogGeneralTab | `EventDialogGeneralTabContent` | - | The content of the "General" tab of the event editing surface:
the dialog on regular views, the compact editing drawer on compact views.
It is rendered inside the tab panel, so it must not render a tab panel of its own.
Return a fragment rather than a wrapper element to keep the spacing between the sections. |

## CSS

### Rule name

| Global class | Rule name | Description |
|--------------|-----------|-------------|
| - | agendaView | Styles applied to the agenda view element. |
| - | agendaViewDayHeaderCell | Styles applied to agenda view day header cell elements. |
| - | agendaViewDayNumberCell | Styles applied to agenda view day number cell elements. |
| - | agendaViewEmptyState | Styles applied to the agenda view empty state element. |
| - | agendaViewEventListItem | Styles applied to the agenda view event list item elements. |
| - | agendaViewEventsList | Styles applied to the agenda view events list element. |
| - | agendaViewRow | Styles applied to agenda view row elements. |
| - | agendaViewWeekDayCell | Styles applied to agenda view week day cell elements. |
| - | agendaViewWeekDayNameLabel | Styles applied to agenda view week day name label elements. |
| - | agendaViewWeekNumberLabel | Styles applied to agenda view week number label elements. |
| - | agendaViewWeekNumberRow | Styles applied to agenda view week number row elements. |
| - | agendaViewYearAndMonthLabel | Styles applied to agenda view year and month label elements. |
| - | anchoredEventToolbar | Styles applied to the anchored (desktop) armed-event toolbar wrapper element. |
| - | compactDayTimeGrid | Styles applied to the compact (touch) day time grid root element. |
| - | compactDayTimeGridContent | Styles applied to the compact (touch) day time grid content element. |
| - | compactEventDrawer | Styles applied to the compact editing drawer root element. |
| - | compactEventDrawerContent | Styles applied to the compact editing drawer content element. |
| - | compactEventDrawerReadonlyHeader | Styles applied to the compact editing drawer read-only header element. |
| - | compactEventDrawerReadonlyTitle | Styles applied to the compact editing drawer read-only title element. |
| - | compactEventToolbarDock | Styles applied to the compact (touch) armed-event toolbar dock element. |
| - | content | Styles applied to the content section element. |
| - | dayGridEvent | Styles applied to day grid event elements. |
| - | dayGridEventCardContent | Styles applied to day grid event card content elements. |
| - | dayGridEventCardWrapper | Styles applied to day grid event card wrapper elements. |
| - | dayGridEventLinesClamp | Styles applied to day grid event lines clamp elements. |
| - | dayGridEventPlaceholder | Styles applied to day grid event placeholder elements. |
| - | dayGridEventRecurringIcon | Styles applied to day grid event recurring icon elements. |
| - | dayGridEventResizeHandler | Styles applied to day grid event resize handler elements. |
| - | dayGridEventTime | Styles applied to day grid event time elements. |
| - | dayGridEventTitle | Styles applied to day grid event title elements. |
| - | dayTimeGrid | Styles applied to the day time grid element. |
| - | dayTimeGridAllDayEventContainer | Styles applied to day time grid all day event container elements. |
| - | dayTimeGridAllDayEventsCell | Styles applied to day time grid all day events cell elements. |
| - | dayTimeGridAllDayEventsCellEvents | Styles applied to day time grid all day events cell events container elements. |
| - | dayTimeGridAllDayEventsGrid | Styles applied to the day time grid all day events grid element. |
| - | dayTimeGridAllDayEventsHeaderCell | Styles applied to the day time grid all day events header cell (visually hidden row label). |
| - | dayTimeGridAllDayEventsRow | Styles applied to the day time grid all day events row element. |
| - | dayTimeGridBody | Styles applied to the day time grid body element. |
| - | dayTimeGridColumn | Styles applied to day time grid column elements. |
| - | dayTimeGridColumnInteractiveLayer | Styles applied to day time grid column interactive layer elements. |
| - | dayTimeGridContainer | Styles applied to the day time grid container element. |
| - | dayTimeGridCurrentTimeIndicator | Styles applied to the day time grid current time indicator element. |
| - | dayTimeGridCurrentTimeIndicatorCircle | Styles applied to the day time grid current time indicator circle element. |
| - | dayTimeGridCurrentTimeLabel | Styles applied to the day time grid current time label element. |
| - | dayTimeGridGrid | Styles applied to the day time grid grid element. |
| - | dayTimeGridHeader | Styles applied to the day time grid header element. |
| - | dayTimeGridHeaderButton | Styles applied to day time grid header button elements. |
| - | dayTimeGridHeaderCell | Styles applied to day time grid header cell elements. |
| - | dayTimeGridHeaderContent | Styles applied to day time grid header content elements. |
| - | dayTimeGridHeaderDayName | Styles applied to day time grid header day name elements. |
| - | dayTimeGridHeaderDayNumber | Styles applied to day time grid header day number elements. |
| - | dayTimeGridScrollableContent | Styles applied to the day time grid scrollable content element. |
| - | dayTimeGridScrollablePlaceholder | Styles applied to the day time grid scrollable placeholder element. |
| - | dayTimeGridTimeAxis | Styles applied to the day time grid time axis element. |
| - | dayTimeGridTimeAxisCell | Styles applied to day time grid time axis cell elements. |
| - | dayTimeGridTimeAxisText | Styles applied to day time grid time axis text elements. |
| - | errorAlert | Styles applied to the error alert element. |
| - | errorContainer | Styles applied to the error container element. |
| - | errorMessage | Styles applied to the error message element. |
| - | eventColorIndicator | Styles applied to event color indicator elements. |
| - | eventContextMenu | Styles applied to the event context menu root element. |
| - | eventContextMenuDeleteItem | Styles applied to the event context menu delete item element. |
| - | eventContextMenuEditItem | Styles applied to the event context menu edit item element. |
| - | eventContextMenuShowDetailsItem | Styles applied to the event context menu show details item element (read-only events). |
| - | eventDialog | Styles applied to the event dialog root element. |
| - | eventDialogActions | Styles applied to the event dialog actions element. |
| - | eventDialogCloseAction | Styles applied to the event dialog close action button element. |
| - | eventDialogCloseButton | Styles applied to the event dialog close button element. |
| - | eventDialogContent | Styles applied to the event dialog content element. |
| - | eventDialogDateTimeContainer | Styles applied to the event dialog date time container element. |
| - | eventDialogDateTimeFieldsContainer | Styles applied to the event dialog date time fields container element. |
| - | eventDialogDateTimeFieldsRow | Styles applied to the event dialog date time fields row element. |
| - | eventDialogDateTimeIcon | Styles applied to the event dialog date time icon element. |
| - | eventDialogDateTimeLabel | Styles applied to the event dialog date time label element. |
| - | eventDialogDeleteButton | Styles applied to the event dialog delete button element. |
| - | eventDialogDescriptionLabel | Styles applied to the event dialog description label element. |
| - | eventDialogEndsRadioGroup | Styles applied to the event dialog ends radio group element. |
| - | eventDialogForm | Styles applied to the event dialog form element. |
| - | eventDialogFormActions | Styles applied to the event dialog form actions element. |
| - | eventDialogFormDivider | Styles applied to the event dialog form divider element. |
| - | eventDialogFrequencySelect | Styles applied to the event dialog frequency select element. |
| - | eventDialogHeader | Styles applied to the event dialog header element. |
| - | eventDialogHeaderActions | Styles applied to the event dialog header actions container element. |
| - | eventDialogInlineRow | Styles applied to the event dialog inline row element. |
| - | eventDialogPaper | Styles applied to the event dialog paper element. |
| - | eventDialogRadioButtonLabel | Styles applied to the event dialog radio button label element. |
| - | eventDialogReadonlyContent | Styles applied to the event dialog readonly content element. |
| - | eventDialogRecurrenceIcon | Styles applied to the event dialog recurrence icon element. |
| - | eventDialogRecurrenceLabel | Styles applied to the event dialog recurrence label element. |
| - | eventDialogRecurrenceLabelContainer | Styles applied to the event dialog recurrence label container element in the readonly content. |
| - | eventDialogRecurrenceSelectorContainer | Styles applied to the event dialog recurrence selector container element. |
| - | eventDialogRecurrenceSelectorToggleGroup | Styles applied to the event dialog recurrence selector toggle group element. |
| - | eventDialogRecurrenceTimezoneLabel | Styles applied to the recurrence timezone note and label suffix elements. |
| - | eventDialogRepeatSectionContent | Styles applied to the event dialog repeat section content element. |
| - | eventDialogRepeatSectionFieldset | Styles applied to the event dialog repeat section fieldset element. |
| - | eventDialogRepeatSectionLabel | Styles applied to the event dialog repeat section label element. |
| - | eventDialogResourceContainer | Styles applied to the event dialog resource container element. |
| - | eventDialogResourceLegendColor | Styles applied to the event dialog resource legend color element. |
| - | eventDialogResourceLegendContainer | Styles applied to the event dialog resource legend container element. |
| - | eventDialogResourceMenuColorDot | Styles applied to the event dialog resource menu color dot element. |
| - | eventDialogResourceMenuColorToggle | Styles applied to the event dialog resource menu color toggle element. |
| - | eventDialogResourceMenuColorToggleGroup | Styles applied to the event dialog resource menu color toggle group element. |
| - | eventDialogResourceMenuItem | Styles applied to the event dialog resource menu item element. |
| - | eventDialogResourceMenuListSubheader | Styles applied to the event dialog resource menu list subheader element. |
| - | eventDialogResourceTitle | Styles applied to the event dialog resource title element. |
| - | eventDialogSaveButton | Styles applied to the event dialog save button element. |
| - | eventDialogSectionFieldset | Styles applied to the event dialog section fieldset element. |
| - | eventDialogSectionHeaderTitle | Styles applied to the event dialog section header title element. |
| - | eventDialogSmallNumberField | Styles applied to the event dialog small number field element. |
| - | eventDialogTab | Styles applied to the event dialog tab elements. |
| - | eventDialogTabContent | Styles applied to the event dialog tab content element. |
| - | eventDialogTabPanel | Styles applied to the event dialog tab panel element. |
| - | eventDialogTabsContainer | Styles applied to the event dialog tabs container element. |
| - | eventDialogTitle | Styles applied to the event dialog title element. |
| - | eventDialogWeekDaySelectorCheckbox | Styles applied to the event dialog week day selector form group element. |
| - | eventDragPreview | Styles applied to the event drag preview element. |
| - | eventItemCard | Styles applied to event item card elements. |
| - | eventItemCardContent | Styles applied to event item card content elements. |
| - | eventItemCardWrapper | Styles applied to event item card wrapper elements. |
| - | eventItemLinesClamp | Styles applied to event item lines clamp elements. |
| - | eventItemRecurringIcon | Styles applied to event item recurring icon elements. |
| - | eventItemTime | Styles applied to event item time elements. |
| - | eventItemTitle | Styles applied to event item title elements. |
| - | eventSkeleton | Styles applied to the event skeleton element. |
| - | eventToolbar | Styles applied to the armed-event toolbar root element. |
| - | eventToolbarDeleteButton | Styles applied to the armed-event toolbar delete button element. |
| - | eventToolbarEditButton | Styles applied to the armed-event toolbar edit button element. |
| - | headerToolbar | Styles applied to the header toolbar element. |
| - | headerToolbarActions | Styles applied to the header toolbar actions element. |
| - | headerToolbarCompactMenuButton | Styles applied to the header toolbar compact menu button element (compact layout). |
| - | headerToolbarCompactTodayButton | Styles applied to the header toolbar compact today button element (compact layout). |
| - | headerToolbarDateNavigator | Styles applied to the header toolbar date navigator buttons container element. |
| - | headerToolbarLabel | Styles applied to the header toolbar label element. |
| - | headerToolbarNextButton | Styles applied to the header toolbar next button element. |
| - | headerToolbarPreviousButton | Styles applied to the header toolbar previous button element. |
| - | headerToolbarSidePanelToggle | Styles applied to the header toolbar side panel toggle button element. |
| - | headerToolbarStart | Styles applied to the header toolbar start side element. |
| - | headerToolbarTodayButton | Styles applied to the header toolbar today button element. |
| - | headerToolbarWeekNumber | Styles applied to the header toolbar week number element. |
| - | mainPanel | Styles applied to the main panel element. |
| - | miniCalendar | Styles applied to the mini calendar root element. |
| - | miniCalendarDayButton | Styles applied to mini calendar day buttons. |
| - | miniCalendarDayCell | Styles applied to mini calendar day cells. |
| - | miniCalendarGrid | Styles applied to the mini calendar grid (body). |
| - | miniCalendarHeader | Styles applied to the mini calendar header element. |
| - | miniCalendarMonthLabel | Styles applied to the mini calendar month label. |
| - | miniCalendarNavigation | Styles applied to the mini calendar header navigation container. |
| - | miniCalendarNextButton | Styles applied to the mini calendar next button element. |
| - | miniCalendarPreviousButton | Styles applied to the mini calendar previous button element. |
| - | miniCalendarWeekdayCell | Styles applied to individual mini calendar weekday header cells. |
| - | miniCalendarWeekdayHeader | Styles applied to the mini calendar weekday header row. |
| - | miniCalendarWeekRow | Styles applied to mini calendar week rows. |
| - | monthView | Styles applied to the month view root element. |
| - | monthViewBody | Styles applied to the month view body element. |
| - | monthViewCell | Styles applied to month view cell elements. |
| - | monthViewCellEvents | Styles applied to month view cell events container elements. |
| - | monthViewCellNumber | Styles applied to month view cell number elements. |
| - | monthViewCellNumberButton | Styles applied to month view cell number button elements. |
| - | monthViewGrid | Styles applied to the month view grid element. |
| - | monthViewHeader | Styles applied to the month view header element. |
| - | monthViewHeaderCell | Styles applied to month view header cell elements. |
| - | monthViewMoreEvents | Styles applied to month view more events button elements. |
| - | monthViewPlaceholderContainer | Styles applied to month view placeholder event container elements. |
| - | monthViewRow | Styles applied to month view row elements. |
| - | monthViewWeekHeaderCell | Styles applied to the month view week header cell element. |
| - | monthViewWeekNumberCell | Styles applied to month view week number cell elements. |
| - | moreEventsPopover | Styles applied to the more events popover element. |
| - | moreEventsPopoverBody | Styles applied to the more events popover body element. |
| - | moreEventsPopoverHeader | Styles applied to the more events popover header element. |
| - | moreEventsPopoverTitle | Styles applied to the more events popover title element. |
| - | preferencesMenu | Styles applied to the preferences menu element. |
| - | preferencesMenuButton | Styles applied to the preferences menu button element. |
| - | preferencesMenuDivider | Styles applied to the preferences menu divider elements. |
| - | preferencesMenuItem | Styles applied to the preferences menu item elements. |
| - | preferencesMenuList | Styles applied to the preferences menu list element. |
| - | preferencesMenuListItemIcon | Styles applied to the preferences menu list item icon elements. |
| - | preferencesMenuListItemText | Styles applied to the preferences menu list item text elements. |
| - | preferencesMenuListSubheader | Styles applied to the preferences menu list subheader elements. |
| - | resourceLegendColor | Styles applied to event item resource legend color elements. |
| - | resourcesTree | Styles applied to the resources tree root element. |
| - | resourcesTreeItem | Styles applied to resources tree item elements. |
| - | resourcesTreeItemCheckbox | Styles applied to resources tree item checkbox elements. |
| - | resourcesTreeItemLabel | Styles applied to resources tree item label elements. |
| - | resourcesTreeLabel | Styles applied to the resources tree section label element. |
| - | responsiveTypographyContainer | Styles applied to the element that hosts the responsive typography tokens. |
| - | root | Styles applied to the root element. |
| - | sidePanel | Styles applied to the side panel element. |
| - | sidePanelCollapse | Styles applied to the side panel collapse element. |
| - | sidePanelDivider | Styles applied to the side panel divider element. |
| - | sidePanelDrawer | Styles applied to the side panel drawer paper (popup) element (compact layout). |
| - | sidePanelDrawerBackdrop | Styles applied to the side panel drawer backdrop element. |
| - | sidePanelDrawerCloseButton | Styles applied to the side panel drawer close button element. |
| - | sidePanelDrawerHeader | Styles applied to the side panel drawer header element. |
| - | sidePanelDrawerPreferences | Styles applied to the side panel drawer preferences entry list element. |
| - | sidePanelDrawerPreferencesButton | Styles applied to the side panel drawer preferences button element. |
| - | sidePanelDrawerPreferencesList | Styles applied to the side panel drawer collapsible preferences options list element. |
| - | sidePanelDrawerTitle | Styles applied to the side panel drawer title element. |
| - | sidePanelDrawerViewItem | Styles applied to side panel drawer view list item elements. |
| - | sidePanelDrawerViewList | Styles applied to the side panel drawer view list element. |
| - | sidePanelDrawerViewport | Styles applied to the side panel drawer root (modal) element. |
| - | standaloneEvent | Styles applied to the standalone event element. |
| - | timeGridEvent | Styles applied to time grid event elements. |
| - | timeGridEventPlaceholder | Styles applied to time grid event placeholder elements. |
| - | timeGridEventRecurringIcon | Styles applied to time grid event recurring icon elements. |
| - | timeGridEventResizeHandler | Styles applied to time grid event resize handler elements. |
| - | timeGridEventSkeleton | Styles applied to time grid event skeleton elements. |
| - | timeGridEventTime | Styles applied to time grid event time elements. |
| - | timeGridEventTitle | Styles applied to time grid event title elements. |
| - | viewSwitcher | Styles applied to the view switcher element. |
| - | viewSwitcherButton | Styles applied to the view switcher button element. |
| - | viewSwitcherMenu | Styles applied to the view switcher menu element. |

## Source code

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

- [/packages/x-scheduler-premium/src/event-calendar-premium/EventCalendarPremium.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-scheduler-premium/src/event-calendar-premium/EventCalendarPremium.tsx)

# StandaloneEvent API

## Demos

For examples and details on the usage of this React component, visit the component demo pages:

- [Event Calendar - Drag Interactions](/x/react-scheduler/event-calendar/drag-interactions/)

## Import

```jsx
import { StandaloneEvent } from '@mui/x-scheduler/standalone-event';
// or
import { StandaloneEvent } from '@mui/x-scheduler';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| data | `{ allDay?: bool, className?: string, color?: 'amber' \| 'blue' \| 'green' \| 'grey' \| 'indigo' \| 'lime' \| 'orange' \| 'pink' \| 'purple' \| 'red' \| 'teal', description?: string, draggable?: bool, duration?: number, exDates?: Array<string>, extractedFromId?: number \| string, id: number \| string, readOnly?: bool, resizable?: 'end' \| 'start' \| bool, resource?: Array<string> \| string, rrule?: { byDay?: Array<'-1FR' \| '-1MO' \| '-1SA' \| '-1SU' \| '-1TH' \| '-1TU' \| '-1WE' \| '-2FR' \| '-2MO' \| '-2SA' \| '-2SU' \| '-2TH' \| '-2TU' \| '-2WE' \| '-3FR' \| '-3MO' \| '-3SA' \| '-3SU' \| '-3TH' \| '-3TU' \| '-3WE' \| '-4FR' \| '-4MO' \| '-4SA' \| '-4SU' \| '-4TH' \| '-4TU' \| '-4WE' \| '-5FR' \| '-5MO' \| '-5SA' \| '-5SU' \| '-5TH' \| '-5TU' \| '-5WE' \| '1FR' \| '1MO' \| '1SA' \| '1SU' \| '1TH' \| '1TU' \| '1WE' \| '2FR' \| '2MO' \| '2SA' \| '2SU' \| '2TH' \| '2TU' \| '2WE' \| '3FR' \| '3MO' \| '3SA' \| '3SU' \| '3TH' \| '3TU' \| '3WE' \| '4FR' \| '4MO' \| '4SA' \| '4SU' \| '4TH' \| '4TU' \| '4WE' \| '5FR' \| '5MO' \| '5SA' \| '5SU' \| '5TH' \| '5TU' \| '5WE' \| 'FR' \| 'MO' \| 'SA' \| 'SU' \| 'TH' \| 'TU' \| 'WE'>, byMonth?: Array<number>, byMonthDay?: Array<number>, count?: number, freq: 'DAILY' \| 'MONTHLY' \| 'WEEKLY' \| 'YEARLY', interval?: number, until?: string } \| string, timezone?: string, title: string }` | - | Yes |  |
| onEventDrop | `func` | - | No |  |
| sx | `Array<func \| object \| bool> \| func \| object` | - | No | The system prop that allows defining system overrides as well as additional CSS styles. |

> **Note**: The `ref` is forwarded to the root element (HTMLDivElement).

> Any other props supplied will be provided to the root element (native element).

## Source code

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

- [/packages/x-scheduler/src/standalone-event/StandaloneEvent.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-scheduler/src/standalone-event/StandaloneEvent.tsx)