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

Defines the name for an existing icon in a Kendo UI theme or SVG content that is used for the action button.

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.

Default: ""

<div id="tabstrip"></div>
<script>
    $("#tabstrip").kendoTabStrip({
        dataTextField: "text",
        dataContentField: "content",
        dataSource: [
          {
            text: "Tab with actions",
            content: "Tab content",
            actions: [
              {
                icon: "pencil",
                action: function(e) {
                  console.log("Edit tab", e);
                }
              }
            ]
          }
        ]
    });
</script>

The name of the SVG icon.

<div id="tabstrip"></div>
<script>
    $("#tabstrip").kendoTabStrip({
        dataTextField: "text",
        dataContentField: "content",
        dataSource: [
          {
            text: "Tab with actions",
            content: "Tab content",
            actions: [
              {
                icon: {
                    name: "pencil"
                },
                action: function(e) {
                  console.log("Edit tab", e);
                }
              }
            ]
          }
        ]
    });
</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",
        dataSource: [
          {
            text: "Tab with actions",
            content: "Tab content",
            actions: [
              {
                icon: {
                    name: "pencil",
                    variant: "outline"
                },
                action: function(e) {
                  console.log("Edit tab", e);
                }
              }
            ]
          }
        ]
    });
</script>