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="dropdownbutton" type="button">Tools</button>
<script>
    $("#dropdownbutton").kendoDropDownButton({
        items: [
            { text: "Settings", icon: "gear" },
            { text: "Save", icon: "save" },
            { text: "Print", icon: "print" },
            { text: "Email", icon: "email" }
        ]
    });
</script>

The name of the SVG icon.

<button id="dropdownbutton" type="button">Tools</button>
<script>
    $("#dropdownbutton").kendoDropDownButton({
        items: [
            { text: "Settings", icon: { name: "gear" } },
            { text: "Save", icon: { name: "save" } },
            { text: "Print", icon: { name: "print" } },
            { text: "Email", icon: { name: "email" } }
        ]
    });
</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="dropdownbutton" type="button">Tools</button>
<script>
    $("#dropdownbutton").kendoDropDownButton({
        items: [
            { text: "Settings", icon: { name: "gear", variant: "outline" } },
            { text: "Save", icon: { name: "save", variant: "outline" } },
            { text: "Print", icon: { name: "print", variant: "outline" } },
            { text: "Email", icon: { name: "email", variant: "outline" } }
        ]
    });
</script>