Skip to content
Founders offer: 80% off every plan with code FOUNDERS80% off with FOUNDERSGet Magic Glyphs

Getting started

Terminal window
npm install magic-glyphs

The package includes 120 free icons and works straight away. If you bought the full set, log in once per computer with the licence key from your Gumroad receipt:

Terminal window
npx magic-glyphs login XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX

That checks your purchase and downloads every icon to your computer. After that, add, bundle, static and the MCP server can use all of them. On a build server, set the MAGIC_GLYPHS_KEY variable to the MG1... key that npx magic-glyphs licence --show-key prints, then run npx magic-glyphs sync.

Pick the row that matches your project.

Your project Install Then read
A plain HTML page npx magic-glyphs bundle --out magic-glyphs.js, then load that file Web
Angular, Svelte, Astro, Alpine, htmx npm install magic-glyphs Web
React or Next.js npm install magic-glyphs React and Vue
Vue or Nuxt npm install magic-glyphs React and Vue
WordPress Upload the wordpress/magic-glyphs folder as a plugin Web
Shopify Add one asset and one snippet to the theme Web
iOS, macOS, Android, Windows, Flutter npx magic-glyphs add ... --format lottie Native
You only want SVG files npx magic-glyphs add ... --format svg CLI
  1. One script. npx magic-glyphs bundle --out public/magic-glyphs.js writes the runtime plus every icon you are licensed for (name icons after bundle to include only those). The magic-glyphs.all.js inside the package holds the free set only. Good for prototypes, CMS sites and internal tools.
  2. Only what you use. Load the 7 KB runtime and register the icons you need. The CLI writes these files for you:
Terminal window
npx magic-glyphs add heart bell cart --format react --out src/icons
Terminal window
npx magic-glyphs search shopping cart
npx magic-glyphs list --category arrows

Or browse the sampler page.