New to Kendo UI for Vue? Start a free 30-day trial

Slot Templates

Updated on Nov 12, 2026

With the Kendo UI for Vue Scheduler, you can customize the slot templates in a way that best fits your requirements.

The slots are the cells inside the Scheduler above which the events are displayed. The slots can be separated into the following types:

  • AllDay slots - the cells in the Scheduler inside which the "AllDay" events are rendered.
  • WorkDay slots - the cells in the Scheduler that display the "Work Days" inside the component.
  • Workhour slots - the Scheduler cells that display the "Work hours" inside the component.

Using the slotRender property of the Scheduler we can control the look and content of each slot cell. Below you will find examples about the following scenarios:

Custom slot colors

The below example demonstrates how the colors of the slots can be customized using the slotRender property of the Scheduler. The example highlights the slots of the lunch hour.

Example
View Source
Loading ...

The way we control the colors of the different slots is by dynamically setting the background-color of each cell. The color we set depends on the values of the props.isAllDay and props.start variables available in the template passed to the slotRender property.

jsx
<template #slotRender="{ props }">
  <SchedulerSlot
    v-bind="props"
    :style="{
      'background-color':
        !props.isAllDay && props.start.getHours() === 12
          ? '#D33F001F' // Highlight the lunch hour slots
          : undefined,
    }"
    @showmoreitems="props.onShowmoreitems"
  >
  </SchedulerSlot>
</template>

Custom Month slots

The below example demonstrates how we can edit the content of the Month view slots.

Example
View Source
Loading ...

The slot template passed to the slotRender property in the above example is defined as follows:

jsx
<template #slotRender="{ props }">
  <SchedulerSlot
    v-bind="props"
    :nav-day="false"
    @showmoreitems="props.onShowmoreitems"
  >
    <span
      :style="{
        'font-weight': 'bold',
      }"
      >{{ formattedDate(props.start) }}</span
    >
  </SchedulerSlot>
</template>

The important thing in the above template is the usage of the navDay SchedulerSlot property. By setting its value to false the default content in the slot is removed and we can add our custom data to it.

Custom Time slots

The below example demonstrates how we can edit the Time slots in the Day, Week and Timeline views.

Example
View Source
Loading ...