Skip to content

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 …

Notifications You must be signed in to change notification settings

SyncfusionExamples/Create-Checkbox-and-Radio-Button-Components-in-a-Blazor-Server-Application

Repository files navigation

Create Checkbox and Radio Button Components in a Blazor Server Application

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.

Prerequisites

  • Visual Studio 2022

How to run the project

  • 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.

Further help

For more help, check the ASP.NET Core Blazor documentation.

Features and Benefits

Label for checkbox

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.

Checkbox size

You can use different checkbox sizes, default and small, as required in your application.

Checkbox states

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.

Custom or fancy checkbox

The Blazor Checkbox UI (frame and icons) can be completely customized.

Checkbox styling

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.

Forms support

Seamlessly supports HTML forms, and reactive forms.

Tri-state or indeterminate checkbox

The Blazor Checkbox component also features a built-in indeterminate state for option selections.

Related links

Learn More about Blazor Checkbox

Download Free Trial

Pricing

Documentation

View Demos

Community Forums

Suggest a feature or report a bug

Online examples

Video Tutorials

Knowledge Base

About Syncfusion Blazor Components

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.

About Syncfusion

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

About

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 …

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published