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

Items.icon

configuration

Specifies the name for an existing icon in a Kendo UI theme that is rendered in the speed-dial item.

See the Web Font Icons help article for more details on Kendo UI icons.

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="fab-items"></button>

<script>
    $('#fab-items').kendoFloatingActionButton({
        align: 'top start',
        icon: 'home',
        items: [{
            icon: 'download',
/* The result can be observed in the DevTools(F12) console of the browser. */
            click: function() { console.log('download action'); }
        }]
    });
</script>

The name of the SVG icon.

<button id="fab-items"></button>

<script>
    $('#fab-items').kendoFloatingActionButton({
        align: 'top start',
        icon: 'home',
        items: [{
            icon: 'download',
/* The result can be observed in the DevTools(F12) console of the browser. */
            click: function() { console.log('download action'); }
        }]
    });
</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="fab-items"></button>

<script>
    $('#fab-items').kendoFloatingActionButton({
        align: 'top start',
        icon: 'home',
        items: [{
            icon: 'download',
/* The result can be observed in the DevTools(F12) console of the browser. */
            click: function() { console.log('download action'); }
        }]
    });
</script>