Use BitButtonGroup in right-to-left (RTL).
diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Buttons/ButtonGroup/_BitButtonGroupOptionDemo.razor.cs b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Buttons/ButtonGroup/_BitButtonGroupOptionDemo.razor.cs
index 3512afd078..998174d625 100644
--- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Buttons/ButtonGroup/_BitButtonGroupOptionDemo.razor.cs
+++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Buttons/ButtonGroup/_BitButtonGroupOptionDemo.razor.cs
@@ -4,356 +4,4 @@ public partial class _BitButtonGroupOptionDemo
{
private int clickCounter;
private string? clickedOption;
-
- private readonly string example1RazorCode = @"
-
-
-
-
-";
-
- private readonly string example2RazorCode = @"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-";
-
- private readonly string example3RazorCode = @"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-";
-
- private readonly string example4RazorCode = @"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-";
-
- private readonly string example5RazorCode = @"
-
-
-
-
-
-
-
-
-
-
-";
-
- private readonly string example6RazorCode = @"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-";
-
- private readonly string example7RazorCode = @"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-";
-
- private readonly string example8RazorCode = @"
- clickedOption = item.Text"" TItem=""BitButtonGroupOption"">
-
-
-
-
-Clicked item: @clickedOption
-
-
- { clickCounter++; StateHasChanged(); }"" />
- { clickCounter=0; StateHasChanged(); }"" />
- { clickCounter--; StateHasChanged(); }"" />
-
-Click count: @clickCounter
";
- private readonly string example8CsharpCode = @"
-private int clickCounter;
-private string? clickedOption;";
-
- private readonly string example9RazorCode = @"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-";
}
diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Buttons/ButtonGroup/_BitButtonGroupOptionDemo.razor.samples.cs b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Buttons/ButtonGroup/_BitButtonGroupOptionDemo.razor.samples.cs
new file mode 100644
index 0000000000..796c28abae
--- /dev/null
+++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Buttons/ButtonGroup/_BitButtonGroupOptionDemo.razor.samples.cs
@@ -0,0 +1,433 @@
+namespace Bit.BlazorUI.Demo.Client.Core.Pages.Components.Buttons.ButtonGroup;
+
+public partial class _BitButtonGroupOptionDemo
+{
+ private readonly string example1RazorCode = @"
+
+
+
+
+";
+
+ private readonly string example2RazorCode = @"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+";
+
+ private readonly string example3RazorCode = @"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+";
+
+ private readonly string example4RazorCode = @"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+";
+
+ private readonly string example5RazorCode = @"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+";
+
+ private readonly string example6RazorCode = @"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+";
+
+ private readonly string example7RazorCode = @"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+";
+
+ private readonly string example8RazorCode = @"
+
+
+
+
+
+
+
+
+
+
+";
+
+ private readonly string example9RazorCode = @"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+";
+
+ private readonly string example10RazorCode = @"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+";
+
+ private readonly string example11RazorCode = @"
+ clickedOption = item.Text"" TItem=""BitButtonGroupOption"">
+
+
+
+
+Clicked item: @clickedOption
+
+
+ { clickCounter++; StateHasChanged(); }"" />
+ { clickCounter=0; StateHasChanged(); }"" />
+ { clickCounter--; StateHasChanged(); }"" />
+
+Click count: @clickCounter
";
+ private readonly string example11CsharpCode = @"
+private int clickCounter;
+private string? clickedOption;";
+
+ private readonly string example12RazorCode = @"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+";
+}