counter badge

main
Peace 10 months ago
parent 7442adab0c
commit 0a2f253555
  1. 1
      BlazorFluentUI/Components/Layout/NavMenu.razor
  2. 2
      BlazorFluentUI/Components/Pages/Components/CompoCounterBadge.razor
  3. 16
      BlazorFluentUI/Components/Pages/Components/CompoPresenceBadge.razor

@ -49,6 +49,7 @@
<FluentNavGroup Icon="@(new Icons.Regular.Size20.Tag())" Expanded="false" Title="Badge">
<FluentNavLink Href="compobadge" Icon="@(new Icons.Regular.Size20.Badge())" IconColor="Color.Accent">Badge</FluentNavLink>
<FluentNavLink Href="compocounterbadge" Icon="@(new Icons.Regular.Size20.NumberCircle1())" IconColor="Color.Accent">CounterBadge</FluentNavLink>
<FluentNavLink Href="compopresencebadge" Icon="@(new Icons.Regular.Size20.NumberCircle1())" IconColor="Color.Accent">PresenceBadge</FluentNavLink>
</FluentNavGroup>
</FluentNavGroup>

@ -4,7 +4,7 @@
<FluentLabel Typo="Typography.H3">CounterBadge</FluentLabel>
<FluentDivider class="mt-1 mb-3" Role="DividerRole.Separator" />
The <code>FluentCounterBadge</code> component is used to display a notification count on top of another compoenent.
The <code>FluentCounterBadge</code> component is used to display a notification count on top of another component.
<FluentLabel class="my-3" Typo="Typography.H4">Appearances</FluentLabel>
<FluentCard Class="mt-3" Width="auto" Height="auto" AreaRestricted="false">

@ -0,0 +1,16 @@
@page "/compopresencebadge"
@rendermode RenderMode.InteractiveServer
<FluentLabel Typo="Typography.H3">CounterBadge</FluentLabel>
<FluentDivider class="mt-1 mb-3" Role="DividerRole.Separator" />
The <code>FluentPresenceBadge</code> component is used to display a status indicator such as available, away, or busy.
<FluentLabel class="my-3" Typo="Typography.H4">Appearances</FluentLabel>
<FluentCard Class="mt-3" Width="auto" Height="auto" AreaRestricted="false">
</FluentCard>
@code {
}
Loading…
Cancel
Save