diff --git a/BlazorFluentUI/Components/Layout/NavMenu.razor b/BlazorFluentUI/Components/Layout/NavMenu.razor index fd31a25..826977a 100644 --- a/BlazorFluentUI/Components/Layout/NavMenu.razor +++ b/BlazorFluentUI/Components/Layout/NavMenu.razor @@ -56,6 +56,7 @@ Button MenuButton + Card diff --git a/BlazorFluentUI/Components/Pages/Components/CompoCard.razor b/BlazorFluentUI/Components/Pages/Components/CompoCard.razor new file mode 100644 index 0000000..11e23d5 --- /dev/null +++ b/BlazorFluentUI/Components/Pages/Components/CompoCard.razor @@ -0,0 +1,77 @@ +@page "/compocard" + +@inject EmployeeService EmployeeService + +@rendermode RenderMode.InteractiveServer + +CounterBadge + +The FluentCounterBadge component is used to display a notification count on top of another component. + +Simple Example + + +

Just some content in a card (with a button that does not do anything).

+ Hello +
+ + +

Just some content in a card (with a button that does not do anything).

+ Hello +

No Width or Height has been specified.

+
+
+ +

Area restricted examples

+
+ By default a card restricts its content to the card area. + This means, for example, that if you have a select list with a lot of items, + the list will be cut off at the bottom of the card. + You can override this behavior by setting the AreaRestricted property to false. +
+ + + +

This card's content is restricted to its area. Open the select list below to see the result.

+ + +
+ + +

This card's content is restricted to its area. Open the select list below to see the result.

+ + +
+
+
+ +

Minimal Style

+
+ You can use the MinimalStyle property to remove all the default styles from the FluentCard. + This will allow you to use the FluentCard component as a simple container without any style, + except the styles to draw box-shadow (and some minimal styles). +
+ +

Just some content in a card (with a button that does not do anything).

+ Hello +

No Width or Height has been specified.

+
+ +@code { + Employee? selectedEmployee1, selectedEmployee2; + string? selectedValue1, selectedValue2; +}