MagicGlyphs.Avalonia
0.8.9
dotnet add package MagicGlyphs.Avalonia --version 0.8.9
NuGet\Install-Package MagicGlyphs.Avalonia -Version 0.8.9
<PackageReference Include="MagicGlyphs.Avalonia" Version="0.8.9" />
<PackageVersion Include="MagicGlyphs.Avalonia" Version="0.8.9" />
<PackageReference Include="MagicGlyphs.Avalonia" />
paket add MagicGlyphs.Avalonia --version 0.8.9
#r "nuget: MagicGlyphs.Avalonia, 0.8.9"
#:package MagicGlyphs.Avalonia@0.8.9
#addin nuget:?package=MagicGlyphs.Avalonia&version=0.8.9
#tool nuget:?package=MagicGlyphs.Avalonia&version=0.8.9
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
Playedevent 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 | Versions 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. |
-
net8.0
- Avalonia (>= 11.0.0)
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 |