UI for Blazor
The Telerik UI for Blazor Switch component is an input control for switching a Boolean state on and off. This type of input originated in mobile apps but has been gradually replacing the standard checkbox control in all sorts of applications. The component’s value can be two-way data bound to a Boolean variable. It comes with the ability to configure the labels for its on and off states, events and built-in localization and keyboard navigation.
Check out the Blazor Switch demo
The Switch component offers customization on its on and off labels so you can personalize each switch. Additionally, you can easily customize it via some of the standard attributes available to the rest of the Telerik UI for Blazor suite, such as its TabIndex, Width, CSS class, etc. This makes the control feel like a native input element.
The Event fires two events to help you handle your business logic:
Thanks to the built-in localization support, the component’s labels are automatically translated to any language your app supports.
Check out the Switch component Localization
Thanks to the built-in keyboard navigation, end users can interact with the Switch without lifting a finger off the keyboard.
The Telerik UI for Blazor Switch component supports right-to-left configuration. The RTL functionality is supported by most of our components to accommodate users who communicate in a right-to-left language script, such as Arabic and Hebrew.