The Blazor Checkbox is a custom checkbox-type HTML5 input component for selecting one or more options from a list of predefined choices. It supports the indeterminate state, different sizes, custom labels and positions, and UI customization.
A single Blazor Checkbox consists of toggle states to check and uncheck options. To prevent the toggling of a checkbox value, use the “disable” option.
A tri-state checkbox can be checked, unchecked, or indeterminate. If a few child elements are selected, the parent element will be in an indeterminate state. If all the child elements are checked, the parent element will also be checked.
You can use different checkbox sizes as required in your application.
Add a label to define the Blazor Checkbox component’s caption. You can position the label either before or after the checkbox.
The Blazor Checkbox UI (frame and icons) can be completely customized.
Seamlessly, Blazor Checkbox with rich UI supports HTML forms and reactive forms.
The Blazor Checkbox component ships with built-in themes such as Tailwind CSS, Bootstrap 5, Bootstrap 4, Bootstrap, Material, Fabric, Fluent, and high contrast. Users can customize these built-in themes or create new ones to build their own desired look and feel either by simply overriding Sass variables or using our Theme Studio application.
Easily get started with the Blazor Checkbox using a few simple lines of C# code example as demonstrated below. Also explore our Blazor Checkbox Example that shows you how to render and configure the Checkbox in Blazor.
<SfCheckBox @bind-Checked="@isChecked">Checkbox: @isChecked</SfCheckBox>
private bool isChecked = true;
You can find our Blazor Checkbox demo, which demonstrates how to render and configure the Checkbox.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
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.