@inherits FnzComponentBase
@typeparam TValue
@code {
    [Parameter] public string Name { get; set; }
    [Parameter] public string Text { get; set; }
    [Parameter] public TValue Value { get; set; }
    [Parameter] public bool Checked { get; set; }
    [Parameter] public EventCallback<FnzRadio<TValue>> Click { get; set; } = EventCallback<FnzRadio<TValue>>.Empty;
    [Parameter] public string CssClass { get; set; } = "btn btn-outline-primary";
}
<input id="@ElementId" class="btn-check" name="@Name" type="radio" value="@Text" checked="@Checked" onclick="@(async () => await Click.InvokeAsync(this))" />
<label for="@ElementId" class="@CssClass">@Text</label>