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

Items.icon

configuration

Specifies the icon of the 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.

items.icon

String|Object
<button id="splitButton">Command</button>
<script>
    $("#splitButton").kendoSplitButton({
        items: [
            { text: "Save", icon: "save" },
            { text: "Download", icon: "download" },
            { text: "Print", icon: "print" }
        ]
    });
</script>

The name of the SVG icon.

<button id="splitButton">Command</button>
<script>
    $("#splitButton").kendoSplitButton({
        items: [
            { text: "Save", icon: { name: "save" } },
            { text: "Download", icon: { name: "download" } },
            { text: "Print", icon: { name: "print" } }
        ]
    });
</script>

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

<button id="splitButton">Command</button>
<script>
    $("#splitButton").kendoSplitButton({
        items: [
            { text: "Save", icon: { name: "save", variant: "outline" } },
            { text: "Download", icon: { name: "download", variant: "outline" } },
            { text: "Print", icon: { name: "print", variant: "outline" } }
        ]
    });
</script>