
Animated icons with sound, for the web, mobile, desktop, games and design tools. Every icon has its own spring animatio…
Early Access: this app is still being built, so some things may not work as expected yet.
Made by
@lewis-john-villamor
Full Stack Developer / Solutions Architect
No posts yet. Lewis John Villamor shares progress on this project here.
Animated icons with sound, for the web, mobile, desktop, games and design tools. Every icon has its own spring animation and a short sound you can shape, in four styles: outline, solid, duotone and glass. It includes an icon maker for your own artwork, a command line tool, and an MCP server so coding assistants can insert icons for you.
If Magic Glyphs saves you time, please star it on GitHub. Stars help other developers find it.
Live demo, docs and free icon browser →
magic-glyphs/icons/heart), and no browser dependencies.--format gif, video with the sound baked in.npm install magic-glyphs
# or
yarn add magic-glyphs
pnpm add magic-glyphs
bun add magic-glyphs
deno add jsr:@magicglyphs/magic-glyphs # or: npx jsr add @magicglyphs/magic-glyphs
| Platform | Install |
|---|---|
| Rust | cargo add magic-glyphs (crates.io) |
| Avalonia (.NET) | dotnet add package MagicGlyphs.Avalonia (NuGet) |
| Godot 4 | the magicglyphs-godot add-on |
| Coding assistants | claude mcp add magic-glyphs -- npx -y magic-glyphs-mcp (MCP Registry) |
| Everything else | the command line tool exports for SwiftUI, Compose, Flutter, React Native, WinUI, MAUI, Qt, Unity, Lottie, GIF and MP4 |
No install at all: <script src="https://cdn.jsdelivr.net/npm/magic-glyphs/web/magic-glyphs.all.js" defer></script> gives you the free icons.
The command line tool needs Node.js 18 or later. The browser code has no dependencies.
<script src="https://unpkg.com/magic-glyphs/web/magic-glyphs.all.js" defer></script>
<magic-glyph name="heart"></magic-glyph>
<magic-glyph name="bell" variant="duotone" size="32" sound></magic-glyph>
<magic-glyphs-sound-toggle></magic-glyphs-sound-toggle> <!-- a mute switch for visitors -->
Works the same in Astro, Svelte, SvelteKit, Angular, Solid, Lit, WordPress (plugin included) and Shopify (snippet included). Icons take the text colour, so Tailwind classes like text-rose-500 work.
npx magic-glyphs add heart bell --format react --out src/icons
import HeartGlyph from './icons/HeartGlyph';
<HeartGlyph size={24} label="Like" sound soundOptions={{ pitch: 2 }} />
Components are typed in TypeScript projects and marked 'use client', so they work inside Next.js server components.
npx magic-glyphs add heart bell --format vue --out components
<HeartGlyph :size="24" label="Like" />
npx magic-glyphs shadcn
npx shadcn@latest add @magic-glyphs/heart
One ready-to-use component file per icon, with the animation built in and its sound as a WAV file:
npx magic-glyphs add heart --format react-native --sound # or swiftui, compose, flutter, winui
Lottie files are also available with --format lottie for any Lottie player.
Use the HTML, React, Vue or Svelte setup above: Tauri, Dioxus and Leptos draw their interface in a web view.
| Attribute | Values | Default |
|---|---|---|
name |
Any icon name | required |
variant |
outline, solid, duotone, glass |
outline |
size |
Pixels | 24 |
trigger |
hover, click, load, visible, none |
hover |
sound |
Present to play the icon's sound; off to keep an icon silent |
off |
label |
Accessible name; leave out for decorative icons | none |
Icons take their colour from CSS color. Three CSS variables tune the other styles:
.my-area {
color: #14162b;
--mg-secondary: #4a35d6; /* duotone fill */
--mg-secondary-opacity: 0.22;
--mg-bg: #ffffff; /* colour cut out of solid icons; match your background */
}
Every icon has a short synthesized sound matched to its motion, panned left or right by where the icon sits on screen. All sounds are levelled to the same loudness. Shape any icon's sound:
<magic-glyph name="bell" sound sound-pitch="-3" sound-speed="1.2" sound-tone="-0.4"></magic-glyph>
| Setting | Range |
|---|---|
sound-name |
any of the 100 built-in sounds, or the 428 in the extra pack (import pack from 'magic-glyphs/sounds'; MagicGlyphs.sound.add(pack)) |
sound-src |
your own audio file: a URL or data: URI |
sound-volume |
0 to 2 |
sound-pitch |
-12 to 12 semitones |
sound-speed |
0.5 to 2 |
sound-tone |
-1 (softer) to 1 (brighter) |
sound-pan |
0 (centred) to 1 (follows the icon) |
sound-delay |
milliseconds, or auto to line impact sounds up with the motion |
In React and Vue, use soundOptions. Browsers allow audio only after the visitor's first click or key press. Hear every sound.
Paid licences include the icon maker. Upload an SVG, paste SVG code, or drop in a PNG or JPG logo to trace it, or remix any library icon. It is fitted to the grid in the same line style. Choose a motion (pop, bounce, drop in, wiggle, swing, spin, slide, shake, float, pulse, tilt), shape its sound, and export SVG, React, Vue, HTML, Lottie, WAV or icon data. Your own icons then work everywhere the library does:
npx magic-glyphs add my-logo --from my-icons/ --format react
npx magic-glyphs search shopping cart # find icons
npx magic-glyphs list --free # the free set
npx magic-glyphs add heart bell --format react --out src/icons
npx magic-glyphs add rocket --format lottie --sound
npx magic-glyphs bundle heart bell --out public/magic-glyphs.js
npx magic-glyphs static --out public/icons # plain SVG files and sprites
npx magic-glyphs update # newer version and new icons
Formats for add: svg, react, vue, html, json, lottie, wav, react-native, swiftui, compose, flutter, winui.
npx -y magic-glyphs-mcp
Lets Claude, Cursor and other MCP clients search the library and insert icons in your project's format. It lives in the separate magic-glyphs-mcp package so the icon package stays small.
npx magic-glyphs login YOUR-LICENCE-KEY
Buy a licence at magicscraper.gumroad.com/l/vjaxbp. login checks the purchase and downloads every icon to your computer; every command above then works with the whole library. Plans: Personal (1 person, 3 devices), Team (10 people, 20 devices), Business (50 people, 100 devices). For CI, npx magic-glyphs build-key makes a key that does not use a device.
| Platform | How | Tested |
|---|---|---|
| HTML, JavaScript, no build step | <magic-glyph> tag |
yes |
| React, Next.js | magic-glyphs/react, generated components |
Vite + TypeScript, Next.js App Router |
| Vue, Nuxt | magic-glyphs/vue, generated components |
Vite + TypeScript, Nuxt 4 |
| Astro, Svelte, Tailwind CSS | <magic-glyph> tag |
Astro 5, Svelte 5 + Tailwind 4 |
| shadcn | official registry | shadcn 4 |
| WordPress | plugin in wordpress/ |
PHP checked |
| Shopify | snippet in shopify/ |
|
| React Native | --format react-native |
type-checked |
| SwiftUI, Jetpack Compose, Flutter, Windows (WinUI) | --format swiftui, compose, flutter, winui |
not yet on devices |
| Qt Quick (QML) | --format qml, native vectors |
rendered in Qt 6.12 |
| Avalonia, .NET MAUI | --format avalonia, maui |
not yet compiled |
| Compose Multiplatform | --format compose-multiplatform |
not yet compiled |
| Godot, Unity, other game engines | --format godot, unity, spritesheet |
not yet in the engines |
| Rust (egui, iced, Slint) | cargo add magic-glyphs, --format rust |
tested |
| Email, slides, Canva, Notion, Slack, Discord | --format gif, apng, mp4, webm |
decoded and checked |
| Webflow, Framer, Wix, Squarespace, Ghost | script + embed | |
| Figma, FigJam, Figma Slides | Magic Glyphs plugin | panel tested |
| Tauri, Dioxus, Leptos | web setup | |
| Any Lottie player | --format lottie |
checked against an independent renderer |
| Coding assistants | magic-glyphs-mcp |
yes |
.wav file; Lottie and static SVG themselves are silent.Magic Glyphs uses two licences, like most icon libraries with a free and a paid tier:
LICENSE.Getting started · HTML, WordPress, Shopify · React, Next.js, Vue, Nuxt · shadcn · Astro, Svelte, Tailwind · React Native · SwiftUI · Jetpack Compose · Flutter · Windows · Tauri and Rust · Sound · CLI · MCP · Every other framework · Webflow, Framer, Wix · GIF, PNG and video · Qt · Avalonia · .NET MAUI · Rust crate · Godot · Unity · Figma
Questions, licences, refunds or a bug: [email protected], or open an issue on GitHub.
© 2026 Magic Glyphs · magicglyphs.com

PulseShift
Open-source crypto lab that draws AI buy/sell signals on live charts. Paper only.
Live
Kemdara
Cryptography Workbench
Building
Project Hibernate
Local desktop app that reclaims disk space from dormant dev projects by removing rebuildable artifacts, never source cod
Live
Confidential File Merger
Merges PDFs and images into one PDF on your own machine. Self-hosted, fully offline, nothing ever leaves your computer.
LiveBuilding a dev tool or hiring developers? Get seen here. Become our Sponsor
Building a dev tool or hiring developers? Get seen here. Become our Sponsor