New to Telerik UI for Blazor? Start a free 30-day trial
Switch Labels
Updated on Aug 24, 2026
On or Off labels are rendered inside the Switch based on its value:
OnLabelwill be shown when the SwitchValueistrueOffLabelwill be shown when the SwitchValueisfalse
The component allows customization of the labels text through the dedicated parameters. Provide your desired strings for the Switch labels or use a blank space to remove visible labels.
Customize Labels Text
Provide the desired text for the On and Off labels through the corresponding parameters. If the text is longer, you can increase the component Width to ensure the label will be visible.
Loading ...
Remove Labels
To remove the Switch labels, use a blank space for the OnLabel and OffLabel parameters.
Loading ...