---
title: TreeViewItem API
description: "API Index | TreeViewItem"
api_reference: true
slug: api_treeviewitemcomponent_wrapper
---

# TreeViewItem

## Directive

`kendo-treeview-item`

## Parent Components

* [`kendo-treeview`]({% slug api_treeviewcomponent_wrapper %})

## Child Components

You can nest `kendo-treeview-item` components instead of binding the `items` prop to an array of items.

## Props

### text `String`

The text of the item.

### css-class `String`

Adds a custom CSS class to the item.

### url `String`

Links a URL if navigation is needed.

### encoded `Boolean`

Allows the use of HTML for the item text.

### content `String`

The content within an item.

### content-url `Object`

The URL from which the content will be fetched.

### image-url `String`

The URL of the item image.

### items `Array`

A collection of sub-items.

### expanded `Boolean`

Defines whether the item will be expanded or not.

### sprite-css-class `String`

The sprite CSS class of the item image.

## Suggested Links

* [`dataSource` in Kendo UI TreeView for jQuery](https://docs.telerik.com/kendo-ui/api/javascript/ui/treeview/configuration/datasource)
