diff --git a/BlazorFluentUI/Components/Layout/NavMenu.razor b/BlazorFluentUI/Components/Layout/NavMenu.razor index 18551c6..9fb0fb2 100644 --- a/BlazorFluentUI/Components/Layout/NavMenu.razor +++ b/BlazorFluentUI/Components/Layout/NavMenu.razor @@ -46,6 +46,10 @@ Accordion Anchor AppBar + + Badge + CounterBadge + diff --git a/BlazorFluentUI/Components/Pages/Components/CompoBadge.razor b/BlazorFluentUI/Components/Pages/Components/CompoBadge.razor new file mode 100644 index 0000000..f68e2b0 --- /dev/null +++ b/BlazorFluentUI/Components/Pages/Components/CompoBadge.razor @@ -0,0 +1,57 @@ +@page "/compobadged" + +@rendermode RenderMode.InteractiveServer + +Badge + +The FluentBadge component is used to highlight an item and attract attention or flag status. +The FluentBadge comppmemt wraps a web component badge. + +Appearances + + + Lightweight + Accent + Neutral + Red and white + Dismiss + + Message: @amessage?.ToString() + + +Circular + + + Accent + Neutral + + + + + +With custom css for Fill and Highlight + + + Accent + Neutral + + + +In a slot + + + More options... + New! + + + +@code { + string amessage = string.Empty; +}
FluentBadge
badge
Message: @amessage?.ToString()