Mirality.Blazor.Icons.OpenMoji 1.0.0

dotnet add package Mirality.Blazor.Icons.OpenMoji --version 1.0.0
NuGet\Install-Package Mirality.Blazor.Icons.OpenMoji -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mirality.Blazor.Icons.OpenMoji" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mirality.Blazor.Icons.OpenMoji --version 1.0.0
#r "nuget: Mirality.Blazor.Icons.OpenMoji, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Mirality.Blazor.Icons.OpenMoji as a Cake Addin
#addin nuget:?package=Mirality.Blazor.Icons.OpenMoji&version=1.0.0

// Install Mirality.Blazor.Icons.OpenMoji as a Cake Tool
#tool nuget:?package=Mirality.Blazor.Icons.OpenMoji&version=1.0.0

.NET 6,7 NuGet version (Mirality.Blazor.Icons.OpenMoji)

This is a Blazor component wrapper library for all of the icons in the OpenMoji icon set, released under the CC-BY-SA 4.0 license.

Installation

  1. Simply import this Nuget package as usual. (Note: it is not recommended to use this as a project reference -- due to the large number of individual files it tends to bring IDEs to an absolute crawl, and it takes a surprisingly long time to compile all the components.)

  2. Optionally, add the following line to your _Imports.razor:

    @import Mirality.Blazor.Icons.OpenMoji

Usage

To display an icon, include its component, e.g.:

<IconOpenMojiClosedMailboxWithRaisedFlag />

You can also set other attributes of the resulting <svg/> element, such as its class, style, or overriding its height.

(The OpenMoji icons are fixed-palette, so you can't use classes to recolour them, but there may still be other interesting things you can do this way.)

All component names have been PascalCased from the snake-cased original icon names, and have the IconOpenMoji prefix to allow importing multiple icon sets without collisions.

For more usage information, including customisation options, see the docs for the Mirality.Blazor.Icons base package.

Sizing

By default, all icons will render with a height of 1em -- i.e. matching your current font height. As such, to resize them you can just change the font size. Alternatively, you can override the height to some other explicit size.

In addition to the main OpenMoji site, you can view a gallery of the available icons at Iconify. This library was generated from the Iconify icon data. (Although it might become outdated at some point; submit an issue if it needs an update.)

Note that currently only the "primary" icons (non-deleted and non-aliases) have been imported.

Offline Usage

This library embeds all the icon data, so online access is not required to load any image, nor any external files -- just the library itself.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 333 1/17/2023