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

Items

configuration

Array of items to be rendered in Breadcrumb.

items

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

<script>
    $("#breadcrumb").kendoBreadcrumb({
		items: [
			{ type:"rootitem", href: "mysite.com", text: "Home", showIcon: false, showText: true },
			{ type:"item", href: "/cloud", text: "Cloud", icon: "cloud", showText: false, showIcon: true }
		]
	});
</script>

Defines whether to encode the item's text. To render entities or HTML, set it to false.

Default: true

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

<script>
    $("#breadcrumb").kendoBreadcrumb({
		items: [
			{ type:"rootitem", text: "Home", showText: true },
			{ type:"item", text: "&lt;strong&gt;HTML Content&lt;/strong&gt;", encoded: false },
			{ type:"item", text: "Regular Text", encoded: true }
		]
	});
</script>

Defines the navigation link's url of the item (rendered if navigational is true).

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

<script>
    $("#breadcrumb").kendoBreadcrumb({
		navigational: true,
		items: [
			{ type: "rootitem", href: "/", text: "Home", showText: true },
			{ type: "item", href: "/products", text: "Products" },
			{ type: "item", href: "/products/laptops", text: "Laptops" }
		]
	});
</script>

Defines the icon to be rendered.

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

Defines the icon classes (the span element).

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

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

Defines the item classes (the li element).

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

<script>
    $("#breadcrumb").kendoBreadcrumb({
		items: [
			{ type: "rootitem", text: "Home", itemClass: "custom-root-item", showText: true },
			{ type: "item", text: "Products", itemClass: "custom-nav-item" },
			{ type: "item", text: "Laptops", itemClass: "custom-nav-item highlighted" }
		]
	});
</script>

Defines the link classes (the a element).

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

<script>
    $("#breadcrumb").kendoBreadcrumb({
		navigational: true,
		items: [
			{ type: "rootitem", href: "/", text: "Home", linkClass: "custom-root-link", showText: true },
			{ type: "item", href: "/products", text: "Products", linkClass: "custom-nav-link" },
			{ type: "item", href: "/products/laptops", text: "Laptops", linkClass: "custom-nav-link active" }
		]
	});
</script>

Defines whether to show the icon. Default value is true for rootItem and false for item.

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

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

Defines whether to show the text. Default value is false for rootItem and true for item.

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

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

Defines the text of the item.

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

<script>
    $("#breadcrumb").kendoBreadcrumb({
		items: [
			{ type: "rootitem", text: "Dashboard", showText: true },
			{ type: "item", text: "User Management" },
			{ type: "item", text: "Edit Profile" }
		]
	});
</script>

Defines the type of the item "rootitem" or "item".

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

<script>
    $("#breadcrumb").kendoBreadcrumb({
		items: [
			{ type: "rootitem", text: "Home", showText: true },
			{ type: "item", text: "Products" },
			{ type: "item", text: "Laptops" }
		]
	});
</script>