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

DataSource.icon

configuration

Тhe name for an existing icon in a Kendo UI theme or SVG content. The icon is rendered inside the tab element.

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

dataSource.icon

String|Object

Default: ""

<div id="tabstrip"></div>
<script>
    $("#tabstrip").kendoTabStrip({
        dataTextField: "text",
        dataContentField: "content",
        dataIconField: "icon",
        dataSource: [
          { text: "Home", icon: "home", content: "Home content" },
          { text: "Settings", icon: "gear", content: "Settings content" }
        ]
    });
</script>

The name of the SVG icon.

<div id="tabstrip"></div>
<script>
    $("#tabstrip").kendoTabStrip({
        dataTextField: "text",
        dataContentField: "content",
        dataIconField: "icon",
        dataSource: [
          { text: "Home", icon: { name: "home" }, content: "Home content" },
          { text: "Settings", icon: { name: "gear" }, content: "Settings content" }
        ]
    });
</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="tabstrip"></div>
<script>
    $("#tabstrip").kendoTabStrip({
        dataTextField: "text",
        dataContentField: "content",
        dataIconField: "icon",
        dataSource: [
          { text: "Home", icon: { name: "home", variant: "outline" }, content: "Home content" },
          { text: "Settings", icon: { name: "gear", variant: "outline" }, content: "Settings content" }
        ]
    });
</script>