magic-glyphs 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +126 -89
- package/cli/index.js +32 -13
- package/cli/video.js +36 -0
- package/data/icons/apple.json +1 -0
- package/data/icons/arrow-down.json +1 -0
- package/data/icons/arrow-left.json +1 -0
- package/data/icons/arrow-right.json +1 -0
- package/data/icons/arrow-up.json +1 -0
- package/data/icons/bag.json +1 -0
- package/data/icons/battery.json +1 -0
- package/data/icons/bell.json +1 -0
- package/data/icons/bike.json +1 -0
- package/data/icons/bird.json +1 -0
- package/data/icons/bolt.json +1 -0
- package/data/icons/book.json +1 -0
- package/data/icons/bookmark.json +1 -0
- package/data/icons/briefcase.json +1 -0
- package/data/icons/bug.json +1 -0
- package/data/icons/bus.json +1 -0
- package/data/icons/cake.json +1 -0
- package/data/icons/calendar.json +1 -0
- package/data/icons/camera.json +1 -0
- package/data/icons/car.json +1 -0
- package/data/icons/card.json +1 -0
- package/data/icons/cart.json +1 -0
- package/data/icons/cat.json +1 -0
- package/data/icons/chat.json +1 -0
- package/data/icons/check.json +1 -0
- package/data/icons/chevron-down.json +1 -0
- package/data/icons/chevron-left.json +1 -0
- package/data/icons/chevron-right.json +1 -0
- package/data/icons/chevron-up.json +1 -0
- package/data/icons/circle-alert.json +1 -0
- package/data/icons/circle-check.json +1 -0
- package/data/icons/circle-minus.json +1 -0
- package/data/icons/circle-plus.json +1 -0
- package/data/icons/circle-x.json +1 -0
- package/data/icons/clipboard.json +1 -0
- package/data/icons/clock.json +1 -0
- package/data/icons/cloud.json +1 -0
- package/data/icons/code.json +1 -0
- package/data/icons/coffee.json +1 -0
- package/data/icons/coin.json +1 -0
- package/data/icons/copy.json +1 -0
- package/data/icons/database.json +1 -0
- package/data/icons/dog.json +1 -0
- package/data/icons/download.json +1 -0
- package/data/icons/drop.json +1 -0
- package/data/icons/edit.json +1 -0
- package/data/icons/external-link.json +1 -0
- package/data/icons/eye-off.json +1 -0
- package/data/icons/eye.json +1 -0
- package/data/icons/file.json +1 -0
- package/data/icons/filter.json +1 -0
- package/data/icons/fish.json +1 -0
- package/data/icons/flag.json +1 -0
- package/data/icons/flame.json +1 -0
- package/data/icons/folder.json +1 -0
- package/data/icons/frown.json +1 -0
- package/data/icons/gift.json +1 -0
- package/data/icons/globe.json +1 -0
- package/data/icons/hand.json +1 -0
- package/data/icons/heart.json +1 -0
- package/data/icons/help.json +1 -0
- package/data/icons/home.json +1 -0
- package/data/icons/image.json +1 -0
- package/data/icons/info.json +1 -0
- package/data/icons/key.json +1 -0
- package/data/icons/laptop.json +1 -0
- package/data/icons/laugh.json +1 -0
- package/data/icons/leaf.json +1 -0
- package/data/icons/link.json +1 -0
- package/data/icons/lock.json +1 -0
- package/data/icons/mail.json +1 -0
- package/data/icons/map.json +1 -0
- package/data/icons/menu.json +1 -0
- package/data/icons/mic.json +1 -0
- package/data/icons/minus.json +1 -0
- package/data/icons/monitor.json +1 -0
- package/data/icons/moon.json +1 -0
- package/data/icons/music.json +1 -0
- package/data/icons/package.json +1 -0
- package/data/icons/pause.json +1 -0
- package/data/icons/pencil.json +1 -0
- package/data/icons/phone.json +1 -0
- package/data/icons/pin.json +1 -0
- package/data/icons/pizza.json +1 -0
- package/data/icons/plane.json +1 -0
- package/data/icons/play.json +1 -0
- package/data/icons/plus.json +1 -0
- package/data/icons/printer.json +1 -0
- package/data/icons/receipt.json +1 -0
- package/data/icons/refresh.json +1 -0
- package/data/icons/rocket.json +1 -0
- package/data/icons/save.json +1 -0
- package/data/icons/search.json +1 -0
- package/data/icons/server.json +1 -0
- package/data/icons/settings.json +1 -0
- package/data/icons/share.json +1 -0
- package/data/icons/shield.json +1 -0
- package/data/icons/smile.json +1 -0
- package/data/icons/star.json +1 -0
- package/data/icons/stop.json +1 -0
- package/data/icons/store.json +1 -0
- package/data/icons/sun.json +1 -0
- package/data/icons/tablet.json +1 -0
- package/data/icons/tag.json +1 -0
- package/data/icons/terminal.json +1 -0
- package/data/icons/thumbs-down.json +1 -0
- package/data/icons/thumbs-up.json +1 -0
- package/data/icons/train.json +1 -0
- package/data/icons/trash.json +1 -0
- package/data/icons/tree.json +1 -0
- package/data/icons/truck.json +1 -0
- package/data/icons/upload.json +1 -0
- package/data/icons/user.json +1 -0
- package/data/icons/users.json +1 -0
- package/data/icons/video.json +1 -0
- package/data/icons/volume.json +1 -0
- package/data/icons/wallet.json +1 -0
- package/data/icons/wave.json +1 -0
- package/data/icons/wifi.json +1 -0
- package/data/icons/wink.json +1 -0
- package/data/index.json +1 -1
- package/docs/avalonia.md +15 -0
- package/docs/cli.md +1 -1
- package/docs/figma.md +12 -0
- package/docs/flutter.md +18 -0
- package/docs/godot.md +13 -0
- package/docs/images-video.md +42 -0
- package/docs/jetpack-compose.md +39 -0
- package/docs/maker.md +64 -0
- package/docs/maui.md +17 -0
- package/docs/more-frameworks.md +49 -0
- package/docs/native-lottie.md +5 -0
- package/docs/qt.md +26 -0
- package/docs/react-native.md +34 -0
- package/docs/react-vue.md +12 -1
- package/docs/rust.md +43 -0
- package/docs/site-builders.md +27 -0
- package/docs/sound.md +2 -2
- package/docs/swiftui.md +22 -0
- package/docs/tauri-rust.md +15 -0
- package/docs/unity.md +15 -0
- package/docs/windows.md +23 -0
- package/lib.js +9 -1
- package/mcp/server.js +1 -1
- package/package.json +48 -11
- package/shopify/magic-glyph.liquid +8 -6
- package/tools/apng.js +36 -0
- package/tools/baked.js +30 -0
- package/tools/gif.js +60 -0
- package/tools/motion.js +31 -0
- package/tools/native.js +208 -0
- package/tools/native2.js +432 -0
- package/tools/raster.js +139 -0
- package/web/magic-glyphs.all.js +4 -3
- package/web/runtime.js +4 -3
- package/wordpress/magic-glyphs/magic-glyphs.all.js +4 -3
- package/wordpress/magic-glyphs/magic-glyphs.php +19 -6
package/LICENSE.md
CHANGED
package/README.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
# Magic Glyphs
|
|
1
|
+
# Magic Glyphs: animated icons with sound
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**An animated icon library for React, Next.js, Vue, Nuxt, Svelte, Astro, Angular, Solid, shadcn, plain HTML, WordPress, Shopify, Webflow, Framer, React Native, SwiftUI, Jetpack Compose, Compose Multiplatform, Flutter, Windows, .NET MAUI, Avalonia, Qt, Tauri, Rust, Godot, Unity and Figma, plus GIF and MP4 for email, slides and chat.** 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 that turns your own SVG or image into an animated icon, a command line tool, and an MCP server so coding assistants can insert icons for you.
|
|
4
4
|
|
|
5
|
-

