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

Icon

configuration

Defines the name for an existing icon in a Kendo UI theme. The icon is rendered inside the badge by a span.k-icon element.

See 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.

icon

String|Object

Default: ''

<span id="badge"></span>
<script>
    $('#badge').kendoBadge({
        icon: 'plus',
        themeColor: 'primary'
    });
</script>

icon.name

String

The name of the SVG icon.

<span id="badge"></span>
<script>
    $('#badge').kendoBadge({
        icon: 'plus',
        themeColor: 'primary'
    });
</script>

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

<span id="badge"></span>
<script>
    $('#badge').kendoBadge({
        icon: 'plus',
        themeColor: 'primary'
    });
</script>
In this article
iconicon.nameicon.variant
Not finding the help you need?
Contact Support