diff --git a/BlazorFluentUI/Components/Layout/NavMenu.razor b/BlazorFluentUI/Components/Layout/NavMenu.razor index 85aa6a8..5bc0f95 100644 --- a/BlazorFluentUI/Components/Layout/NavMenu.razor +++ b/BlazorFluentUI/Components/Layout/NavMenu.razor @@ -61,6 +61,7 @@ Dialog Divider Drag + Emoji diff --git a/BlazorFluentUI/Components/Pages/Components/CompoEmoji.razor b/BlazorFluentUI/Components/Pages/Components/CompoEmoji.razor new file mode 100644 index 0000000..38b9f71 --- /dev/null +++ b/BlazorFluentUI/Components/Pages/Components/CompoEmoji.razor @@ -0,0 +1,46 @@ +@page "/compoemoji" + +@rendermode RenderMode.InteractiveServer + +

Emoji

+ +
+ The FluentEmoji are a collection of emoji in SVG format. +
+ + +

Example

+ + + + + +
As Markup
+ @(new Emojis.Objects.Color.Default.Accordion().ToMarkup("80px")) + @(new Emojis.TravelPlaces.Color.Default.Ambulance().ToMarkup()) +
Differenct sizes
+ +
+ 16x16: + 32x32: + 64x64: + 128x128: +
+
+
Custom size
+
+ Custom size + +
+ @if (int.TryParse(custom, out int size) && size > 0) + { +
+ @(size)x@(size)
+ +
+ } +
+ +@code { + string custom = ""; +} \ No newline at end of file