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

OutputActions.icon

configuration

The icon name for the action button. Uses Kendo UI icon names.

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.

outputActions.icon

String|Object
<div id="aiprompt"></div>
<script>
$("#aiprompt").kendoAIPrompt({
    outputActions: [
        { command: "bookmark", text: "Bookmark", icon: "star" },
        { command: "share", text: "Share", icon: "share" }
    ]
});
</script>

The name of the SVG icon.

<div id="aiprompt"></div>
<script>
$("#aiprompt").kendoAIPrompt({
    outputActions: [
        { command: "bookmark", text: "Bookmark", icon: { name: "star" } },
        { command: "share", text: "Share", icon: { name: "share" } }
    ]
});
</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({
    outputActions: [
        { command: "bookmark", text: "Bookmark", icon: { name: "star", variant: "outline" } },
        { command: "share", text: "Share", icon: { name: "share", variant: "outline" } }
    ]
});
</script>