--- title: Content Setup description: 'Set the main button label and add custom elements before or after it in the KendoReact SplitButton in React projects.' components: ['splitbutton'] slug: content_splitbutton position: 3 --- # SplitButton Content Setup The SplitButton allows you to set the label of its main button through the [`text`](slug:api_buttons_splitbuttonprops#toc-text) property. You can also add an icon or a custom React element before or after the label with [`prefix`](slug:api_buttons_splitbuttonprops#toc-prefix) and [`suffix`](slug:api_buttons_splitbuttonprops#toc-suffix). The following demo shows custom elements beside the label and `SplitButtonItem` children for the popup actions: ## Main Button Label Set the [`text`](slug:api_buttons_splitbuttonprops#toc-text) property to provide the main SplitButton plain-text label: ```tsx ``` To place an SVG icon, image or custom React element next to the label, see [Icon Options](slug:icons_splitbutton). Custom elements must use phrasing content and must not contain interactive content. ## Popup Items The content set through the [`text`](slug:api_buttons_splitbuttonprops#toc-text) property renders in the main button, not in the popup. Define the popup actions with [`SplitButtonItem`](slug:api_buttons_splitbuttonitemprops) child components, or bind the [`items`](slug:binding_splitbutton) property to data. For more details, see [Data Binding](slug:binding_splitbutton). ## Suggested Links - [API Reference of the SplitButton](slug:api_buttons_splitbuttonprops) - [Data Binding](slug:binding_splitbutton) - [Icon Options](slug:icons_splitbutton)