GitHub Emoji for Blazor ๐ :octopus: โ :heavy_plus_sign: ๐ :cat2: โฉต โค๏ธ :heart:
$ dotnet add package GEmojiSharp.BlazorGitHub Emoji for Blazor
The package is a Razor class library (RCL) with a Razor component.
Update the _Imports.razor file, to enable the component in all Razor views:
@using GEmojiSharp.Blazor
โน๏ธ In a Blazor Web App (.NET 8 or later), the component requires an interactive render mode applied either globally to the app or to the component definition.
Set the global render mode in App.razor:
<Routes @rendermode="InteractiveServer" />
or per page/component:
@rendermode InteractiveServer
Use the <Emoji> component to render emojis:
<Emoji>:tada: initial commit</Emoji>
Further documentation is available at https://github.com/hlaueriksson/GEmojiSharp