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

ToolbarItems.icon

configuration

The icon name of the toolbar item.

Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

toolbarItems.icon

String|Object
<div id="aiprompt"></div>
<script>
$("#aiprompt").kendoAIPrompt({
    toolbarItems: [
        { type: "button", icon: "save", text: "Save" }
    ]
});
</script>

The name of the SVG icon.

<div id="aiprompt"></div>
<script>
$("#aiprompt").kendoAIPrompt({
    toolbarItems: [
        { type: "button", icon: { name: "save" }, text: "Save" }
    ]
});
</script>

The SVG icon variant. Supported values are outline, solid, and duotone. The variant applies to SVG rendering and is ignored for font icons.

<div id="aiprompt"></div>
<script>
$("#aiprompt").kendoAIPrompt({
    toolbarItems: [
        { type: "button", icon: { name: "save", variant: "outline" }, text: "Save" }
    ]
});
</script>