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

Items.icon

configuration

Defines the icon to be rendered.

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
<nav id="breadcrumb"></nav>

<script>
    $("#breadcrumb").kendoBreadcrumb({
		items: [
			{ type: "rootitem", icon: "home", showIcon: true, showText: false },
			{ type: "item", icon: "folder", text: "Documents", showIcon: true },
			{ type: "item", icon: "file", text: "readme.txt", showIcon: true }
		]
	});
</script>

The name of the SVG icon.

<nav id="breadcrumb"></nav>

<script>
    $("#breadcrumb").kendoBreadcrumb({
		items: [
			{ type: "rootitem", icon: { name: "home" }, showIcon: true, showText: false },
			{ type: "item", icon: { name: "folder" }, text: "Documents", showIcon: true },
			{ type: "item", icon: { name: "file" }, text: "readme.txt", showIcon: true }
		]
	});
</script>

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

<nav id="breadcrumb"></nav>

<script>
    $("#breadcrumb").kendoBreadcrumb({
		items: [
			{ type: "rootitem", icon: { name: "home", variant: "outline" }, showIcon: true, showText: false },
			{ type: "item", icon: { name: "folder", variant: "outline" }, text: "Documents", showIcon: true },
			{ type: "item", icon: { name: "file", variant: "outline" }, text: "readme.txt", showIcon: true }
		]
	});
</script>