Radio Buttons

RadioGroup and RadioGroupControl components are built on top of Blazor's InputBase class, and support all standard behaviors for form model and validation. It must be wrapped inside Blazor's EditForm component or Blazority's Form component, and cannot be used in standalone mode. Learn more at ASP.NET Core Blazor forms and validation

Blazority provides the RadioGroup component which encases the label, help text and validation in a single component. It also provides the underlying RadioGroupControl component providing only the logic, allowing custom styling and formatting of the containing form components.

Using RadioGroup

The selected item is

Validation & Inline

Only 'Item 1' allowed. The selected item is

Enum Item

The selected enum is

Complex Item Object

The selected option is ()

Using RadioGroupControl

Helper Text

Using Template for Radio

The selected icon is
An unhandled error has occurred. Reload 🗙