MagicGlyphs.Avalonia 0.8.9

dotnet add package MagicGlyphs.Avalonia --version 0.8.9
                    
NuGet\Install-Package MagicGlyphs.Avalonia -Version 0.8.9
                    
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="MagicGlyphs.Avalonia" Version="0.8.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MagicGlyphs.Avalonia" Version="0.8.9" />
                    
Directory.Packages.props
<PackageReference Include="MagicGlyphs.Avalonia" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MagicGlyphs.Avalonia --version 0.8.9
                    
#r "nuget: MagicGlyphs.Avalonia, 0.8.9"
                    
#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.
#:package MagicGlyphs.Avalonia@0.8.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MagicGlyphs.Avalonia&version=0.8.9
                    
Install as a Cake Addin
#tool nuget:?package=MagicGlyphs.Avalonia&version=0.8.9
                    
Install as a Cake Tool

Magic Glyphs for Avalonia

Animated icons with sound for Avalonia 11 and 12. Each icon springs into motion when it is hovered, clicked or appears, and can play its own short sound.

  • 120 free icons in outline, solid and duotone.
  • One control, MagicGlyph, with no dependencies beyond Avalonia. It draws vectors, so it is sharp at any size.
  • Sound, off by default. Played with the system's own audio on Windows, macOS and Linux, or handle the Played event to use your own audio library.

Install

dotnet add package MagicGlyphs.Avalonia

Use

<Window xmlns:mg="using:MagicGlyphs">
  <StackPanel Orientation="Horizontal" Spacing="12">
    <mg:MagicGlyph Icon="heart" Size="32" Foreground="#E11D48" Sound="True" />
    <mg:MagicGlyph Icon="bell" Variant="Duotone" Trigger="Load" />
  </StackPanel>
</Window>
Property Default
Icon heart The icon name. Glyphs.Names lists them all
Variant Outline Outline, Solid or Duotone
Size 24 Width and height
Foreground inherited The icon colour, inherited like text colour
Secondary Foreground The duotone fill colour
Backdrop white The colour behind the icon; the solid style draws its inner details in it
Trigger Hover Hover (hover or click), Click, Load or Manual
Sound false Play the icon's sound

Call Play() to play an icon yourself. Mute every icon with Glyphs.SoundEnabled = false. To play sounds with your own audio library, handle Played and open the sound with Glyphs.OpenSound(e.SoundName), a WAV stream.

The full library

The full Magic Glyphs library has more than 8,000 icons, an icon maker for your own artwork, and 528 sounds. Export any of them for Avalonia with the command line tool: see magicglyphs.com/docs/avalonia.

Licence

This package, its code, icons and sounds, is MIT licensed. The paid Magic Glyphs icons have their own licence.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
0.8.9 0 11/26/2026