One option among several, with the theme look.
AstrolRadioGroup holds the chosen value and each AstrolRadio is an option with its Value. The type is inferred (text, numbers, enums...). With focus on an option, the arrows change the option.
@using Astrol.Component.Basic.Form <AstrolRadioGroup @bind-Value="payment" AriaLabel="Payment method"> <AstrolRadio Value="@("card")" Text="Card" /> <AstrolRadio Value="@("transfer")" Text="Bank transfer" /> <AstrolRadio Value="@("cash")" Text="Cash" Disabled="true" /></AstrolRadioGroup> @* Any type: enums, numbers, objects... In a row with Horizontal *@<AstrolRadioGroup @bind-Value="theme" Horizontal="true" AriaLabel="Theme"> @foreach (var item in Enum.GetValues<AstrolThemeMode>()) { <AstrolRadio Value="item" Text="@item.ToString()" /> }</AstrolRadioGroup>@code { private string? payment = "card"; private AstrolThemeMode theme = AstrolThemeMode.Auto;}AstrolRadioGroup<TValue>
AstrolRadio<TValue>