|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
**[Live demo, docs and free icon browser →](https://magicglyphs.com)**
|
|
8
8
|
|
|
9
|
-
**
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
- **120 free icons** in this package, free for personal and commercial use.
|
|
10
|
+
- **3,950+ icons** in the full library with a licence key: interface, arrows, files, commerce, devices, media, food, nature, people, travel and flags.
|
|
11
|
+
- **Tiny:** about 8 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.
|
|
12
|
+
- **Animated GIF, APNG, MP4 and WebM** for places that cannot run code: `--format gif`, video with the sound baked in.
|
|
13
|
+
- **Accessible:** respects reduced motion, takes an accessible label, and sound is easy to mute.
|
|
12
14
|
|
|
13
15
|
## Install
|
|
14
16
|
|
|
@@ -16,46 +18,67 @@ This package includes **120 free icons**. A licence key unlocks the full library
|
|
|
16
18
|
npm install magic-glyphs
|
|
17
19
|
```
|
|
18
20
|
|
|
19
|
-
|
|
21
|
+
The command line tool needs Node.js 18 or later. The browser code has no dependencies.
|
|
20
22
|
|
|
21
23
|
## Quick start
|
|
22
24
|
|
|
23
|
-
###
|
|
25
|
+
### HTML, no build step
|
|
24
26
|
|
|
25
27
|
```html
|
|
26
|
-
<script src="
|
|
28
|
+
<script src="https://unpkg.com/magic-glyphs/web/magic-glyphs.all.js" defer></script>
|
|
27
29
|
|
|
28
30
|
<magic-glyph name="heart"></magic-glyph>
|
|
29
31
|
<magic-glyph name="bell" variant="duotone" size="32" sound></magic-glyph>
|
|
32
|
+
<magic-glyphs-sound-toggle></magic-glyphs-sound-toggle> <!-- a mute switch for visitors -->
|
|
30
33
|
```
|
|
31
34
|
|
|
32
|
-
|
|
35
|
+
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.
|
|
33
36
|
|
|
34
|
-
|
|
35
|
-
import { MagicGlyph, register } from 'magic-glyphs/react';
|
|
36
|
-
import icons from 'magic-glyphs/icons.json';
|
|
37
|
+
### React and Next.js
|
|
37
38
|
|
|
38
|
-
|
|
39
|
+
```bash
|
|
40
|
+
npx magic-glyphs add heart bell --format react --out src/icons
|
|
41
|
+
```
|
|
39
42
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
```tsx
|
|
44
|
+
import HeartGlyph from './icons/HeartGlyph';
|
|
45
|
+
|
|
46
|
+
<HeartGlyph size={24} label="Like" sound soundOptions={{ pitch: 2 }} />
|
|
43
47
|
```
|
|
44
48
|
|
|
45
|
-
|
|
49
|
+
Components are typed in TypeScript projects and marked `'use client'`, so they work inside Next.js server components.
|
|
50
|
+
|
|
51
|
+
### Vue and Nuxt
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
npx magic-glyphs add heart bell --format vue --out components
|
|
55
|
+
```
|
|
46
56
|
|
|
47
57
|
```vue
|
|
48
|
-
<
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
</template>
|
|
58
|
+
<HeartGlyph :size="24" label="Like" />
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### shadcn
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
npx magic-glyphs shadcn
|
|
65
|
+
npx shadcn@latest add @magic-glyphs/heart
|
|
57
66
|
```
|
|
58
67
|
|
|
68
|
+
### React Native, SwiftUI, Jetpack Compose, Flutter, Windows
|
|
69
|
+
|
|
70
|
+
One ready-to-use component file per icon, with the animation built in and its sound as a WAV file:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npx magic-glyphs add heart --format react-native --sound # or swiftui, compose, flutter, winui
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Lottie files are also available with `--format lottie` for any Lottie player.
|
|
77
|
+
|
|
78
|
+
### Tauri and other web-view apps
|
|
79
|
+
|
|
80
|
+
Use the HTML, React, Vue or Svelte setup above: Tauri, Dioxus and Leptos draw their interface in a web view.
|
|
81
|
+
|
|
59
82
|
## Options
|
|
60
83
|
|
|
61
84
|
| Attribute | Values | Default |
|
|
@@ -64,7 +87,7 @@ register(icons);
|
|
|
64
87
|
| `variant` | `outline`, `solid`, `duotone`, `glass` | `outline` |
|
|
65
88
|
| `size` | Pixels | `24` |
|
|
66
89
|
| `trigger` | `hover`, `click`, `load`, `visible`, `none` | `hover` |
|
|
67
|
-
| `sound` | Present
|
|
90
|
+
| `sound` | Present to play the icon's sound; `off` to keep an icon silent | off |
|
|
68
91
|
| `label` | Accessible name; leave out for decorative icons | none |
|
|
69
92
|
|
|
70
93
|
Icons take their colour from CSS `color`. Three CSS variables tune the other styles:
|
|
@@ -78,39 +101,55 @@ Icons take their colour from CSS `color`. Three CSS variables tune the other sty
|
|
|
78
101
|
}
|
|
79
102
|
```
|
|
80
103
|
|
|
104
|
+
## Sound
|
|
105
|
+
|
|
106
|
+
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:
|
|
107
|
+
|
|
108
|
+
```html
|
|
109
|
+
<magic-glyph name="bell" sound sound-pitch="-3" sound-speed="1.2" sound-tone="-0.4"></magic-glyph>
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
| Setting | Range |
|
|
113
|
+
|---|---|
|
|
114
|
+
| `sound-name` | any of the 39 sounds |
|
|
115
|
+
| `sound-volume` | 0 to 2 |
|
|
116
|
+
| `sound-pitch` | -12 to 12 semitones |
|
|
117
|
+
| `sound-speed` | 0.5 to 2 |
|
|
118
|
+
| `sound-tone` | -1 (softer) to 1 (brighter) |
|
|
119
|
+
| `sound-pan` | 0 (centred) to 1 (follows the icon) |
|
|
120
|
+
| `sound-delay` | milliseconds, or `auto` to line impact sounds up with the motion |
|
|
121
|
+
|
|
122
|
+
In React and Vue, use `soundOptions`. Browsers allow audio only after the visitor's first click or key press. [Hear every sound.](https://magicglyphs.com/docs/sound/)
|
|
123
|
+
|
|
124
|
+
## Icon maker
|
|
125
|
+
|
|
126
|
+
Paid licences include the **[icon maker](https://magicglyphs.com/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:
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
npx magic-glyphs add my-logo --from my-icons/ --format react
|
|
130
|
+
```
|
|
131
|
+
|
|
81
132
|
## Command line tool
|
|
82
133
|
|
|
83
134
|
```bash
|
|
84
135
|
npx magic-glyphs search shopping cart # find icons
|
|
85
136
|
npx magic-glyphs list --free # the free set
|
|
86
137
|
npx magic-glyphs add heart bell --format react --out src/icons
|
|
87
|
-
npx magic-glyphs add rocket --format lottie --
|
|
138
|
+
npx magic-glyphs add rocket --format lottie --sound
|
|
88
139
|
npx magic-glyphs bundle heart bell --out public/magic-glyphs.js
|
|
89
140
|
npx magic-glyphs static --out public/icons # plain SVG files and sprites
|
|
141
|
+
npx magic-glyphs update # newer version and new icons
|
|
90
142
|
```
|
|
91
143
|
|
|
92
|
-
Formats for `add`: `svg`, `react`, `vue`, `html`, `
|
|
144
|
+
Formats for `add`: `svg`, `react`, `vue`, `html`, `json`, `lottie`, `wav`, `react-native`, `swiftui`, `compose`, `flutter`, `winui`.
|
|
93
145
|
|
|
94
|
-
##
|
|
146
|
+
## MCP server for coding assistants
|
|
95
147
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
```html
|
|
99
|
-
<magic-glyph name="bell" sound></magic-glyph>
|
|
100
|
-
<script>MagicGlyphs.sound.enable(true); MagicGlyphs.sound.volume(0.4);</script>
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
Shape any icon's sound with volume, pitch, speed, tone, stereo and timing:
|
|
104
|
-
|
|
105
|
-
```html
|
|
106
|
-
<magic-glyph name="bell" sound sound-pitch="-3" sound-tone="-0.4"></magic-glyph>
|
|
148
|
+
```bash
|
|
149
|
+
npx -y magic-glyphs-mcp
|
|
107
150
|
```
|
|
108
151
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
## Icon maker
|
|
112
|
-
|
|
113
|
-
Paid licences include the **[icon maker](https://magic-glyphs-site.lewisvillamor26.workers.dev/maker/)**: upload your own SVG (or remix any library icon), and it is fitted to the grid in the same line style. Choose a motion and shape its sound, then export SVG, React, Vue, HTML, Lottie or icon data.
|
|
152
|
+
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`](https://www.npmjs.com/package/magic-glyphs-mcp) package so the icon package stays small.
|
|
114
153
|
|
|
115
154
|
## The full library
|
|
116
155
|
|
|
@@ -118,61 +157,59 @@ Paid licences include the **[icon maker](https://magic-glyphs-site.lewisvillamor
|
|
|
118
157
|
npx magic-glyphs login YOUR-LICENCE-KEY
|
|
119
158
|
```
|
|
120
159
|
|
|
121
|
-
Buy a licence at **[magicscraper.gumroad.com/l/vjaxbp](https://magicscraper.gumroad.com/l/vjaxbp)**.
|
|
160
|
+
Buy a licence at **[magicscraper.gumroad.com/l/vjaxbp](https://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.
|
|
122
161
|
|
|
123
|
-
. Devices unused for 30 days free themselves, and `npx magic-glyphs logout` frees one at once. For CI and build servers, run `npx magic-glyphs build-key` once, store the key as `MAGIC_GLYPHS_KEY`, and run `npx magic-glyphs sync` in the build. `npx magic-glyphs update` fetches icons added later.
|
|
162
|
+

|
|
126
163
|
|
|
127
164
|
## Where it works
|
|
128
165
|
|
|
129
|
-
| Platform | How |
|
|
130
|
-
|
|
131
|
-
| HTML,
|
|
132
|
-
| React, Next.js | `magic-glyphs/react
|
|
133
|
-
|
|
|
134
|
-
| Astro, Svelte,
|
|
135
|
-
|
|
|
136
|
-
| WordPress |
|
|
137
|
-
| Shopify |
|
|
138
|
-
|
|
|
139
|
-
|
|
|
140
|
-
|
|
|
166
|
+
| Platform | How | Tested |
|
|
167
|
+
|---|---|---|
|
|
168
|
+
| HTML, JavaScript, no build step | `<magic-glyph>` tag | yes |
|
|
169
|
+
| React, Next.js | `magic-glyphs/react`, generated components | Vite + TypeScript, Next.js App Router |
|
|
170
|
+
| Vue, Nuxt | `magic-glyphs/vue`, generated components | Vite + TypeScript, Nuxt 4 |
|
|
171
|
+
| Astro, Svelte, Tailwind CSS | `<magic-glyph>` tag | Astro 5, Svelte 5 + Tailwind 4 |
|
|
172
|
+
| shadcn | official registry | shadcn 4 |
|
|
173
|
+
| WordPress | plugin in `wordpress/` | PHP checked |
|
|
174
|
+
| Shopify | snippet in `shopify/` | |
|
|
175
|
+
| React Native | `--format react-native` | type-checked |
|
|
176
|
+
| SwiftUI, Jetpack Compose, Flutter, Windows (WinUI) | `--format swiftui`, `compose`, `flutter`, `winui` | not yet on devices |
|
|
177
|
+
| Qt Quick (QML) | `--format qml`, native vectors | rendered in Qt 6.12 |
|
|
178
|
+
| Avalonia, .NET MAUI | `--format avalonia`, `maui` | not yet compiled |
|
|
179
|
+
| Compose Multiplatform | `--format compose-multiplatform` | not yet compiled |
|
|
180
|
+
| Godot, Unity, other game engines | `--format godot`, `unity`, `spritesheet` | not yet in the engines |
|
|
181
|
+
| Rust (egui, iced, Slint) | `cargo add magic-glyphs`, `--format rust` | tested |
|
|
182
|
+
| Email, slides, Canva, Notion, Slack, Discord | `--format gif`, `apng`, `mp4`, `webm` | decoded and checked |
|
|
183
|
+
| Webflow, Framer, Wix, Squarespace, Ghost | script + embed | |
|
|
184
|
+
| Figma, FigJam, Figma Slides | Magic Glyphs plugin | panel tested |
|
|
185
|
+
| Tauri, Dioxus, Leptos | web setup | |
|
|
186
|
+
| Any Lottie player | `--format lottie` | checked against an independent renderer |
|
|
187
|
+
| Coding assistants | `magic-glyphs-mcp` | yes |
|
|
141
188
|
|
|
142
189
|
## Limitations
|
|
143
190
|
|
|
144
|
-
- **
|
|
145
|
-
- **
|
|
146
|
-
- **
|
|
147
|
-
- **
|
|
148
|
-
- **
|
|
149
|
-
- **
|
|
150
|
-
- **Reduced motion:** when a
|
|
151
|
-
- **Seats and devices:** the number of people on a plan is not checked; the number of devices is.
|
|
152
|
-
- **Icon maker:** SVG text must be converted to outlines first, and stroke widths are replaced by the library's line weight. PNG, JPG and WebP tracing (beta) suits simple, high-contrast artwork, not photos.
|
|
191
|
+
- **Native app components** (SwiftUI, Compose, Flutter, WinUI, MAUI, Avalonia, Godot, Unity) are generated from tested exports but have not yet been run in those tools. The Qt and Rust outputs have been rendered and tested.
|
|
192
|
+
- **MP4 and WebM from the command line** need ffmpeg; the icon maker makes them in the browser without it.
|
|
193
|
+
- **Sound in native apps** comes as a separate `.wav` file; Lottie and static SVG themselves are silent.
|
|
194
|
+
- **Glass style** is not available in Lottie, native or static SVG exports.
|
|
195
|
+
- **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.
|
|
196
|
+
- **Flags** are simplified to fit a small grid.
|
|
197
|
+
- **Reduced motion:** when a device asks for reduced motion, icons do not animate.
|
|
153
198
|
|
|
154
199
|
## Licence
|
|
155
200
|
|
|
156
201
|
- **Free icons:** use them in any personal or commercial project, no attribution needed.
|
|
157
|
-
- **Paid icons:** one-time purchase
|
|
202
|
+
- **Paid icons:** one-time purchase for the people and devices in your plan.
|
|
158
203
|
- **Not allowed:** reselling or redistributing the icons as icons, publishing the paid icons where others can download them, or using them to train or build icon generators.
|
|
159
204
|
|
|
160
|
-
The full terms are in [`LICENSE.md`](https://unpkg.com/magic-glyphs/LICENSE.md)
|
|
205
|
+
The full terms are in [`LICENSE.md`](https://unpkg.com/magic-glyphs/LICENSE.md).
|
|
161
206
|
|
|
162
207
|
## Guides
|
|
163
208
|
|
|
164
|
-
|
|
209
|
+
[Getting started](https://magicglyphs.com/docs/getting-started/) · [HTML, WordPress, Shopify](https://magicglyphs.com/docs/web/) · [React, Next.js, Vue, Nuxt](https://magicglyphs.com/docs/react-vue/) · [shadcn](https://magicglyphs.com/docs/shadcn/) · [Astro, Svelte, Tailwind](https://magicglyphs.com/docs/frameworks/) · [React Native](https://magicglyphs.com/docs/react-native/) · [SwiftUI](https://magicglyphs.com/docs/swiftui/) · [Jetpack Compose](https://magicglyphs.com/docs/jetpack-compose/) · [Flutter](https://magicglyphs.com/docs/flutter/) · [Windows](https://magicglyphs.com/docs/windows/) · [Tauri and Rust](https://magicglyphs.com/docs/tauri-rust/) · [Sound](https://magicglyphs.com/docs/sound/) · [CLI](https://magicglyphs.com/docs/cli/) · [MCP](https://magicglyphs.com/docs/mcp/) · [Every other framework](https://magicglyphs.com/docs/more-frameworks/) · [Webflow, Framer, Wix](https://magicglyphs.com/docs/site-builders/) · [GIF, PNG and video](https://magicglyphs.com/docs/images-video/) · [Qt](https://magicglyphs.com/docs/qt/) · [Avalonia](https://magicglyphs.com/docs/avalonia/) · [.NET MAUI](https://magicglyphs.com/docs/maui/) · [Rust crate](https://magicglyphs.com/docs/rust/) · [Godot](https://magicglyphs.com/docs/godot/) · [Unity](https://magicglyphs.com/docs/unity/) · [Figma](https://magicglyphs.com/docs/figma/)
|
|
165
210
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
| [Native through Lottie](https://unpkg.com/magic-glyphs/docs/native-lottie.md) | iOS, macOS, Android, Windows, Flutter |
|
|
172
|
-
| [Theming](https://unpkg.com/magic-glyphs/docs/theming.md) | Colours and the four styles |
|
|
173
|
-
| [Static SVG](https://unpkg.com/magic-glyphs/docs/static.md) | Files and sprites with no JavaScript |
|
|
174
|
-
| [Command line tool](https://unpkg.com/magic-glyphs/docs/cli.md) | Every command and option |
|
|
175
|
-
| [Licence keys](https://unpkg.com/magic-glyphs/docs/licence.md) | Logging in, build servers |
|
|
176
|
-
| [Data format](https://unpkg.com/magic-glyphs/docs/data-format.md) | For writing your own renderer |
|
|
177
|
-
|
|
178
|
-
Made by Lewis John Villamor.
|
|
211
|
+
## Support
|
|
212
|
+
|
|
213
|
+
Questions, licences, refunds or a bug: **[support@magicglyphs.com](mailto:support@magicglyphs.com)**, or open an issue on GitHub.
|
|
214
|
+
|
|
215
|
+
© 2026 Magic Glyphs · [magicglyphs.com](https://magicglyphs.com)
|
package/cli/index.js
CHANGED
|
@@ -19,17 +19,25 @@ Usage
|
|
|
19
19
|
magic-glyphs --version
|
|
20
20
|
magic-glyphs shadcn [--env] connect a shadcn project: npx shadcn add @magic-glyphs/<icon>
|
|
21
21
|
magic-glyphs build-key a key for CI and build servers (does not use a device slot)
|
|
22
|
-
magic-glyphs buy
|
|
22
|
+
magic-glyphs buy show the link where you can buy a licence
|
|
23
23
|
|
|
24
24
|
Options for add
|
|
25
25
|
--format <f> svg (default) | lottie | react | vue | json | html | wav (the icon's sound)
|
|
26
|
+
gif | apng (animated images for email, slides, Canva, Notion, Slack and Discord emoji)
|
|
27
|
+
webm | mp4 (video with the sound baked in, for social posts and slides; needs ffmpeg)
|
|
28
|
+
react-native | swiftui | compose | compose-multiplatform | flutter | winui
|
|
29
|
+
maui | avalonia | qml (Qt Quick) | godot | unity | rust | spritesheet (PNG grid + JSON)
|
|
26
30
|
--sound with --format lottie, also write each icon's sound as a .wav file
|
|
27
31
|
--style <s> outline (default) | solid | duotone | glass
|
|
28
32
|
--out <dir> where to write (default ./magic-glyphs)
|
|
29
33
|
--color <hex> main colour (svg default: currentColor, lottie default: #000000)
|
|
30
34
|
--secondary <hex> duotone fill colour
|
|
31
35
|
--background <hex> colour knocked out of solid icons (default #ffffff)
|
|
32
|
-
--size <px>
|
|
36
|
+
--size <px> width and height (svg 24, gif 256, apng 128, webm/mp4 512, spritesheet/unity frames 128)
|
|
37
|
+
--loop <n> gif and apng: times to play (default 0 = forever)
|
|
38
|
+
--hold <s> gif, apng and video: seconds to hold the last pose (default 0.6)
|
|
39
|
+
--matte <hex> gif with no --background: colour soft edges blend into (default #ffffff)
|
|
40
|
+
--no-sound webm and mp4 without the sound
|
|
33
41
|
--ts | --js typed or plain React/Vue components (default: typed when the project has a tsconfig.json)
|
|
34
42
|
--from <path> your own icons: JSON from the icon maker (a file or a folder), no licence needed
|
|
35
43
|
--stdout print a single icon instead of writing a file
|
|
@@ -39,10 +47,14 @@ Examples
|
|
|
39
47
|
magic-glyphs search shopping cart
|
|
40
48
|
magic-glyphs add heart bell --format react --out src/icons
|
|
41
49
|
magic-glyphs add my-logo --from my-icons/ --format lottie
|
|
50
|
+
magic-glyphs add rocket --format gif --color "#7c3aed" --background "#ffffff"
|
|
51
|
+
magic-glyphs add bell --format mp4 --size 1080
|
|
42
52
|
magic-glyphs add --category arrows --format lottie --color "#2747f5" --out assets/lottie
|
|
53
|
+
|
|
54
|
+
Docs: https://magicglyphs.com/docs/ Support: support@magicglyphs.com
|
|
43
55
|
`;
|
|
44
56
|
function parse(argv){const pos=[],opt={};for(let i=0;i<argv.length;i++){const a=argv[i];
|
|
45
|
-
if(a.startsWith('--')){const k=a.slice(2);if(['json','all','stdout','dry-run','help','free','show-key','version','ts','js','sound','env'].includes(k))opt[k]=true;else{if(i+1>=argv.length)fail('Option --'+k+' needs a value.');opt[k]=argv[++i]}}
|
|
57
|
+
if(a.startsWith('--')){const k=a.slice(2);if(['json','all','stdout','dry-run','help','free','show-key','version','ts','js','sound','env','no-sound'].includes(k))opt[k]=true;else{if(i+1>=argv.length)fail('Option --'+k+' needs a value.');opt[k]=argv[++i]}}
|
|
46
58
|
else if(a==='-h')opt.help=true;else if(a==='-v')opt.version=true;else pos.push(a)}return{pos,opt}}
|
|
47
59
|
// fetch the full set for a valid key; the server address comes from MAGIC_GLYPHS_API or package.json "magicGlyphs.api"
|
|
48
60
|
const apiBase=()=>(process.env.MAGIC_GLYPHS_API||(require('../package.json').magicGlyphs||{}).api||'').replace(/\/$/,'');
|
|
@@ -65,11 +77,8 @@ function fail(msg){process.stderr.write('magic-glyphs: '+msg+'\n');process.exit(
|
|
|
65
77
|
// where to buy a licence; MAGIC_GLYPHS_BUY or package.json "magicGlyphs.buy"
|
|
66
78
|
const buyUrl=()=>process.env.MAGIC_GLYPHS_BUY||(require('../package.json').magicGlyphs||{}).buy||'';
|
|
67
79
|
const BUYLINE=()=>buyUrl()?'Buy a licence: '+buyUrl()+' (or run: npx magic-glyphs buy)':'';
|
|
68
|
-
//
|
|
69
|
-
function openBuy(){
|
|
70
|
-
if(!process.stdout.isTTY||process.env.CI||process.env.MAGIC_GLYPHS_NO_OPEN)return false;
|
|
71
|
-
const cp=require('child_process');const [c,a]=process.platform==='win32'?['cmd',['/c','start','""',u]]:process.platform==='darwin'?['open',[u]]:['xdg-open',[u]];
|
|
72
|
-
try{const ch=cp.spawn(c,a,{stdio:'ignore',detached:true});ch.on('error',()=>{});ch.unref();return true}catch(e){return false}}
|
|
80
|
+
// the buy link is printed, never opened: the CLI does not start other programs
|
|
81
|
+
function openBuy(){return false}
|
|
73
82
|
function failBuy(msg){process.stderr.write('magic-glyphs: '+msg+'\n');const b=BUYLINE();if(b)process.stderr.write(b+'\n');process.exit(1)}
|
|
74
83
|
const {pos,opt}=parse(process.argv.slice(2)),cmd=pos.shift();
|
|
75
84
|
// --from: your own icons (JSON exported from the icon maker), a file or a folder; several separated by commas
|
|
@@ -102,14 +111,24 @@ try{
|
|
|
102
111
|
if(opt.size&&!(+opt.size>0))fail('--size must be a positive number.');
|
|
103
112
|
for(const k of ['color','secondary','background'])if(opt[k]&&!/^#([0-9a-f]{3}|[0-9a-f]{6})$/i.test(opt[k])&&!(format==='svg'&&/^[a-z]+$/i.test(opt[k])))fail('--'+k+' must be a hex colour such as #2747f5.');
|
|
104
113
|
// wav: the icon's sound as an audio file, for native apps (Lottie and static exports are silent); --sound adds one next to each Lottie file
|
|
105
|
-
|
|
106
|
-
|
|
114
|
+
// gif, apng, webm, mp4: frames are drawn here (no browser needed); video also needs ffmpeg
|
|
115
|
+
if(['gif','apng','webm','mp4'].includes(format)){if(opt.stdout)fail('Animated files cannot be printed; use --out.');
|
|
116
|
+
if(opt.loop!==undefined&&!(+opt.loop>=0))fail('--loop must be 0 (forever) or a number of plays.');if(opt.hold!==undefined&&!(+opt.hold>=0))fail('--hold must be seconds, such as 0.6.');
|
|
117
|
+
if(opt.matte&&!/^#([0-9a-f]{3}|[0-9a-f]{6})$/i.test(opt.matte))fail('--matte must be a hex colour such as #ffffff.');
|
|
118
|
+
const M=require('../tools/motion.js'),dir=path.resolve(opt.out||'magic-glyphs'),mo=Object.assign({},o,{loop:opt.loop,hold:opt.hold===undefined?undefined:+opt.hold,matte:opt.matte,sound:!opt['no-sound']});
|
|
119
|
+
if(opt['dry-run']){console.log('Would write '+names.length+' file'+(names.length>1?'s':'')+' to '+dir+': '+names.map(n=>n+'.'+(format==='apng'?'png':format)).join(', '));return}
|
|
120
|
+
(async()=>{fs.mkdirSync(dir,{recursive:true});const done=[];
|
|
121
|
+
for(const n of names){const data=format==='gif'?await M.gif(L,n,mo):format==='apng'?await M.apng(L,n,mo):await require('./video.js').video(L,n,format,mo);
|
|
122
|
+
const file=n+(o.style&&o.style!=='outline'?'.'+o.style:'')+'.'+(format==='apng'?'png':format);fs.writeFileSync(path.join(dir,file),data);done.push(file+' ('+Math.round(data.length/1024)+' KB)')}
|
|
123
|
+
console.log('Wrote '+done.length+' file'+(done.length>1?'s':'')+' to '+dir+(done.length<=6?': '+done.join(', '):''))})().catch(e=>fail(e.message));return}
|
|
124
|
+
if(format==='wav'||(['lottie','react-native','swiftui','compose','flutter','winui','maui','avalonia','qml','godot','unity','compose-multiplatform','spritesheet'].includes(format)&&opt.sound)){if(opt.stdout)fail('Audio cannot be printed; use --out.');const A=require('../tools/audio.js'),dir=path.resolve(opt.out||'magic-glyphs');
|
|
125
|
+
(async()=>{const files=[];for(const n of names){if(format!=='wav')files.push(L.render(n,format,o));const ic=L.byName.get(n);if(!ic.s){if(format==='wav')console.log(n+' has no sound; skipped.');continue}
|
|
107
126
|
files.push({file:n+'.wav',data:await A.wav(L.MG,n)})}
|
|
108
|
-
if(!opt['dry-run']){fs.mkdirSync(dir,{recursive:true});files.forEach(f=>fs.writeFileSync(path.join(dir,f.file),f.data||f.text))}
|
|
127
|
+
if(!opt['dry-run']){fs.mkdirSync(dir,{recursive:true});files.forEach(f=>{fs.writeFileSync(path.join(dir,f.file),f.data||f.text);(f.extra||[]).forEach(x=>fs.writeFileSync(path.join(dir,x.file),x.data))})}
|
|
109
128
|
console.log((opt['dry-run']?'Would write ':'Wrote ')+files.length+' file'+(files.length===1?'':'s')+' to '+dir+(files.length<=6?': '+files.map(f=>f.file).join(', '):''))})().catch(e=>fail(e.message));return}
|
|
110
129
|
if(opt.stdout){if(names.length!==1)fail('--stdout prints one icon; name exactly one.');process.stdout.write(L.render(names[0],format,o).text+'\n')}
|
|
111
130
|
else{const dir=path.resolve(opt.out||'magic-glyphs');const files=names.map(n=>L.render(n,format,o));
|
|
112
|
-
if(!opt['dry-run']){fs.mkdirSync(dir,{recursive:true});files.forEach(f=>fs.writeFileSync(path.join(dir,f.file),f.text))}
|
|
131
|
+
if(!opt['dry-run']){fs.mkdirSync(dir,{recursive:true});files.forEach(f=>{fs.writeFileSync(path.join(dir,f.file),f.data||f.text);(f.extra||[]).forEach(x=>fs.writeFileSync(path.join(dir,x.file),x.data))})}
|
|
113
132
|
console.log((opt['dry-run']?'Would write ':'Wrote ')+files.length+' file'+(files.length>1?'s':'')+' to '+dir+(files.length<=6?': '+files.map(f=>f.file).join(', '):''));
|
|
114
133
|
if(format==='react'||format==='vue')console.log('These components import from the "magic-glyphs" package, so keep it installed.');}
|
|
115
134
|
}
|
|
@@ -136,7 +155,7 @@ try{
|
|
|
136
155
|
if(!/^\.env(\.local|\*|.*\*)?\s*$/m.test(g)&&!/^\*\.local\s*$/m.test(g)){fs.writeFileSync(gi,(g&&!g.endsWith('\n')?g+'\n':g)+'.env.local\n');console.log('Added .env.local to .gitignore.')}
|
|
137
156
|
console.log('Saved your licence key to .env.local for shadcn. Keep that file out of version control.')}
|
|
138
157
|
else console.log('Paid icons need your licence key where shadcn can read it. Either run this again with --env to save it to .env.local,\nor add this line to .env.local yourself (keep it out of version control):\n MAGIC_GLYPHS_KEY=<the key from: npx magic-glyphs licence --show-key>')}
|
|
139
|
-
else if(cmd==='buy'){const u=buyUrl();if(!u)fail('No buy page is configured.');console.log(
|
|
158
|
+
else if(cmd==='buy'){const u=buyUrl();if(!u)fail('No buy page is configured.');console.log('Buy a licence: '+u)}
|
|
140
159
|
else if(cmd==='login'||cmd==='sync'){
|
|
141
160
|
if(cmd==='login'){if(!pos[0]||/^<.*>$/.test(pos[0])||/gumroad-key|your-.*key|^x{8}(-x{8}){3}$/i.test(pos[0])){const o=openBuy();
|
|
142
161
|
failBuy('Give the licence key from your Gumroad receipt, like: magic-glyphs login ABCD1234-EFGH5678-IJKL9012-MNOP3456'+(o?'\nOpening the buy page in your browser.':''))}
|
package/cli/video.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// WebM and MP4 export for the command line. Video encoding needs ffmpeg, which this calls directly
|
|
2
|
+
// (an argument list, never a shell). It is only loaded for --format webm or mp4.
|
|
3
|
+
// Without ffmpeg, the icon maker at https://magicglyphs.com/maker/ exports the same videos in the browser.
|
|
4
|
+
const fs=require('fs'),os=require('os'),path=require('path');
|
|
5
|
+
const M=require('../tools/motion.js');
|
|
6
|
+
|
|
7
|
+
function findFfmpeg(){
|
|
8
|
+
const env=process.env.MAGIC_GLYPHS_FFMPEG;if(env)return env;
|
|
9
|
+
const exe=process.platform==='win32'?'ffmpeg.exe':'ffmpeg';
|
|
10
|
+
for(const dir of (process.env.PATH||'').split(path.delimiter)){const p=path.join(dir,exe);try{if(fs.statSync(p).isFile())return p}catch(e){}}
|
|
11
|
+
return null;
|
|
12
|
+
}
|
|
13
|
+
async function video(L,name,format,o){
|
|
14
|
+
const ff=findFfmpeg();
|
|
15
|
+
if(!ff)throw new Error('WebM and MP4 export needs ffmpeg (https://ffmpeg.org: winget install ffmpeg, brew install ffmpeg or apt install ffmpeg).\nOr export the video in your browser: https://magicglyphs.com/maker/ (open the icon, then Export > MP4 or WebM).\nGIF and APNG need nothing extra: --format gif or --format apng.');
|
|
16
|
+
const r=M.frames(L,name,format,o),fps=r.fps,W=r.width,H=r.height;
|
|
17
|
+
// constant frame rate: each frame repeats for as long as it is shown
|
|
18
|
+
const seq=[];r.frames.forEach((f,i)=>{for(let k=Math.max(1,Math.round(r.delays[i]*fps));k>0;k--)seq.push(f)});
|
|
19
|
+
const seconds=seq.length/fps,snd=o.sound===false?null:await M.soundtrack(L,name,seconds,r.lead);
|
|
20
|
+
const tmp=fs.mkdtempSync(path.join(os.tmpdir(),'magic-glyphs-')),out=path.join(tmp,'out.'+format);
|
|
21
|
+
const args=['-v','error','-y','-f','rawvideo','-pix_fmt','rgba','-s',W+'x'+H,'-r',String(fps),'-i','pipe:0'];
|
|
22
|
+
if(snd){const wav=path.join(tmp,'sound.wav');fs.writeFileSync(wav,wavFile(snd.pcm,snd.sr));args.push('-i',wav)}
|
|
23
|
+
if(format==='mp4')args.push('-c:v','libx264','-pix_fmt','yuv420p','-preset','veryfast','-crf','18','-movflags','+faststart',...(snd?['-c:a','aac','-b:a','160k']:[]));
|
|
24
|
+
else args.push('-c:v','libvpx-vp9','-pix_fmt','yuva420p','-b:v','0','-crf','30','-row-mt','1','-deadline','good',...(snd?['-c:a','libopus','-b:a','128k']:[]));
|
|
25
|
+
args.push('-shortest',out);
|
|
26
|
+
const{spawn}=require('child_process');
|
|
27
|
+
await new Promise((ok,no)=>{const p=spawn(ff,args,{stdio:['pipe','ignore','pipe'],shell:false});let err='';
|
|
28
|
+
p.stderr.on('data',d=>{err+=d});p.on('error',e=>no(new Error('Could not start ffmpeg: '+e.message)));
|
|
29
|
+
p.on('close',c=>c===0?ok():no(new Error('ffmpeg could not encode the video'+(err?': '+err.trim().split('\n').pop():'.'))));
|
|
30
|
+
p.stdin.on('error',()=>{});
|
|
31
|
+
(async()=>{for(const f of seq){if(!p.stdin.write(Buffer.from(f.buffer,f.byteOffset,f.byteLength)))await new Promise(r=>p.stdin.once('drain',r))}p.stdin.end()})()});
|
|
32
|
+
const data=fs.readFileSync(out);fs.rmSync(tmp,{recursive:true,force:true});return data;
|
|
33
|
+
}
|
|
34
|
+
function wavFile(pcm,sr){const h=Buffer.alloc(44);h.write('RIFF',0);h.writeUInt32LE(36+pcm.length,4);h.write('WAVE',8);h.write('fmt ',12);h.writeUInt32LE(16,16);h.writeUInt16LE(1,20);h.writeUInt16LE(2,22);
|
|
35
|
+
h.writeUInt32LE(sr,24);h.writeUInt32LE(sr*4,28);h.writeUInt16LE(4,32);h.writeUInt16LE(16,34);h.write('data',36);h.writeUInt32LE(pcm.length,40);return Buffer.concat([h,pcm])}
|
|
36
|
+
module.exports={video,findFfmpeg};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"apple","c":"food","t":"fruit healthy snack","s":"pop","L":[{"i":"st","k":"o","p":[{"d":"M12 7.5c0-2 .8-3.300 2.500-4"}]},{"i":"a","k":"c","p":[{"d":"M12 7.5c-1.500-1.200-3-1.500-4.500-.800C5.500 7.600 4.500 9.600 4.500 12c0 4 2.500 8.500 5 8.500 1 0 1.500-.500 2.500-.500s1.500.500 2.500.500c2.500 0 5-4.500 5-8.500 0-2.400-1-4.400-3-5.300-1.500-.700-3-.400-4.500.800z"}]}],"A":[{"l":"st a","p":"r","k":[[0,8],[140,0]],"st":120,"d":4.5,"o":[12,20]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"arrow-down","c":"arrows","t":"bottom fall","s":"swish","L":[{"i":"a","k":"o","p":[{"d":"M12 4v15M6.5 13.5L12 19l5.5-5.5"}]}],"A":[{"l":"a","p":"ty","k":[[0,5],[170,0]],"st":300,"d":9}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"arrow-left","c":"arrows","t":"back previous","s":"swish","L":[{"i":"a","k":"o","p":[{"d":"M20 12H5M10.5 6.5L5 12l5.5 5.5"}]}],"A":[{"l":"a","p":"tx","k":[[0,-5],[170,0]],"st":300,"d":9}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"arrow-right","c":"arrows","t":"next forward go continue","s":"swish","L":[{"i":"a","k":"o","p":[{"d":"M4 12h15M13.5 6.5L19 12l-5.5 5.5"}]}],"A":[{"l":"a","p":"tx","k":[[0,5],[160,0]],"st":260,"d":8}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"arrow-up","c":"arrows","t":"top rise","s":"swish","L":[{"i":"a","k":"o","p":[{"d":"M12 20V5M6.5 10.5L12 5l5.5 5.5"}]}],"A":[{"l":"a","p":"ty","k":[[0,-5],[170,0]],"st":300,"d":9}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"bag","c":"commerce","t":"shopping purchase tote","s":"pop","L":[{"i":"hd","k":"o","p":[{"d":"M9 8V6.5a3 3 0 0 1 6 0V8"}]},{"i":"b","k":"c","p":[{"d":"M5 8h14l1 12.5H4z"}]}],"A":[{"l":"hd b","p":"r","k":[[0,8],[140,0]],"st":120,"d":4.5,"o":[12,4]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"battery","c":"objects","t":"charge power energy level","s":"pops","L":[{"i":"body","k":"c","p":[{"d":"M4.5 7.5h12.5a2 2 0 0 1 2 2v5a2 2 0 0 1 -2 2h-12.5a2 2 0 0 1 -2 -2v-5a2 2 0 0 1 2 -2z"}]},{"i":"tip","k":"o","p":[{"d":"M21.5 10.5v3"}]},{"i":"b1","k":"i","p":[{"d":"M6 10.5v3"}]},{"i":"b2","k":"i","p":[{"d":"M9.5 10.5v3"}]},{"i":"b3","k":"i","p":[{"d":"M13 10.5v3"}]}],"A":[{"l":"b1","p":"s","k":[[0,0]],"st":380,"d":11,"o":[6,12],"from":-1},{"l":"b2","p":"s","k":[[90,0]],"st":380,"d":11,"o":[9.5,12],"from":-1},{"l":"b3","p":"s","k":[[180,0]],"st":380,"d":11,"o":[13,12],"from":-1}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"bell","c":"ui","t":"alert notification ring alarm","s":"ding","L":[{"i":"body","k":"c","p":[{"d":"M6 16v-5a6 6 0 0 1 12 0v5l1.5 2h-15z"}]},{"i":"clap","k":"o","p":[{"d":"M10 20.5a2 2 0 0 0 4 0"}]}],"A":[{"l":"body","p":"r","k":[[0,16],[120,0]],"st":110,"d":5.4,"o":[12,4]},{"l":"clap","p":"r","k":[[40,28],[180,0]],"st":90,"d":4.725,"o":[12,4]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"bike","c":"travel","t":"bicycle cycle ride","s":"ratchet","L":[{"i":"f","k":"o","p":[{"d":"M6 16l4-7h5l3 7M10 9l3.500 7M9 6.500h2.500M15 9l-1-2.500h2"}]},{"i":"a","k":"c","p":[{"d":"M2.5 16a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0 -7 0z"}]},{"i":"b","k":"c","p":[{"d":"M14.5 16a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0 -7 0z"}]}],"A":[{"l":"f a b","p":"tx","k":[[0,3],[170,0]],"st":300,"d":9}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"bird","c":"nature","t":"sparrow tweet wildlife fly","s":"chirp","L":[{"i":"g","k":"o","p":[{"d":"M9 19v2M12 19v2"}]},{"i":"k","k":"o","p":[{"d":"M16 10l4 .500-4 1.500"}]},{"i":"b","k":"c","p":[{"d":"M4 14c0-4 3-7 7-7h1.500a3.500 3.500 0 0 1 3.500 3.500V12c0 4-3 7-7.500 7H4z"}]},{"i":"e","k":"i","p":[{"d":"M13 10h.01"}]},{"i":"w","k":"i","p":[{"d":"M7 13c1.500 1.500 3.500 1.500 5 0"}]}],"A":[{"l":"k b e w","p":"ty","k":[[0,-3],[150,0]],"st":400,"d":9},{"l":"w","p":"sy","k":[[0,0.7],[110,0]],"st":500,"d":10,"o":[9.5,13]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"bolt","c":"nature","t":"zap lightning power energy fast","s":"zap","L":[{"i":"b","k":"c","p":[{"d":"M13 2.5l-8 11h6l-1 8 8-11h-6z"}]}],"A":[{"l":"b","p":"s","k":[[0,0.25],[90,0]],"st":600,"d":12},{"l":"b","p":"tx","k":[[0,1.5],[50,-1.5],[100,1],[150,0]],"st":900,"d":14}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"book","c":"objects","t":"read library docs","s":"swish","L":[{"i":"b","k":"c","p":[{"d":"M5 4.5h12.5a1.5 1.5 0 0 1 1.5 1.5v14H6.5A1.5 1.5 0 0 1 5 18.5z"}]},{"i":"l","k":"i","p":[{"d":"M5.5 17.5c.3-.9.6-1.5 1.5-1.5h12M9 8.5h6"}]}],"A":[{"l":"b l","p":"r","k":[[0,-7],[140,0]],"st":120,"d":4.5,"o":[5,20]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"bookmark","c":"ui","t":"save later flag read","s":"pop","L":[{"i":"b","k":"c","p":[{"d":"M7 3.5h10v17l-5-4-5 4z"}]}],"A":[{"l":"b","p":"ty","k":[[0,-4],[160,0]],"st":300,"d":8}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"briefcase","c":"objects","t":"work job business","s":"knock","L":[{"i":"hd","k":"o","p":[{"d":"M9 8V6.5A1.5 1.5 0 0 1 10.5 5h3A1.5 1.5 0 0 1 15 6.5V8"}]},{"i":"b","k":"c","p":[{"d":"M5 8h14a2 2 0 0 1 2 2v7.5a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-7.5a2 2 0 0 1 2 -2z"}]},{"i":"l","k":"i","p":[{"d":"M3 13h18"}]}],"A":[{"l":"hd b l","p":"r","k":[[0,7],[140,0]],"st":120,"d":4.5,"o":[12,5]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"bug","c":"dev","t":"error issue debug insect","s":"buzz","L":[{"i":"lg","k":"o","p":[{"d":"M8 11H4.5M8 15H4.5M16 11h3.5M16 15h3.5M9.5 6.5L8 4.5M14.5 6.5l1.5-2"}]},{"i":"b","k":"c","p":[{"d":"M8 10a4 4 0 0 1 8 0v5a4 4 0 0 1-8 0z"}]},{"i":"l","k":"i","p":[{"d":"M12 10.5v8"}]}],"A":[{"l":"lg b l","p":"tx","k":[[0,1.5],[50,-1.5],[100,1],[150,0]],"st":900,"d":14},{"l":"lg b l","p":"ty","k":[[0,-2],[170,0]],"st":300,"d":9}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"bus","c":"travel","t":"transit public transport","s":"whoosh","L":[{"i":"w","k":"o","p":[{"d":"M7.500 17.500V20M16.500 17.500V20"}]},{"i":"a","k":"c","p":[{"d":"M7 3.5h10a2.5 2.5 0 0 1 2.5 2.5v9a2.5 2.5 0 0 1 -2.5 2.5h-10a2.5 2.5 0 0 1 -2.5 -2.5v-9a2.5 2.5 0 0 1 2.5 -2.5z"}]},{"i":"l","k":"i","p":[{"d":"M4.500 11h15M8 14.200h.01M16 14.200h.01"}]}],"A":[{"l":"w a l","p":"tx","k":[[0,3],[170,0]],"st":300,"d":9}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"cake","c":"food","t":"birthday party dessert","s":"chime","L":[{"i":"c","k":"o","p":[{"d":"M12 11V7.500M12 4.500v.01"}]},{"i":"a","k":"c","p":[{"d":"M4 20v-7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v7z"}]},{"i":"w","k":"i","p":[{"d":"M4 15.500c1.500 1.300 2.500 1.300 4 0s2.500-1.300 4 0 2.500 1.300 4 0 2.500-1.300 4 0"}]}],"A":[{"l":"a w","p":"sy","k":[[0,-0.14],[110,0.07],[220,0]],"st":400,"d":12,"o":[12,20]},{"l":"c","p":"s","k":[[0,0.3],[130,0]],"st":400,"d":12,"o":[12,7]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"calendar","c":"objects","t":"date schedule event","s":"swish","L":[{"i":"pg","k":"c","p":[{"d":"M5.5 5.5h13a2 2 0 0 1 2 2v11a2 2 0 0 1 -2 2h-13a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2z"}]},{"i":"ln","k":"i","p":[{"d":"M3.5 10.5h17M8 14.5h.01M12 14.5h.01M16 14.5h.01"}]},{"i":"rg","k":"o","p":[{"d":"M8 3.5v4M16 3.5v4"}]}],"A":[{"l":"rg","p":"ty","k":[[0,-1.5],[170,0]],"st":300,"d":9},{"l":"pg ln","p":"sy","k":[[0,-0.14],[110,0.07],[220,0]],"st":400,"d":12,"o":[12,20.5]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"camera","c":"media","t":"photo picture shoot image","s":"shutter","L":[{"i":"body","k":"c","p":[{"d":"M3 8.5a2 2 0 0 1 2-2h2.5l1.5-2h6l1.5 2H19a2 2 0 0 1 2 2V18a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}]},{"i":"lens","k":"i","p":[{"d":"M8.5 13a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0 -7 0z"}]}],"A":[{"l":"lens","p":"s","k":[[0,-0.4],[120,0]],"st":500,"d":12,"o":[12,13]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"car","c":"travel","t":"drive vehicle auto ride","s":"whoosh","L":[{"i":"b","k":"c","p":[{"d":"M2.5 16V13l3-1 2.500-4.500h7.500L19 12l2.500.700V16z"}]},{"i":"w","k":"i","p":[{"d":"M8.700 9.500L7.300 12h9.300l-1.900-2.500zM12 9.500V12"}]},{"i":"wh","k":"c","p":[{"d":"M5 16.8a2 2 0 1 0 4 0a2 2 0 1 0 -4 0z"},{"d":"M15 16.8a2 2 0 1 0 4 0a2 2 0 1 0 -4 0z"}]}],"A":[{"l":"b w wh","p":"tx","k":[[0,4],[170,0]],"st":300,"d":9},{"l":"b w","p":"ty","k":[[0,-1],[120,0]],"st":500,"d":10}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"card","c":"commerce","t":"credit payment pay","s":"swish","L":[{"i":"c","k":"c","p":[{"d":"M4.5 5.5h15a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-15a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2z"}]},{"i":"s","k":"i","p":[{"d":"M2.5 10h19M6 15h3.5"}]}],"A":[{"l":"c s","p":"tx","k":[[0,4],[170,0]],"st":300,"d":9}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"cart","c":"commerce","t":"shopping basket buy","s":"ratchet","L":[{"i":"han","k":"o","p":[{"d":"M3 4h2.5l.9 3"}]},{"i":"bas","k":"c","p":[{"d":"M6.4 7h13.4l-2 7.5h-10z"}]},{"i":"wh","k":"f","p":[{"d":"M7.5 18.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0z"},{"d":"M15 18.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0z"}]}],"A":[{"l":"han bas wh","p":"tx","k":[[0,4],[170,0]],"st":300,"d":9}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"cat","c":"nature","t":"kitten pet feline","s":"soft","L":[{"i":"h","k":"c","p":[{"d":"M5 5l4 2.500c1-.300 2-.500 3-.500s2 .200 3 .500L19 5v8c0 4-3 7-7 7s-7-3-7-7z"}]},{"i":"e","k":"i","p":[{"d":"M9.5 12h.01M14.5 12h.01"}]},{"i":"n","k":"i","p":[{"d":"M12 14v1M9.500 16c1 .800 1.800.800 2.500 0 .700.800 1.500.800 2.500 0"}]}],"A":[{"l":"e","p":"sy","k":[[0,-0.9],[120,0]],"st":500,"d":22,"o":[12,12]},{"l":"h e n","p":"r","k":[[0,6],[140,0]],"st":120,"d":4.5,"o":[12,20]}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"chat","c":"ui","t":"message comment bubble talk","s":"pops","L":[{"i":"bub","k":"c","p":[{"d":"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-7l-4.5 3.5V17H6a2 2 0 0 1-2-2z"}]},{"i":"d1","k":"d","p":[{"d":"M7.5 10.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0z"}]},{"i":"d2","k":"d","p":[{"d":"M11 10.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0z"}]},{"i":"d3","k":"d","p":[{"d":"M14.5 10.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0z"}]}],"A":[{"l":"d1","p":"ty","k":[[0,-2.5],[100,0]],"st":500,"d":12},{"l":"d2","p":"ty","k":[[90,-2.5],[190,0]],"st":500,"d":12},{"l":"d3","p":"ty","k":[[180,-2.5],[280,0]],"st":500,"d":12}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"check","c":"ui","t":"done success ok complete tick","s":"success","L":[{"i":"ring","k":"c","p":[{"d":"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0z"}]},{"i":"tick","k":"i","p":[{"d":"M8 12.3l2.8 2.8L16 9.5"}]}],"A":[{"l":"tick","p":"s","k":[[0,0]],"st":380,"d":11,"o":[12,12.3],"from":-1},{"l":"ring","p":"s","k":[[0,0.1],[120,0]],"st":400,"d":12}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"chevron-down","c":"arrows","t":"caret dropdown expand","s":"tap","L":[{"i":"a","k":"o","p":[{"d":"M5 9l7 7 7-7"}]}],"A":[{"l":"a","p":"ty","k":[[0,3],[170,0]],"st":300,"d":9}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"chevron-left","c":"arrows","t":"caret back less","s":"tap","L":[{"i":"a","k":"o","p":[{"d":"M15 5l-7 7 7 7"}]}],"A":[{"l":"a","p":"tx","k":[[0,-3],[170,0]],"st":300,"d":9}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"chevron-right","c":"arrows","t":"caret next more","s":"tap","L":[{"i":"a","k":"o","p":[{"d":"M9 5l7 7-7 7"}]}],"A":[{"l":"a","p":"tx","k":[[0,3],[170,0]],"st":300,"d":9}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"chevron-up","c":"arrows","t":"caret collapse","s":"tap","L":[{"i":"a","k":"o","p":[{"d":"M5 15l7-7 7 7"}]}],"A":[{"l":"a","p":"ty","k":[[0,-3],[170,0]],"st":300,"d":9}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"n":"circle-alert","c":"shapes","t":"round warning error","s":"alert","L":[{"i":"s","k":"c","p":[{"d":"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0z"}]},{"i":"g","k":"i","p":[{"d":"M12 8.5v4M12 15.3h0.01"}]}],"A":[{"l":"s","p":"s","k":[[0,0.06],[130,0]],"st":400,"d":12,"o":[12,12]},{"l":"g","p":"tx","k":[[0,1.5],[50,-1.5],[100,1],[150,0]],"st":900,"d":14}]}
|