New to Telerik UI for Blazor? Download Free 30-day trial
Switch - Labels
- Change Theme
By design, the Switch does not render any labels when the component is styled with the Bootstrap or Material theme. To change the default setup and achieve any of the additional predefined layouts, refer to this knowledge base for showing the labels in Bootstrap and Material or the article on changing the Switch layout in the kendo-themes Wiki.
Loading the demo source code...please wait.
The Telerik Blazor Switch allsows you to set your own text in the switch labels that correspond to the on and off states.
This Blazor Switch - Labels demo is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik Blazor components and their features in action. View the source code of each of the demos or directly adapt and edit them, including their theme appearance, in some of our dedicated playgrounds for Blazor projects - Telerik REPL for Blazor.