Magic Glyphs for VS Code
Animated icons that move and make a sound, without leaving your editor.
Search 10,100+ icons in four styles (outline, solid, duotone and glass), watch each one play, and insert it as code that fits the file you are in.
Insert an icon
- Open the Magic Glyphs panel in the activity bar, click an icon to preview it, then Insert into editor (or double-click the icon).
- Or press Ctrl+Alt+G (Cmd+Alt+G on macOS), type a name, and pick a style.
What gets inserted depends on the file:
| File |
What you get |
React, Next.js (.tsx, .jsx) |
A small component such as BellGlyph.tsx in src/components/magic-glyphs, the import, and <BellGlyph sound /> |
Vue (.vue) |
A BellGlyph.vue component, the import in <script setup>, and <BellGlyph sound /> |
| HTML, Astro, Svelte, PHP, Markdown and other markup |
<magic-glyph name="bell" sound></magic-glyph> |
| Dart, Swift, Kotlin, C#, GDScript, Rust |
The npx magic-glyphs add command for Flutter, SwiftUI, Compose, WinUI, Godot or Rust, ready to run |
React and Vue components import from the magic-glyphs package; the extension offers to install it. For plain HTML, run Magic Glyphs: Insert Script Tag once per page.
Sound plays only after your page turns it on, and motion follows each visitor's reduced-motion setting.
Free and full library
120 icons are free under the MIT licence. The full library unlocks with a licence key: run Magic Glyphs: Enter Licence Key and paste the key from your Gumroad receipt. The key is kept in VS Code's secret storage.
Get a licence at magicglyphs.com.
Settings
magicGlyphs.componentsFolder: where React and Vue components are written (default: src/components/magic-glyphs, or magic-glyphs when there is no src folder).
magicGlyphs.sound: add the sound attribute to inserted icons (default on).
Privacy
The extension downloads the icon list and icon data from api.magicglyphs.com. It sends your licence key only to that server, to unlock the full library. It collects no usage data. See the privacy policy.
Docs · Browse icons · support@magicglyphs.com