messageToolbarActions.iconString

Defines the icon class for the toolbar action.

Example

<div id="chat"></div>
<script>
let messagesData = [
    {
        id: 1,
        text: "This message has a custom toolbar with an edit icon. Hover over the message to see it.",
        authorId: "user1",
        authorName: "John Doe",
        authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",
        timestamp: new Date(2026, 0, 1, 9, 0)
    },
    {
        id: 2,
        text: "The pencil icon makes it clear what the action does.",
        authorId: "user2",
        authorName: "Jane Smith",
        authorImageUrl: "https://demos.telerik.com/kendo-ui/content/web/Customers/LONEP.jpg",
        timestamp: new Date(2026, 0, 1, 9, 5)
    }
];

$("#chat").kendoChat({
    messageToolbarActions: [
        { name: "edit", icon: "pencil" }
    ],
    authorId: "user1",
    dataSource: messagesData
});
</script>
In this article
messageToolbarActions.icon
Not finding the help you need?
Contact Support