# Labels

The Switch enables you to set custom labels.

## Setting Up the Titles

To set the behavior of the labels, use the [`onLabel`](https://www.telerik.com/kendo-react-ui/components/inputs/api/switchprops#onlabel) and [`offLabel`](https://www.telerik.com/kendo-react-ui/components/inputs/api/switchprops#offlabel) properties. Note that the Switch does not support long text as labels.

[Demo Source](https://demos.telerik.com/kendo-react-ui/inputs/switch/labels/func/source.txt)

## Styling the Labels

By design, the Switch does not render any labels when the component is styled with the KendoReact Bootstrap or Material theme. To change the default setup and achieve any of the additional predefined layouts, refer to the article on [changing the Switch layout](https://github.com/telerik/kendo-themes/wiki/Change-the-Switch-Layout) in the kendo-themes Wiki. For more information, refer to [issue #567](https://github.com/telerik/kendo-themes/issues/567).

## Suggested Links

* [API Reference of the Switch](https://www.telerik.com/kendo-react-ui/components/inputs/api/switch)
