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

Chat PromptBox Adornments

Updated on Sep 11, 2026

The Kendo UI for jQuery Chat allows you to customize the PromptBox area with adornments. You can place additional UI elements before the input, after the input, or above the input, and combine them with built-in features such as file attachments and speech-to-text.

Overview

You can configure the following PromptBox adornment template options:

Configuring Start and End Adornments

The example below adds custom action buttons in the start and end PromptBox regions:

Example
View Source
<div id="chat"></div>

<script>
    $("#chat").kendoChat({
        authorId: "user",
        messageBox: {
            mode: "single",
            startAffixTemplate: () => '<button class="k-button k-button-flat k-button-sm" type="button">Source</button>',
            endAffixTemplate: () => '<button class="k-button k-button-flat k-button-sm" type="button">Settings</button>'
        },
        dataSource: {
            data: [
                {
                    id: 1,
                    authorId: "assistant",
                    authorName: "Assistant",
                    text: "Hello! Use the PromptBox adornments to trigger custom actions.",
                    timestamp: new Date()
                }
            ]
        }
    });
</script>

Adding a Top Adornment

Use topAffixTemplate to render additional controls such as model selectors or context pickers above the input:

Example
View Source
<div id="chat"></div>

<script>
    $("#chat").kendoChat({
        authorId: "user",
        messageBox: {
            mode: "multi",
            rows: 3,
            topAffixTemplate: () => '<div class="chat-model-affix"><select id="model"></select></div>'
        }
    });

    $("#model").kendoDropDownList({
        dataSource: ["GPT-4o", "GPT-4o mini", "Claude 3.5 Haiku"],
        value: "GPT-4o"
    });
</script>

Next Steps