headerItemsArray

Defines the collection of items that will be rendered in the Chat header. Each item represents a component or content that appears in the header area above the message list. The items follow the same structure as AppBar items.

Example

<div id="chat"></div>
<script>
let messagesData = [
    {
        id: 1,
        text: "Welcome to our chat!",
        authorId: "user1",
        authorName: "Support",
        authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",
        timestamp: new Date(2026, 0, 1, 9, 0)
    }
];

$("#chat").kendoChat({
    headerItems: [
        {
            type: "contentItem",
            template: () => "<strong>Customer Support Chat</strong>"
        },
        {
            type: "spacer"
        },
        {
            type: "contentItem",
            template: () => "<button>Button</button>"
        }
    ],
    authorId: "user2",
    dataSource: messagesData
});
</script>
In this article
headerItems
Not finding the help you need?
Contact Support