# Custom Slot Width

The KendoReact Gantt component can have customized slot width. To achieve that, set the `slotWidth` to the new slot width value in pixels.

The following example demonstrates how to configure the `slotWidth` property to change the width of the timeline slots.

[Demo Source](https://demos.telerik.com/kendo-react-ui/gantt/slots/width/func/source.txt)

# Custom Slot Duration in DayView

The KendoReact Gantt allows slot duration customization in DayView. To set the new time, set the `slotDuration` to the time interval in minutes.

The following example demonstrates how to configure the `slotDuration` property to set a custom time interval for slots in the Day view.

[Demo Source](https://demos.telerik.com/kendo-react-ui/gantt/slots/duration/func/source.txt)

## Suggested Links

* [React Gantt](https://www.telerik.com/kendo-react-ui/components/gantt)
* [API Reference of the KendoReact Gantt](https://www.telerik.com/kendo-react-ui/components/gantt/api/gantt)
* [API Reference of the KendoReact GanttProps](https://www.telerik.com/kendo-react-ui/components/gantt/api/ganttprops)
