diff --git a/BlazorFluentUI/Components/Layout/NavMenu.razor b/BlazorFluentUI/Components/Layout/NavMenu.razor index d5ba887..5501058 100644 --- a/BlazorFluentUI/Components/Layout/NavMenu.razor +++ b/BlazorFluentUI/Components/Layout/NavMenu.razor @@ -31,6 +31,7 @@ Select NumberField + Radio diff --git a/BlazorFluentUI/Components/Pages/FormInputs/FormInputRadio.razor b/BlazorFluentUI/Components/Pages/FormInputs/FormInputRadio.razor new file mode 100644 index 0000000..5ef9e72 --- /dev/null +++ b/BlazorFluentUI/Components/Pages/FormInputs/FormInputRadio.razor @@ -0,0 +1,91 @@ +@page "/forminputradio" + +@rendermode RenderMode.InteractiveServer + +Radio + + + The FluentRadio wrap a web component of a radio element. + + +Default Example + +

+ without a lable: + + + +

+

+ with a lable: + + + +

+

+ with group and radio label + + + +

+
+ +RadioGroup + + + The FluentRadioGroup wrap a web component of a radio group element. + +Default Example + + + One + Two + Three + +

Selected: @intValue (@intValue?.GetType())

+ + One + Two + Three + +

Selected: @stringValue (@stringValue?.GetType())

+
+ +In a toolbar + + + Go + + ⬅️ + 🔄️ + ➡️ + + Stop + +

Selected: @toolbarValue

+
+ +With Preset + +

Preset value

+ + Ice Man + Maverick + Viper + Jester + +

The best pilot according to you is: @pilot!

+ +

Your favorite pilot: @pilot!

+
+ +@code { + string? value1, value2, value3; + + int? intValue; + string? stringValue; + + string? toolbarValue; + + string? pilot = "maverick"; +}