We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Blazor Toggle Switch Button is a custom HTML5 input-type checkbox component that allows you to perform a toggle (on/off) action between checked and unchecked states. It supports different sizes, labels, label positions, and UI customization.


Toggle ON-OFF States

A single switch consists of a toggle state that can be checked and unchecked. To prevent the toggling of switch value, you can make use of disable option.


Change Switch Size

You can make use of different switch sizes, default and small, as required in your application.


Custom Switch labels, colors and width

The Blazor Toggle Switch Button Component appearance (bar and handle) has support for complete customization. A switch can contain text to represent the checked/unchecked states (ON-OFF). It is customized to make the look and feel like

  • Windows Switch
  • iOS Switch
  • Android Switch

Built-in themes

Blazor Toggle Switch Button supports built-in themes such as Bootstrap 5, Tailwind CSS, Fluent, high contrast, and more. Users can customize these built-in themes or create new themes to achieve the desired look and feel either by simply overriding SASS variables or using the Theme Studio application.

Blazor Toggle Switch Button In Various Themes


Web Accessibility

  • Fully supports WAI-ARIA accessibility to work with on-screen readers and assistive devices.
  • Follows WAI-ARIA best practices for implementing keyboard interaction.
  • In Switch, Space key toggle states between checked and unchecked.
  • The UI element visuals such as foreground color, background color, line spacing, text, and images are designed based on WCAG 2.0.
  • The Toggle Switch Button supports right-to-left (RTL) text direction for users working in right-to-left languages like Hebrew, Arabic, or Persian.

Other supported frameworks

Toggle Switch is also available in JavaScript, Angular, React and Vue frameworks that are built from their own TypeScript libraries. Check out the different Toggle Switch platforms from the links below,



Struggling to decide on the right product?

Our comprehensive competitor comparison of Blazor components will guide you to the perfect choice.

tick-mark 85+ UI components
tick-mark 960+ interactive Blazor demos
tick-mark 2.2M+ downloads
competitive-banner-FT-image

Blazor Components – 85+ UI and DataViz Components

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon