# SplitButton Data Binding

The SplitButton enables you to bind its popup to an array of strings or an array of objects through the [`items`](https://www.telerik.com/kendo-react-ui/components/buttons/api/splitbuttonprops#items) prop. Alternatively, you can populate the popup with [`SplitButtonItem`](https://www.telerik.com/kendo-react-ui/components/buttons/api/splitbuttonitemprops) child components.

## Arrays of Primitive Data

The following example demonstrates how to bind the SplitButton to an array of strings.

[Demo Source](https://demos.telerik.com/kendo-react-ui/buttons/splitbutton/data-binding/strings/func/source.txt)

## Arrays of Complex Data

For object data, the SplitButton displays the `text` field of each item by default.  To use another field, set [`textField`](https://www.telerik.com/kendo-react-ui/components/buttons/api/splitbuttonprops#textfield) to the name of the field. The configured `textField` takes precedence over `text`.

Data items can also set `disabled`, `icon`, `svgIcon`, `iconClass`, `imageUrl`, and `render`. For the complete list of item fields, see [`ButtonItem`](https://www.telerik.com/kendo-react-ui/components/buttons/api/buttonitem).

> To customize the popup item content, see [Item Templates](https://www.telerik.com/kendo-react-ui/components/buttons/splitbutton/customization#item-templates).

The following example demonstrates how to bind the SplitButton to an array of objects with custom `textField`.

[Demo Source](https://demos.telerik.com/kendo-react-ui/buttons/splitbutton/data-binding/objects/func/source.txt)

## Child Components

The following example demonstrates how to use `SplitButtonItem` child components to populate the popup items instead of an `items` array.

[Demo Source](https://demos.telerik.com/kendo-react-ui/buttons/splitbutton/data-binding/child/func/source.txt)

## Suggested Links

* [API Reference of the SplitButton](https://www.telerik.com/kendo-react-ui/components/buttons/api/splitbuttonprops)
* [API Reference of the SplitButtonItem](https://www.telerik.com/kendo-react-ui/components/buttons/api/splitbuttonitemprops)
* [API Reference of the ButtonItem Model](https://www.telerik.com/kendo-react-ui/components/buttons/api/buttonitem)
