Lewis John Villamor
M

magicglyphs

Early AccessProvenFreeDeveloper Tools

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.

Visit site

Made by

LE
Lewis John Villamor

@lewis-john-villamor

Full Stack Developer / Solutions Architect

Open to freelancePhilippines
View profile · 23 projects

Journey

No posts yet. Lewis John Villamor shares progress on this project here.

README

Magic Glyphs: animated icons with sound

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 →

  • 120 free icons in this package, free for personal and commercial use.
  • 8,000+ icons in the full library with a licence key: interface, arrows, files, commerce, devices, media, food, nature, people, travel and flags.
  • Tiny: about 10 KB compressed for the code that draws, animates and plays every icon, about 0.2 KB per icon (import single icons: magic-glyphs/icons/heart), and no browser dependencies.
  • Animated GIF, APNG, MP4 and WebM for places that cannot run code: --format gif, video with the sound baked in.
  • Accessible: respects reduced motion, takes an accessible label, and sound is easy to mute.

Works with

Web:

Mobile and desktop:

Games, design and more:

Install

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.

Quick start

HTML, no build step

<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.

React and Next.js

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.

Vue and Nuxt

npx magic-glyphs add heart bell --format vue --out components
<HeartGlyph :size="24" label="Like" />

shadcn

npx magic-glyphs shadcn
npx shadcn@latest add @magic-glyphs/heart

React Native, SwiftUI, Jetpack Compose, Flutter, Windows

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.

Tauri and other web-view apps

Use the HTML, React, Vue or Svelte setup above: Tauri, Dioxus and Leptos draw their interface in a web view.

Options

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 */
}

Sound

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.

Icon maker

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

Command line tool

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.

MCP server for coding assistants

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.

The full library

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.

Where it works

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

Limitations

  • Native app components: the Flutter package, the Avalonia NuGet package and the Godot add-on are built and tested in Flutter, Avalonia 11 and 12, and Godot 4.3 to 4.7, and the Qt and Rust outputs are rendered and tested. The per-icon SwiftUI, Compose, WinUI, MAUI and Unity exports are generated from the same tested data but have not yet been run in those tools.
  • MP4 and WebM from the command line need ffmpeg; the icon maker makes them in the browser without it.
  • Sound in native apps comes as a separate .wav file; Lottie and static SVG themselves are silent.
  • Glass style is not available in Lottie, native or static SVG exports.
  • Icon maker: SVG text must be converted to outlines first, and stroke widths are replaced by the library's line weight. Image tracing (beta) suits simple, high-contrast artwork, not photos.
  • Flags are simplified to fit a small grid.
  • Reduced motion: when a device asks for reduced motion, icons do not animate.

Licence

Magic Glyphs uses two licences, like most icon libraries with a free and a paid tier:

  • This package is MIT licensed: the code, the 120 free icons and the sounds. Use them in any personal or commercial project, change them and share them; keep the copyright notice with copies of the files. See LICENSE.
  • The paid icons (everything that needs a licence key) are covered by the commercial licence: a one-time purchase for the people in your plan, for any number of personal, commercial and client projects. Not allowed: reselling or redistributing them as icons, publishing them where others can download them, sharing keys, or using them to train or build icon generators.
  • The name "Magic Glyphs" is not covered by either licence: please don't use it as the name of your own project.

Guides

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

Support

Questions, licences, refunds or a bug: [email protected], or open an issue on GitHub.

© 2026 Magic Glyphs · magicglyphs.com

More from Lewis John Villamor

See all 23
P

PulseShift

Open-source crypto lab that draws AI buy/sell signals on live charts. Paper only.

Live
K

Kemdara

Cryptography Workbench

Building
P

Project Hibernate

Local desktop app that reclaims disk space from dormant dev projects by removing rebuildable artifacts, never source cod

Live
C

Confidential File Merger

Merges PDFs and images into one PDF on your own machine. Self-hosted, fully offline, nothing ever leaves your computer.

Live

Building a dev tool or hiring developers? Get seen here. Become our Sponsor

Stays free because of
  • RCastromero()
  • Michael William Mesina
  • Carlo Dandan
  • </Peter> "21st Dev Vinci"
  • Blairwitchii
  • Doctor Scoliosis
  • Francis Mike John Camogao
  • RCastromero()
  • Michael William Mesina
  • Carlo Dandan
  • </Peter> "21st Dev Vinci"
  • Blairwitchii
  • Doctor Scoliosis
  • Francis Mike John Camogao
  • RCastromero()
  • Michael William Mesina
  • Carlo Dandan
  • </Peter> "21st Dev Vinci"
  • Blairwitchii
  • Doctor Scoliosis
  • Francis Mike John Camogao
  • RCastromero()
  • Michael William Mesina
  • Carlo Dandan
  • </Peter> "21st Dev Vinci"
  • Blairwitchii
  • Doctor Scoliosis
  • Francis Mike John Camogao
Join them

Building a dev tool or hiring developers? Get seen here. Become our Sponsor

Stays free because of
  • Carlo Dandan
  • Blairwitchii
  • Francis Mike John Camogao
  • </Peter> "21st Dev Vinci"
  • RCastromero()
  • Doctor Scoliosis
  • Michael William Mesina
  • Carlo Dandan
  • Blairwitchii
  • Francis Mike John Camogao
  • </Peter> "21st Dev Vinci"
  • RCastromero()
  • Doctor Scoliosis
  • Michael William Mesina
  • Carlo Dandan
  • Blairwitchii
  • Francis Mike John Camogao
  • </Peter> "21st Dev Vinci"
  • RCastromero()
  • Doctor Scoliosis
  • Michael William Mesina
  • Carlo Dandan
  • Blairwitchii
  • Francis Mike John Camogao
  • </Peter> "21st Dev Vinci"
  • RCastromero()
  • Doctor Scoliosis
  • Michael William Mesina
Join them