Blazor Checkbox is a custom checkbox-type HTML5 input component for selecting one or more options from a list of predefined choices. This is a quick-start project provided by Syncfusion that helps you create a Blazor Checkbox and Radio Button. This example first explains how to create a Blazor application and add the Syncfusion Blazor package. It then shows how to add the Syncfusion Blazor Checkbox and Radio Button components to the Blazor server application, show a Checkbox in checked and intermediate states, and disable the components. You’ll also learn how to add a Radio Button, group Radio Buttons, and show a Radio Button in a selected state.
- Visual Studio 2022
- Checkout this project to a location in your disk.
- Open the solution file using the Visual Studio 2022.
- Restore the NuGet packages by rebuilding the solution.
- Run the project.
For more help, check the ASP.NET Core Blazor documentation.
Add a label to define the Blazor Checkbox component caption. You can caption the checkbox and position the label either before or after the checkbox.
You can use different checkbox sizes, default and small, as required in your application.
A single Blazor Checkbox consists of toggle states for performing check and uncheck actions. To prevent the toggling of a checkbox value, you can use the disable option.
The Blazor Checkbox UI (frame and icons) can be completely customized.
The Blazor Checkbox component ships with several built-in themes such as Tailwind CSS, Bootstrap 5, Bootstrap 4, Bootstrap, Material, Fabric, and High Contrast. Users can customize any of 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.
Seamlessly supports HTML forms, and reactive forms.
The Blazor Checkbox component also features a built-in indeterminate state for option selections.
Learn More about Blazor Checkbox
Suggest a feature or report a bug
The Syncfusion's Blazor components library offers over 70 UI components to work with Blazor server-side and client-side (Blazor WebAssembly) projects seamlessly. In addition to Checkbox, we provide popular Blazor Components such as DataGrid, Charts, Scheduler, Diagram, and Word Processor.
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 27,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
Today, we provide 1700+ components and frameworks for web (Blazor, ASP.NET Core, ASP.NET MVC, ASP.NET WebForms, JavaScript, Angular, React,Vue, and Flutter), mobile (Xamarin, Flutter, UWP, JavaScript, and .NET MAUI(Preview)), and desktop development (WinForms, WPF, WinUI, Flutter and UWP, and .NET MAUI(Preview)). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.
sales@syncfusion.com | www.syncfusion.com| Toll Free: 1-888-9 DOTNET