Trusted by the world’s leading companies
Overview
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.
Checkbox states
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.
Tri-state or indeterminate checkbox
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.
Checkbox size
You can use different checkbox sizes as required in your application.
Label for checkbox
Add a label to define the Blazor Checkbox component’s caption. You can position the label either before or after the checkbox.
Custom or fancy checkbox
The Blazor Checkbox UI (frame and icons) can be completely customized.
Forms support
Seamlessly, Blazor Checkbox with rich UI supports HTML forms and reactive forms.
Checkbox styling
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.
Web accessibility
- Fully supports WAI-ARIA accessibility standards to work with screen readers and assistive devices.
- Follows WAI-ARIA best practices for implementing keyboard interaction.
- Designs UI element visuals such as foreground color, background color, line spacing, text, and images based on WCAG 2.0 standards.
- Supports right-to-left (RTL) text direction for users working with right-to-left languages like Hebrew, Arabic, or Persian.
Blazor Checkbox Code Example
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.
@using Syncfusion.Blazor
@using Syncfusion.Blazor.Buttons
<div>
<SfCheckBox @bind-Checked="@isChecked">Checkbox: @isChecked</SfCheckBox>
</div>
@code {
private bool isChecked = true;
}Other supported frameworks
Checkbox is also available in JavaScript, Angular, React and Vue frameworks that are built from their own TypeScript libraries. Check out the different CheckBox platforms from the links below,
Not sure how to create your first Blazor CheckBox? Our tutorial videos and documentation can help.
I’d love to watch it now I’d love to read it nowBlazor Components – 145+ UI and DataViz Components
Frequently Asked Questions
Why should you choose Syncfusion Blazor Checkbox?
- It supports three states such as checked, unchecked, and indeterminate based on the values true, false, and null.
- Support to customize the UI for creating fancy checkboxes.
- Industry-standard themes are included: Material, Fabric, and Bootstrap.
- Simple configuration and API.
- Supports all modern browsers.
- Touch friendly and responsive UI.
- One of the best Blazor Checkbox in the market that offers feature-rich UI to interact with the software.
Extensive demos, documentation and videos to learn quickly and get started with Blazor Checkbox.
Where can I find the Syncfusion Blazor Checkbox demo?
You can find our Blazor Checkbox demo, which demonstrates how to render and configure the Checkbox.
Can I download and utilize the Syncfusion Blazor Checkbox for free?
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.
How do I get started with Syncfusion Blazor Checkbox?
A good place to start would be our comprehensive getting started documentation.
Our Customers Love Us
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.