jiggicons 0.0.0-stage → 0.1.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 +41 -0
- package/README.md +46 -2
- package/auto.js +8 -0
- package/bin/jiggicons.js +146 -0
- package/cli/add.js +72 -0
- package/cli/api.js +92 -0
- package/cli/mcp.js +36 -0
- package/cli/project.js +41 -0
- package/element.d.ts +12 -0
- package/icons/airplane.js +2 -0
- package/icons/anchor.js +2 -0
- package/icons/balloon.js +2 -0
- package/icons/beach.js +2 -0
- package/icons/bed.js +2 -0
- package/icons/bell.js +2 -0
- package/icons/bone.js +2 -0
- package/icons/book.js +2 -0
- package/icons/bookmark.js +2 -0
- package/icons/bot.js +2 -0
- package/icons/briefcase.js +2 -0
- package/icons/broom.js +2 -0
- package/icons/bug.js +2 -0
- package/icons/building.js +2 -0
- package/icons/calculator.js +2 -0
- package/icons/calendar.js +2 -0
- package/icons/camera.js +2 -0
- package/icons/campfire.js +2 -0
- package/icons/cart.js +2 -0
- package/icons/clock.js +2 -0
- package/icons/confetti.js +2 -0
- package/icons/cube.js +2 -0
- package/icons/diamond.js +2 -0
- package/icons/door.js +2 -0
- package/icons/download.js +2 -0
- package/icons/drop.js +2 -0
- package/icons/dumbbell.js +2 -0
- package/icons/earth.js +2 -0
- package/icons/emoji-laugh.js +2 -0
- package/icons/emoji.js +2 -0
- package/icons/eraser.js +2 -0
- package/icons/eye.js +2 -0
- package/icons/fan.js +2 -0
- package/icons/feather.js +2 -0
- package/icons/flash.js +2 -0
- package/icons/flashlight.js +2 -0
- package/icons/folder.js +2 -0
- package/icons/food.js +2 -0
- package/icons/gas.js +2 -0
- package/icons/ghost.js +2 -0
- package/icons/gift.js +2 -0
- package/icons/glasses.js +2 -0
- package/icons/globe.js +2 -0
- package/icons/handshake.js +2 -0
- package/icons/headphones.js +2 -0
- package/icons/headset.js +2 -0
- package/icons/heart.js +2 -0
- package/icons/home.js +2 -0
- package/icons/ice-cream.js +2 -0
- package/icons/icon.d.ts +3 -0
- package/icons/index.d.ts +81 -0
- package/icons/index.js +80 -0
- package/icons/key.js +2 -0
- package/icons/laptop.js +2 -0
- package/icons/lasso.js +2 -0
- package/icons/leaf.js +2 -0
- package/icons/lightbulb.js +2 -0
- package/icons/lock.js +2 -0
- package/icons/magnet.js +2 -0
- package/icons/mail.js +2 -0
- package/icons/map.js +2 -0
- package/icons/megaphone.js +2 -0
- package/icons/message.js +2 -0
- package/icons/money.js +2 -0
- package/icons/music-note-2.js +2 -0
- package/icons/palette.js +2 -0
- package/icons/parachute.js +2 -0
- package/icons/phone.js +2 -0
- package/icons/pin.js +2 -0
- package/icons/puzzle-piece.js +2 -0
- package/icons/receipt.js +2 -0
- package/icons/rocket.js +2 -0
- package/icons/sailboat.js +2 -0
- package/icons/saved.js +2 -0
- package/icons/scooter.js +2 -0
- package/icons/send.js +2 -0
- package/icons/star.js +2 -0
- package/icons/toggle-left.js +2 -0
- package/icons/trophy.js +2 -0
- package/icons/umbrella.js +2 -0
- package/icons/upload.js +2 -0
- package/icons/weather-moon.js +2 -0
- package/icons/windmill.js +2 -0
- package/icons.json +405 -0
- package/index.d.ts +28 -0
- package/mcp/protocol.js +85 -0
- package/mcp/tools.js +94 -0
- package/package.json +23 -4
- package/skill/jiggicons/SKILL.md +56 -0
- package/src/audio.js +142 -0
- package/src/element.js +83 -0
- package/src/engine/library-foley.mjs +131 -0
- package/src/engine/library-sfx.mjs +134 -0
- package/src/engine/motion-spec.mjs +316 -0
- package/src/engine/sound-space.mjs +99 -0
- package/src/engine/stereo-stage.mjs +94 -0
- package/src/index.js +105 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Licence
|
|
2
|
+
|
|
3
|
+
## The code
|
|
4
|
+
|
|
5
|
+
The runtime code in this package (everything except the icon drawings, motions
|
|
6
|
+
and sounds described below) is released under the MIT License.
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2026 Adrian Abelarde
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
## The icons
|
|
29
|
+
|
|
30
|
+
The icon drawings, their motions and their sounds are Jiggicons, licensed under
|
|
31
|
+
the Jiggicons terms: https://jiggicons.vercel.app/terms
|
|
32
|
+
|
|
33
|
+
The free icons included here may be used in unlimited personal and commercial
|
|
34
|
+
projects, including client work, without credit. You may not sell, share or
|
|
35
|
+
give them away as icons (on their own or as a set, pack, font, library, plugin
|
|
36
|
+
or template whose main value is the icons), use them in a logo or trademark,
|
|
37
|
+
or claim you made them.
|
|
38
|
+
|
|
39
|
+
The rest of the 6,010 icons are the paid set. Icons added from it with the
|
|
40
|
+
jiggicons CLI, the shadcn registry or the MCP server are licensed to the
|
|
41
|
+
holder of the licence key that fetched them.
|
package/README.md
CHANGED
|
@@ -1,3 +1,47 @@
|
|
|
1
|
-
#
|
|
1
|
+
# jiggicons
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Animated icons with spring motion and spatial sound. This package is the runtime behind
|
|
4
|
+
`jiggicons-react` and `jiggicons-vue`, plus the 80 free icons, the `<jigg-icon>` element, the
|
|
5
|
+
`jiggicons` CLI and the MCP server.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install jiggicons
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import { toSvg, play } from 'jiggicons';
|
|
13
|
+
import bell from 'jiggicons/icons/bell';
|
|
14
|
+
|
|
15
|
+
button.insertAdjacentHTML('afterbegin', toSvg(bell, { variant: 'solid' }));
|
|
16
|
+
button.addEventListener('click', () => play(button, bell, { sound: true }));
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
No build step:
|
|
20
|
+
|
|
21
|
+
```html
|
|
22
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/jiggicons@0.1/auto.js"></script>
|
|
23
|
+
<jigg-icon name="bell" variant="solid" sound></jigg-icon>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## CLI
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npx jiggicons search bell
|
|
30
|
+
npx jiggicons add bell heart # free icons, no key needed
|
|
31
|
+
npx jiggicons login # your licence key, for the other 5,930
|
|
32
|
+
npx jiggicons add shopping-bag
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Agent skill
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npx jiggicons skill
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## MCP server
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
claude mcp add jiggicons -- npx -y jiggicons mcp
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Docs: https://jiggicons.vercel.app/docs · The full set: https://jiggicons.vercel.app/#pricing
|
package/auto.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// For pages with no build step: defines <jigg-icon> with all 80 free icons.
|
|
2
|
+
// <script type="module" src="https://cdn.jsdelivr.net/npm/jiggicons/auto.js"></script>
|
|
3
|
+
// <jigg-icon name="bell" variant="solid" sound></jigg-icon>
|
|
4
|
+
import { define, register } from './src/element.js';
|
|
5
|
+
import * as icons from './icons/index.js';
|
|
6
|
+
|
|
7
|
+
register(Object.values(icons));
|
|
8
|
+
define();
|
package/bin/jiggicons.js
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// jiggicons: add animated Jiggicons to a project, search the set, store a
|
|
3
|
+
// licence key, or run the MCP server for coding agents.
|
|
4
|
+
import { cpSync, existsSync, readFileSync } from 'node:fs';
|
|
5
|
+
import { homedir } from 'node:os';
|
|
6
|
+
import { join, relative } from 'node:path';
|
|
7
|
+
import { createInterface } from 'node:readline/promises';
|
|
8
|
+
import { categories, configPath, forgetKey, licenseKey, saveKey, search, verifyKey } from '../cli/api.js';
|
|
9
|
+
import { addIcons } from '../cli/add.js';
|
|
10
|
+
import { detectProject, writeConfig } from '../cli/project.js';
|
|
11
|
+
|
|
12
|
+
const { version } = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8'));
|
|
13
|
+
const VARIANTS = ['outline', 'solid', 'duotone', 'glass'];
|
|
14
|
+
|
|
15
|
+
const help = `jiggicons ${version} — animated icons with motion and sound
|
|
16
|
+
|
|
17
|
+
Usage
|
|
18
|
+
npx jiggicons add <icon...> copy icons into this project as components
|
|
19
|
+
npx jiggicons search <words> find icons (all 6,010; free ones marked)
|
|
20
|
+
npx jiggicons categories list categories
|
|
21
|
+
npx jiggicons init save this project's settings to jiggicons.json
|
|
22
|
+
npx jiggicons login [key] store your licence key for the paid set
|
|
23
|
+
npx jiggicons logout forget the stored key
|
|
24
|
+
npx jiggicons whoami check the stored key
|
|
25
|
+
npx jiggicons mcp run the MCP server (stdio) for coding agents
|
|
26
|
+
npx jiggicons skill [--global] install the Jiggicons agent skill (.claude/skills/jiggicons)
|
|
27
|
+
|
|
28
|
+
Options for add
|
|
29
|
+
--format react|vue|js|ts|svg default: detected from package.json (svg: one variant, no motion)
|
|
30
|
+
--dir <folder> default: components/jiggicons (src/… when there is a src folder)
|
|
31
|
+
--variants outline,solid,… default: all four (outline, solid, duotone, glass)
|
|
32
|
+
--overwrite replace icons already in the folder
|
|
33
|
+
|
|
34
|
+
The 80 free icons need no key. The rest need a licence: https://jiggicons.vercel.app/#pricing
|
|
35
|
+
Key lookup: JIGGICONS_LICENSE_KEY, then ${configPath()}
|
|
36
|
+
Docs: https://jiggicons.vercel.app/docs/cli`;
|
|
37
|
+
|
|
38
|
+
function parse(argv) {
|
|
39
|
+
const args = [], options = {};
|
|
40
|
+
for (let i = 0; i < argv.length; i++) {
|
|
41
|
+
const arg = argv[i];
|
|
42
|
+
if (!arg.startsWith('--')) { args.push(arg); continue; }
|
|
43
|
+
const [name, inline] = arg.slice(2).split('=');
|
|
44
|
+
if (['overwrite', 'help', 'version', 'free', 'json', 'yes', 'global'].includes(name)) options[name] = true;
|
|
45
|
+
else options[name] = inline ?? argv[++i];
|
|
46
|
+
}
|
|
47
|
+
return { args, options };
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function variantsOf(value) {
|
|
51
|
+
if (!value) return undefined;
|
|
52
|
+
const list = value.split(',').map(variant => variant.trim()).filter(Boolean);
|
|
53
|
+
const unknown = list.filter(variant => !VARIANTS.includes(variant));
|
|
54
|
+
if (unknown.length) throw new Error(`Unknown variant ${unknown.join(', ')}. Use ${VARIANTS.join(', ')}.`);
|
|
55
|
+
return list;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
async function ask(question) {
|
|
59
|
+
if (!process.stdin.isTTY) return '';
|
|
60
|
+
const rl = createInterface({ input: process.stdin, output: process.stdout });
|
|
61
|
+
try { return (await rl.question(question)).trim(); } finally { rl.close(); }
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
async function main() {
|
|
65
|
+
const [command, ...rest] = process.argv.slice(2);
|
|
66
|
+
const { args, options } = parse(rest);
|
|
67
|
+
if (!command || command === 'help' || options.help || command === '--help' || command === '-h') return console.log(help);
|
|
68
|
+
if (command === '--version' || command === '-v' || command === 'version') return console.log(version);
|
|
69
|
+
|
|
70
|
+
switch (command) {
|
|
71
|
+
case 'add': {
|
|
72
|
+
if (!args.length) throw new Error('Name at least one icon: npx jiggicons add bell heart');
|
|
73
|
+
const report = await addIcons(args, { format: options.format, dir: options.dir, variants: variantsOf(options.variants), overwrite: options.overwrite });
|
|
74
|
+
console.log(report.text);
|
|
75
|
+
if (report.failed) process.exitCode = 1;
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
case 'search': {
|
|
79
|
+
const query = args.join(' ');
|
|
80
|
+
const found = await search({ query, limit: Number(options.limit) || 30, category: options.category, free: options.free ? true : undefined });
|
|
81
|
+
if (options.json) return console.log(JSON.stringify(found.icons, null, 2));
|
|
82
|
+
if (!found.icons.length) return console.log(`No icons match "${query}".`);
|
|
83
|
+
const width = Math.max(...found.icons.map(icon => icon.id.length));
|
|
84
|
+
for (const icon of found.icons) console.log(`${icon.id.padEnd(width)} ${icon.free ? 'free' : ' '} ${icon.name} · ${icon.category}`);
|
|
85
|
+
if (found.matches > found.icons.length) console.log(`… ${found.matches - found.icons.length} more. Narrow it down or use --limit.`);
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
case 'categories': {
|
|
89
|
+
for (const { name, count } of await categories()) console.log(`${name} (${count})`);
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
case 'init': {
|
|
93
|
+
const project = await detectProject();
|
|
94
|
+
const values = { format: options.format ?? project.format, dir: options.dir ?? project.dir, ...(options.variants ? { variants: variantsOf(options.variants) } : {}) };
|
|
95
|
+
const file = await writeConfig(project.root, values);
|
|
96
|
+
console.log(`Wrote ${file}: ${values.format} components in ${values.dir}.`);
|
|
97
|
+
if (!project.hasRuntime) console.log(`Install the runtime: npm install ${values.format === 'react' ? 'jiggicons-react' : values.format === 'vue' ? 'jiggicons-vue' : 'jiggicons'}`);
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
case 'login': {
|
|
101
|
+
const key = args[0] ?? await ask('Licence key (from your Polar purchase): ');
|
|
102
|
+
if (!key) throw new Error('No key given. Find yours under Purchases in the Polar customer portal.');
|
|
103
|
+
const result = await verifyKey(key);
|
|
104
|
+
if (!result.valid) throw new Error(result.error ?? 'That licence key is not valid.');
|
|
105
|
+
const file = await saveKey(key);
|
|
106
|
+
console.log(`Licence key ${result.key} saved to ${file}. The full set is unlocked on this machine.`);
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
case 'logout': {
|
|
110
|
+
await forgetKey();
|
|
111
|
+
console.log('Forgot the stored licence key.');
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
case 'whoami': {
|
|
115
|
+
const key = await licenseKey();
|
|
116
|
+
if (!key) return console.log('No licence key. Free icons only. Add one with npx jiggicons login.');
|
|
117
|
+
const result = await verifyKey(key);
|
|
118
|
+
console.log(result.valid ? `Licence key ${result.key} is valid: all icons are unlocked.` : `The stored key is not valid: ${result.error ?? result.reason}.`);
|
|
119
|
+
if (!result.valid) process.exitCode = 1;
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
case 'skill': {
|
|
123
|
+
// The skill teaches coding agents how to pick, add and use Jiggicons.
|
|
124
|
+
const root = options.global ? join(homedir(), '.claude') : join(process.cwd(), '.claude');
|
|
125
|
+
const target = join(options.dir ?? join(root, 'skills'), 'jiggicons');
|
|
126
|
+
if (existsSync(join(target, 'SKILL.md')) && !options.overwrite) throw new Error(`${target} already has the skill. Use --overwrite to update it.`);
|
|
127
|
+
cpSync(new URL('../skill/jiggicons', import.meta.url), target, { recursive: true });
|
|
128
|
+
const shown = options.global ? target.replace(homedir(), '~') : relative(process.cwd(), target);
|
|
129
|
+
console.log(`Installed the Jiggicons skill in ${shown}. Claude Code and other agents that read skills will use it.`);
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
case 'mcp': {
|
|
133
|
+
const { runMcp } = await import('../cli/mcp.js');
|
|
134
|
+
return runMcp(version);
|
|
135
|
+
}
|
|
136
|
+
default:
|
|
137
|
+
throw new Error(`Unknown command "${command}". Run npx jiggicons --help.`);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
main().catch(error => {
|
|
142
|
+
console.error('jiggicons: ' + error.message);
|
|
143
|
+
if (process.env.JIGGICONS_DEBUG) console.error(error);
|
|
144
|
+
process.exitCode = 1;
|
|
145
|
+
});
|
|
146
|
+
|
package/cli/add.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// Copies icons into the project as source files, shadcn-style, and keeps an
|
|
2
|
+
// index file exporting them all.
|
|
3
|
+
import { existsSync } from 'node:fs';
|
|
4
|
+
import { mkdir, readFile, writeFile } from 'node:fs/promises';
|
|
5
|
+
import { join, relative } from 'node:path';
|
|
6
|
+
import { fetchIcon, licenseKey } from './api.js';
|
|
7
|
+
import { detectProject, extensionFor, insideProject } from './project.js';
|
|
8
|
+
|
|
9
|
+
export function componentName(id) {
|
|
10
|
+
const name = id.split('-').map(part => part[0].toUpperCase() + part.slice(1)).join('');
|
|
11
|
+
return /^[0-9]/.test(name) ? 'Icon' + name : name;
|
|
12
|
+
}
|
|
13
|
+
const dataName = id => { const name = componentName(id); return name[0].toLowerCase() + name.slice(1); };
|
|
14
|
+
const validId = id => /^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(id);
|
|
15
|
+
|
|
16
|
+
async function updateIndex(folder, ext, format, ids) {
|
|
17
|
+
const file = join(folder, 'index' + ext);
|
|
18
|
+
const existing = existsSync(file) ? (await readFile(file, 'utf8')).split('\n').filter(Boolean) : [];
|
|
19
|
+
const plain = format === 'js' || format === 'ts';
|
|
20
|
+
const lines = new Set(existing);
|
|
21
|
+
for (const id of ids) {
|
|
22
|
+
const from = './' + id + (format === 'js' ? '.js' : '');
|
|
23
|
+
lines.add(plain ? `export { default as ${dataName(id)} } from '${from}';` : `export { ${componentName(id)} } from '${from}';`);
|
|
24
|
+
}
|
|
25
|
+
await writeFile(file, [...lines].sort().join('\n') + '\n');
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Returns { written, skipped, failed, text, files }.
|
|
29
|
+
export async function addIcons(ids, { root = process.cwd(), format, dir, variants, overwrite = false, key } = {}) {
|
|
30
|
+
const project = await detectProject(root);
|
|
31
|
+
const chosen = format ?? project.format;
|
|
32
|
+
if (!['react', 'vue', 'js', 'ts', 'svg'].includes(chosen)) throw new Error('Unknown format ' + chosen + '. Use react, vue, js, ts or svg.');
|
|
33
|
+
const folder = insideProject(root, dir ?? project.dir);
|
|
34
|
+
const ext = chosen === 'svg' ? '.svg' : extensionFor(chosen, project.typescript);
|
|
35
|
+
const wanted = variants ?? project.variants;
|
|
36
|
+
const token = key ?? await licenseKey();
|
|
37
|
+
await mkdir(folder, { recursive: true });
|
|
38
|
+
const lines = [];
|
|
39
|
+
const files = [];
|
|
40
|
+
const added = [];
|
|
41
|
+
let failed = 0, skipped = 0;
|
|
42
|
+
for (const id of [...new Set(ids)]) {
|
|
43
|
+
if (!validId(id)) { failed++; lines.push(`✗ ${id}: not an icon id (lowercase words joined by -)`); continue; }
|
|
44
|
+
const file = join(folder, id + ext);
|
|
45
|
+
if (existsSync(file) && !overwrite) { skipped++; added.push(id); lines.push(`· ${id}: already in ${relative(root, file)} (use --overwrite to replace)`); continue; }
|
|
46
|
+
try {
|
|
47
|
+
const { code, free } = await fetchIcon(id, { format: chosen, variants: wanted, key: token });
|
|
48
|
+
await writeFile(file, code);
|
|
49
|
+
files.push(file);
|
|
50
|
+
added.push(id);
|
|
51
|
+
lines.push(`✓ ${id} → ${relative(root, file)}${free ? '' : ' (licensed)'}`);
|
|
52
|
+
} catch (error) {
|
|
53
|
+
failed++;
|
|
54
|
+
lines.push(`✗ ${id}: ${error.message}`);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
if (added.length && chosen !== 'svg') await updateIndex(folder, ext, chosen, added);
|
|
58
|
+
const written = files.length;
|
|
59
|
+
if (written && chosen !== 'svg') {
|
|
60
|
+
const where = './' + relative(root, folder).split('\\').join('/');
|
|
61
|
+
const first = added[0];
|
|
62
|
+
if (chosen === 'react' || chosen === 'vue') {
|
|
63
|
+
lines.push('', `import { ${componentName(first)} } from '${where}';`, chosen === 'react'
|
|
64
|
+
? `<${componentName(first)} variant="solid" animate="hover" sound />`
|
|
65
|
+
: `<${componentName(first)} variant="solid" animate="hover" sound /> (in a Vue template)`);
|
|
66
|
+
} else {
|
|
67
|
+
lines.push('', `import { toSvg, play } from 'jiggicons';`, `import ${dataName(first)} from '${where}/${first}${ext === '.js' ? '.js' : ''}';`);
|
|
68
|
+
}
|
|
69
|
+
if (!project.hasRuntime) lines.push('', `Install the runtime once: npm install ${chosen === 'react' ? 'jiggicons-react' : chosen === 'vue' ? 'jiggicons-vue' : 'jiggicons'}`);
|
|
70
|
+
}
|
|
71
|
+
return { written, skipped, failed, files, text: lines.join('\n') };
|
|
72
|
+
}
|
package/cli/api.js
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// The Jiggicons API as the CLI and the local MCP server use it, and where the
|
|
2
|
+
// licence key lives on this machine.
|
|
3
|
+
import { chmod, mkdir, readFile, rm, writeFile } from 'node:fs/promises';
|
|
4
|
+
import { homedir } from 'node:os';
|
|
5
|
+
import { dirname, join } from 'node:path';
|
|
6
|
+
|
|
7
|
+
export const apiBase = () => (process.env.JIGGICONS_API || 'https://jiggicons.vercel.app').replace(/\/$/, '');
|
|
8
|
+
|
|
9
|
+
export function configPath() {
|
|
10
|
+
const base = process.env.XDG_CONFIG_HOME || (process.platform === 'win32' ? process.env.APPDATA : null) || join(homedir(), '.config');
|
|
11
|
+
return join(base, 'jiggicons', 'config.json');
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
async function readConfig() {
|
|
15
|
+
try { return JSON.parse(await readFile(configPath(), 'utf8')); } catch { return {}; }
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// JIGGICONS_LICENSE_KEY wins over the key saved by `jiggicons login`.
|
|
19
|
+
export async function licenseKey() {
|
|
20
|
+
return process.env.JIGGICONS_LICENSE_KEY?.trim() || (await readConfig()).key || null;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export async function saveKey(key) {
|
|
24
|
+
const file = configPath();
|
|
25
|
+
await mkdir(dirname(file), { recursive: true, mode: 0o700 });
|
|
26
|
+
await writeFile(file, JSON.stringify({ ...(await readConfig()), key }, null, 2) + '\n', { mode: 0o600 });
|
|
27
|
+
await chmod(file, 0o600).catch(() => {});
|
|
28
|
+
return file;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export async function forgetKey() {
|
|
32
|
+
const config = await readConfig();
|
|
33
|
+
delete config.key;
|
|
34
|
+
if (Object.keys(config).length) await writeFile(configPath(), JSON.stringify(config, null, 2) + '\n', { mode: 0o600 });
|
|
35
|
+
else await rm(configPath(), { force: true });
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class ApiError extends Error {
|
|
39
|
+
constructor(message, status) {
|
|
40
|
+
super(message);
|
|
41
|
+
this.status = status;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
async function call(path, { key, method = 'GET', body } = {}) {
|
|
46
|
+
let response;
|
|
47
|
+
try {
|
|
48
|
+
response = await fetch(apiBase() + path, {
|
|
49
|
+
method,
|
|
50
|
+
headers: {
|
|
51
|
+
'User-Agent': 'jiggicons-cli',
|
|
52
|
+
...(key ? { Authorization: 'Bearer ' + key } : {}),
|
|
53
|
+
...(body ? { 'Content-Type': 'application/json' } : {}),
|
|
54
|
+
},
|
|
55
|
+
body: body ? JSON.stringify(body) : undefined,
|
|
56
|
+
});
|
|
57
|
+
} catch (error) {
|
|
58
|
+
throw new ApiError(`Could not reach ${apiBase()} (${error.cause?.code ?? error.message}).`, 0);
|
|
59
|
+
}
|
|
60
|
+
if (!response.ok) {
|
|
61
|
+
const detail = await response.json().catch(() => ({}));
|
|
62
|
+
throw new ApiError(detail.error ?? `${response.status} ${response.statusText}`, response.status);
|
|
63
|
+
}
|
|
64
|
+
return response;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export async function search({ query = '', limit = 20, category, free } = {}) {
|
|
68
|
+
const params = new URLSearchParams({ q: query, limit: String(limit) });
|
|
69
|
+
if (category) params.set('category', category);
|
|
70
|
+
if (free !== undefined) params.set('free', free ? '1' : '0');
|
|
71
|
+
return (await call('/api/registry?' + params)).json();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export async function categories() {
|
|
75
|
+
return (await (await call('/api/registry?categories=1&limit=1&q=')).json()).categories;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export async function fetchIcon(id, { format = 'react', variants, key } = {}) {
|
|
79
|
+
const params = new URLSearchParams({ format });
|
|
80
|
+
if (variants?.length) params.set('variants', variants.join(','));
|
|
81
|
+
const response = await call('/api/registry/' + encodeURIComponent(id) + '?' + params, { key });
|
|
82
|
+
return { code: await response.text(), free: response.headers.get('x-jiggicons-free') === '1' };
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export async function verifyKey(key) {
|
|
86
|
+
try {
|
|
87
|
+
return await (await call('/api/license', { method: 'POST', key })).json();
|
|
88
|
+
} catch (error) {
|
|
89
|
+
if (error.status === 403) return { valid: false, error: error.message };
|
|
90
|
+
throw error;
|
|
91
|
+
}
|
|
92
|
+
}
|
package/cli/mcp.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// `npx jiggicons mcp`: the Jiggicons MCP server on stdio, for coding agents
|
|
2
|
+
// working in this project. It searches and fetches through the Jiggicons API
|
|
3
|
+
// and can write icons straight into the project (add_icons).
|
|
4
|
+
import { createMcpServer, serveStdio } from '../mcp/protocol.js';
|
|
5
|
+
import { createTools, INSTRUCTIONS } from '../mcp/tools.js';
|
|
6
|
+
import { categories, fetchIcon, licenseKey, search } from './api.js';
|
|
7
|
+
import { addIcons, componentName } from './add.js';
|
|
8
|
+
import { detectProject } from './project.js';
|
|
9
|
+
|
|
10
|
+
const extension = { js: '.js', ts: '.ts', json: '.json', svg: '.svg' };
|
|
11
|
+
|
|
12
|
+
export function localBackend(root = process.cwd()) {
|
|
13
|
+
return {
|
|
14
|
+
search: ({ query, limit, category, free }) => search({ query, limit, category, free }),
|
|
15
|
+
categories,
|
|
16
|
+
async get({ id, format, variants }) {
|
|
17
|
+
const { code } = await fetchIcon(id, { format, variants, key: await licenseKey() });
|
|
18
|
+
const project = await detectProject(root);
|
|
19
|
+
const name = componentName(id);
|
|
20
|
+
return {
|
|
21
|
+
code,
|
|
22
|
+
filename: `${project.dir}/${id}${extension[format] ?? (project.typescript ? '.ts' : '.js')}`,
|
|
23
|
+
usage: format === 'react' || format === 'vue' ? `import { ${name} } from './${project.dir}/${id}';\n<${name} variant="solid" animate="hover" />` : null,
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
add: ({ ids, format, dir, variants, overwrite }) => addIcons(ids, { root, format, dir, variants, overwrite }),
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export async function runMcp(version) {
|
|
31
|
+
const server = createMcpServer({
|
|
32
|
+
name: 'jiggicons', version, instructions: INSTRUCTIONS,
|
|
33
|
+
tools: createTools(localBackend(), { local: true }),
|
|
34
|
+
});
|
|
35
|
+
await serveStdio(server);
|
|
36
|
+
}
|
package/cli/project.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// What kind of project the CLI is running in, and where icons go. A
|
|
2
|
+
// jiggicons.json at the project root overrides what is detected:
|
|
3
|
+
// { "format": "react", "dir": "src/components/jiggicons", "variants": ["outline", "solid"] }
|
|
4
|
+
import { existsSync } from 'node:fs';
|
|
5
|
+
import { readFile, writeFile } from 'node:fs/promises';
|
|
6
|
+
import { isAbsolute, join, relative, resolve } from 'node:path';
|
|
7
|
+
|
|
8
|
+
const readJson = async file => { try { return JSON.parse(await readFile(file, 'utf8')); } catch { return null; } };
|
|
9
|
+
|
|
10
|
+
export async function detectProject(root = process.cwd()) {
|
|
11
|
+
const pkg = await readJson(join(root, 'package.json')) ?? {};
|
|
12
|
+
const deps = { ...pkg.dependencies, ...pkg.devDependencies, ...pkg.peerDependencies };
|
|
13
|
+
const typescript = existsSync(join(root, 'tsconfig.json')) || Boolean(deps.typescript);
|
|
14
|
+
const framework = deps.react || deps.next ? 'react' : deps.vue || deps.nuxt ? 'vue' : 'js';
|
|
15
|
+
const kind = deps.next ? 'next' : deps.nuxt ? 'nuxt' : framework;
|
|
16
|
+
const src = existsSync(join(root, 'src')) && kind !== 'nuxt';
|
|
17
|
+
const config = await readJson(join(root, 'jiggicons.json')) ?? {};
|
|
18
|
+
const format = config.format ?? (framework === 'js' ? (typescript ? 'ts' : 'js') : framework);
|
|
19
|
+
const dir = config.dir ?? (src ? 'src/' : '') + (framework === 'js' ? 'jiggicons' : 'components/jiggicons');
|
|
20
|
+
const runtime = format === 'react' ? 'jiggicons-react' : format === 'vue' ? 'jiggicons-vue' : 'jiggicons';
|
|
21
|
+
return {
|
|
22
|
+
root, kind, framework, typescript, format, dir, variants: config.variants, runtime,
|
|
23
|
+
hasRuntime: Boolean(deps[runtime]), hasConfig: Object.keys(config).length > 0,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export async function writeConfig(root, values) {
|
|
28
|
+
const file = join(root, 'jiggicons.json');
|
|
29
|
+
await writeFile(file, JSON.stringify(values, null, 2) + '\n');
|
|
30
|
+
return file;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// A folder inside the project; refuses anything that would land outside it.
|
|
34
|
+
export function insideProject(root, dir) {
|
|
35
|
+
const target = resolve(root, dir);
|
|
36
|
+
const rel = relative(root, target);
|
|
37
|
+
if (rel.startsWith('..') || isAbsolute(rel)) throw new Error(`${dir} is outside the project.`);
|
|
38
|
+
return target;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export const extensionFor = (format, typescript) => format === 'ts' ? '.ts' : format === 'js' ? '.js' : typescript ? '.ts' : '.js';
|
package/element.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { JiggiconData } from './index';
|
|
2
|
+
|
|
3
|
+
export function register(...icons: (JiggiconData | JiggiconData[])[]): void;
|
|
4
|
+
export function registered(id: string): JiggiconData | undefined;
|
|
5
|
+
export class JiggIcon extends HTMLElement {
|
|
6
|
+
readonly icon: JiggiconData | undefined;
|
|
7
|
+
render(): void;
|
|
8
|
+
play(): void;
|
|
9
|
+
stop(): void;
|
|
10
|
+
}
|
|
11
|
+
/** Defines the custom element (default tag: jigg-icon). */
|
|
12
|
+
export function define(tag?: string): void;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// Airplane: a free Jiggicon.
|
|
2
|
+
export default {"v":1,"id":"airplane","name":"Airplane","category":"Travel","svg":{"outline":{"markup":"<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 50%\"><path d=\"M19.25 10A2 2 0 0 1 21.25 12A2 2 0 0 1 19.25 14L16.38 14A0.75 0.75 0 0 0 15.78 14.31L11.02 20.88A0.9 0.9 0 0 1 10.29 21.25L9.63 21.25A0.83 0.83 0 0 1 8.83 20.18L10.45 14.97A0.75 0.75 0 0 0 9.73 14L7.12 14A0.75 0.75 0 0 0 6.52 14.29L4.46 16.98A0.7 0.7 0 0 1 3.91 17.25L3.45 17.25A0.7 0.7 0 0 1 2.75 16.55L2.75 7.45A0.7 0.7 0 0 1 3.45 6.75L3.91 6.75A0.7 0.7 0 0 1 4.46 7.02L6.52 9.71A0.75 0.75 0 0 0 7.12 10L9.73 10A0.75 0.75 0 0 0 10.45 9.03L8.83 3.82A0.83 0.83 0 0 1 9.63 2.75L10.29 2.75A0.9 0.9 0 0 1 11.02 3.12L15.78 9.69A0.75 0.75 0 0 0 16.38 10Z\"/></g></g>","mass":[[10.72,12,203.23],[12,12,0]]},"solid":{"markup":"<g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 50%\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M20.26 9.44Q19.77 9.25 19.25 9.25L16.38 9.25L11.63 2.68A1.65 1.65 0 0 0 10.29 2L9.63 2A1.58 1.58 0 0 0 8.12 4.05L9.73 9.25L7.12 9.25L5.05 6.57A1.45 1.45 0 0 0 3.91 6L3.45 6A1.44 1.44 0 0 0 2 7.45L2 16.55A1.44 1.44 0 0 0 3.45 18L3.91 18A1.45 1.45 0 0 0 5.05 17.43L7.12 14.75L9.73 14.75L8.12 19.95A1.58 1.58 0 0 0 9.63 22L10.29 22A1.65 1.65 0 0 0 11.63 21.32L16.38 14.75L19.25 14.75A2.74 2.74 0 0 0 22 12A2.74 2.74 0 0 0 20.26 9.44Z\"/></g>","mass":[[10.72,12,203.23],[12,12,0]]},"glass":{"markup":"<defs><linearGradient id=\"jigg-airplane-glass-g1\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"2\" x2=\"0\" y2=\"22\"><stop stop-color=\"#5b5b5e\" stop-opacity=\"1\"/><stop offset=\"1\" stop-color=\"#161617\" stop-opacity=\"1\"/></linearGradient><linearGradient id=\"jigg-airplane-glass-g2\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"6\" x2=\"0\" y2=\"18\"><stop stop-color=\"#5b5b5e\" stop-opacity=\"1\"/><stop offset=\"1\" stop-color=\"#161617\" stop-opacity=\"1\"/></linearGradient><linearGradient id=\"jigg-airplane-glass-g3\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"9.25\" x2=\"0\" y2=\"14.75\"><stop stop-color=\"#e3e3e5\" stop-opacity=\"0.62\"/><stop offset=\"1\" stop-color=\"#bbbbc0\" stop-opacity=\"0.62\"/></linearGradient><mask id=\"jigg-airplane-glass-out1\" maskUnits=\"userSpaceOnUse\" x=\"-12\" y=\"-12\" width=\"48\" height=\"48\"><rect x=\"-12\" y=\"-12\" width=\"48\" height=\"48\" fill=\"#fff\"/><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 50%\"><path fill-rule=\"evenodd\" d=\"M21.81 13.01A2.74 2.74 0 0 0 20.26 9.44Q19.77 9.25 19.25 9.25L4.75 9.25A2.74 2.74 0 0 0 2 12A2.74 2.74 0 0 0 4.75 14.75L19.25 14.75A2.74 2.74 0 0 0 21.81 13.01Z\" fill=\"#000\"/></g></mask><mask id=\"jigg-airplane-glass-out2\" maskUnits=\"userSpaceOnUse\" x=\"-12\" y=\"-12\" width=\"48\" height=\"48\"><rect x=\"-12\" y=\"-12\" width=\"48\" height=\"48\" fill=\"#fff\"/><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 50%\"><path fill-rule=\"evenodd\" d=\"M21.81 13.01A2.74 2.74 0 0 0 20.26 9.44Q19.77 9.25 19.25 9.25L4.75 9.25A2.74 2.74 0 0 0 2 12A2.74 2.74 0 0 0 4.75 14.75L19.25 14.75A2.74 2.74 0 0 0 21.81 13.01Z\" fill=\"#000\"/></g></mask><mask id=\"jigg-airplane-glass-in3\" maskUnits=\"userSpaceOnUse\" x=\"-12\" y=\"-12\" width=\"48\" height=\"48\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 50%\"><path fill-rule=\"evenodd\" d=\"M21.81 13.01A2.74 2.74 0 0 0 20.26 9.44Q19.77 9.25 19.25 9.25L4.75 9.25A2.74 2.74 0 0 0 2 12A2.74 2.74 0 0 0 4.75 14.75L19.25 14.75A2.74 2.74 0 0 0 21.81 13.01Z\" fill=\"#fff\"/></g></mask><linearGradient id=\"jigg-airplane-glass-r3\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"9.25\" x2=\"0\" y2=\"12.66\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#fff\" stop-opacity=\"0\"/></linearGradient><filter id=\"jigg-airplane-glass-blur\" x=\"-50%\" y=\"-50%\" width=\"200%\" height=\"200%\" filterUnits=\"objectBoundingBox\"><feGaussianBlur stdDeviation=\"1.6\"/></filter></defs><g mask=\"url(#jigg-airplane-glass-out1)\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 50%\"><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:50% 50%\"><path fill-rule=\"evenodd\" d=\"M11.63 21.32L18.06 12.44A0.75 0.75 0 0 0 18.06 11.56L11.63 2.68A1.65 1.65 0 0 0 10.29 2L9.63 2A1.58 1.58 0 0 0 8.12 4.05L10.58 12L8.12 19.95A1.58 1.58 0 0 0 9.63 22L10.29 22A1.65 1.65 0 0 0 11.63 21.32Z\" fill=\"url(#jigg-airplane-glass-g1)\"/></g></g></g><g mask=\"url(#jigg-airplane-glass-out2)\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 50%\"><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:50% 50%\"><path fill-rule=\"evenodd\" d=\"M5.05 17.44L8.89 12.46A0.75 0.75 0 0 0 8.89 11.54L5.05 6.56A1.45 1.45 0 0 0 3.91 6L3.45 6A1.44 1.44 0 0 0 2 7.45L2 16.55A1.44 1.44 0 0 0 3.45 18L3.91 18A1.45 1.45 0 0 0 5.05 17.44Z\" fill=\"url(#jigg-airplane-glass-g2)\"/></g></g></g><g mask=\"url(#jigg-airplane-glass-in3)\"><g filter=\"url(#jigg-airplane-glass-blur)\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 50%\"><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:50% 50%\"><path fill-rule=\"evenodd\" d=\"M11.63 21.32L18.06 12.44A0.75 0.75 0 0 0 18.06 11.56L11.63 2.68A1.65 1.65 0 0 0 10.29 2L9.63 2A1.58 1.58 0 0 0 8.12 4.05L10.58 12L8.12 19.95A1.58 1.58 0 0 0 9.63 22L10.29 22A1.65 1.65 0 0 0 11.63 21.32Z\" fill=\"url(#jigg-airplane-glass-g1)\"/></g></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 50%\"><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:50% 50%\"><path fill-rule=\"evenodd\" d=\"M5.05 17.44L8.89 12.46A0.75 0.75 0 0 0 8.89 11.54L5.05 6.56A1.45 1.45 0 0 0 3.91 6L3.45 6A1.44 1.44 0 0 0 2 7.45L2 16.55A1.44 1.44 0 0 0 3.45 18L3.91 18A1.45 1.45 0 0 0 5.05 17.44Z\" fill=\"url(#jigg-airplane-glass-g2)\"/></g></g></g></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 50%\"><path fill-rule=\"evenodd\" d=\"M21.81 13.01A2.74 2.74 0 0 0 20.26 9.44Q19.77 9.25 19.25 9.25L4.75 9.25A2.74 2.74 0 0 0 2 12A2.74 2.74 0 0 0 4.75 14.75L19.25 14.75A2.74 2.74 0 0 0 21.81 13.01Z\" fill=\"url(#jigg-airplane-glass-g3)\"/><path fill-rule=\"evenodd\" d=\"M22 12A2.74 2.74 0 0 1 19.25 14.75L4.75 14.75A2.74 2.74 0 0 1 2 12A2.74 2.74 0 0 1 4.75 9.25L19.25 9.25A2.74 2.74 0 0 1 22 12ZM21.25 12A1.99 1.99 0 0 1 19.25 14L4.75 14A2 2 0 0 1 4.01 10.14Q4.37 10 4.75 10L19.25 10A1.99 1.99 0 0 1 21.25 12Z\" fill=\"url(#jigg-airplane-glass-r3)\"/></g>","mass":[[12,12,103.51],[9.69,12,170.14]]},"duotone":{"markup":"<g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 50%\"><path fill=\"currentColor\" fill-opacity=\"0.2\" fill-rule=\"evenodd\" d=\"M20.26 9.44Q19.77 9.25 19.25 9.25L16.38 9.25L11.63 2.68A1.65 1.65 0 0 0 10.29 2L9.63 2A1.58 1.58 0 0 0 8.12 4.05L9.73 9.25L7.12 9.25L5.05 6.57A1.45 1.45 0 0 0 3.91 6L3.45 6A1.44 1.44 0 0 0 2 7.45L2 16.55A1.44 1.44 0 0 0 3.45 18L3.91 18A1.45 1.45 0 0 0 5.05 17.43L7.12 14.75L9.73 14.75L8.12 19.95A1.58 1.58 0 0 0 9.63 22L10.29 22A1.65 1.65 0 0 0 11.63 21.32L16.38 14.75L19.25 14.75A2.74 2.74 0 0 0 22 12A2.74 2.74 0 0 0 20.26 9.44Z\"/></g><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 50%\"><path d=\"M19.25 10A2 2 0 0 1 21.25 12A2 2 0 0 1 19.25 14L16.38 14A0.75 0.75 0 0 0 15.78 14.31L11.02 20.88A0.9 0.9 0 0 1 10.29 21.25L9.63 21.25A0.83 0.83 0 0 1 8.83 20.18L10.45 14.97A0.75 0.75 0 0 0 9.73 14L7.12 14A0.75 0.75 0 0 0 6.52 14.29L4.46 16.98A0.7 0.7 0 0 1 3.91 17.25L3.45 17.25A0.7 0.7 0 0 1 2.75 16.55L2.75 7.45A0.7 0.7 0 0 1 3.45 6.75L3.91 6.75A0.7 0.7 0 0 1 4.46 7.02L6.52 9.71A0.75 0.75 0 0 0 7.12 10L9.73 10A0.75 0.75 0 0 0 10.45 9.03L8.83 3.82A0.83 0.83 0 0 1 9.63 2.75L10.29 2.75A0.9 0.9 0 0 1 11.02 3.12L15.78 9.69A0.75 0.75 0 0 0 16.38 10Z\"/></g></g>","mass":[[10.72,12,203.23],[12,12,0]]}},"motion":{"ms":1100,"sound":[{"m":"air","t":0.16,"v":1,"p":0.85}],"outline":[[-1,12,12,{"x":{"push":[[-1,0,0.12],[2.4,0.1,0.42]],"spring":[6,0.55]},"r":{"push":[[-6,0.12,0.3],[4,0.3,0.46]],"spring":[5,0.45]},"sq":{"push":[[0.14,0.1,0.32]],"spring":[6,0.5]}}],[0,12,12,{"x":{"follow":[0,"x"],"spring":[4.2,0.5],"relative":true}}]],"dir":[1,0]}};
|
package/icons/anchor.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// Anchor: a free Jiggicon.
|
|
2
|
+
export default {"v":1,"id":"anchor","name":"Anchor","category":"Travel","svg":{"outline":{"markup":"<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path d=\"M4.25 12.5L4.25 13.5A7.75 7.75 0 0 0 19.75 13.5L19.75 12.5M2.75 14.5L3.93 12.93A0.4 0.4 0 0 1 4.57 12.93L5.75 14.5M18.25 14.5L19.43 12.93A0.4 0.4 0 0 1 20.07 12.93L21.25 14.5\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path d=\"M12 6.75L12 21.25\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path d=\"M8.25 10.25L15.75 10.25\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path d=\"M10 4.75A2 2 0 0 1 14 4.75A2 2 0 0 1 10 4.75Z\"/></g></g>","mass":[[12,13.39,107.63]]},"solid":{"markup":"<g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M18.41 11.86A1.25 1.25 0 0 1 20.55 11.98L21.52 13.81A1.25 1.25 0 0 1 20.42 15.65L20.26 15.65A8.54 8.54 0 0 1 7.32 20.61A8.53 8.53 0 0 1 3.74 15.65L3.58 15.65A1.25 1.25 0 0 1 2.48 13.81L3.45 11.98A1.25 1.25 0 0 1 5.59 11.86L6.84 13.7A1.25 1.25 0 0 1 5.93 15.64Q5.97 15.73 6 15.82A6.45 6.45 0 0 0 18 15.82Q18.03 15.73 18.07 15.64A1.25 1.25 0 0 1 17.16 13.7L18.41 11.86Z\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path fill=\"currentColor\" d=\"M13.05 7.45L13.05 20.9A1.05 1.05 0 0 1 10.95 20.9L10.95 7.45A1.05 1.05 0 0 1 13.05 7.45Z\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path fill=\"currentColor\" d=\"M8.5 9.95L15.5 9.95A1.05 1.05 0 0 1 15.5 12.05L8.5 12.05A1.05 1.05 0 0 1 8.5 9.95Z\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path fill=\"currentColor\" d=\"M8.75 5.25A3.25 3.25 0 0 1 15.2 4.66A3.25 3.25 0 0 1 8.98 6.45A3.24 3.24 0 0 1 8.75 5.25ZM10.85 5.25A1.15 1.15 0 0 0 13.07 5.67A1.15 1.15 0 0 0 11.19 4.44A1.14 1.14 0 0 0 10.85 5.25Z\"/></g>","mass":[[12,13.3,149.18]]},"glass":{"markup":"<defs><linearGradient id=\"jigg-anchor-glass-g2\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"11.18\" x2=\"0\" y2=\"22\"><stop stop-color=\"#5b5b5e\" stop-opacity=\"1\"/><stop offset=\"1\" stop-color=\"#161617\" stop-opacity=\"1\"/></linearGradient><linearGradient id=\"jigg-anchor-glass-g5\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"6.25\" x2=\"0\" y2=\"22\"><stop stop-color=\"#e3e3e5\" stop-opacity=\"0.62\"/><stop offset=\"1\" stop-color=\"#bbbbc0\" stop-opacity=\"0.62\"/></linearGradient><linearGradient id=\"jigg-anchor-glass-g8\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"9.25\" x2=\"0\" y2=\"11.25\"><stop stop-color=\"#5b5b5e\" stop-opacity=\"1\"/><stop offset=\"1\" stop-color=\"#161617\" stop-opacity=\"1\"/></linearGradient><linearGradient id=\"jigg-anchor-glass-g9\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"2\" x2=\"0\" y2=\"7.5\"><stop stop-color=\"#5b5b5e\" stop-opacity=\"1\"/><stop offset=\"1\" stop-color=\"#161617\" stop-opacity=\"1\"/></linearGradient><mask id=\"jigg-anchor-glass-out2\" maskUnits=\"userSpaceOnUse\" x=\"-12\" y=\"-12\" width=\"48\" height=\"48\"><rect x=\"-12\" y=\"-12\" width=\"48\" height=\"48\" fill=\"#fff\"/><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path fill-rule=\"evenodd\" d=\"M12.87 6.41A2.34 2.34 0 0 0 9.65 8.6L9.65 19.65A2.35 2.35 0 0 0 14.19 20.52Q14.35 20.1 14.35 19.65L14.35 8.6A2.34 2.34 0 0 0 12.87 6.41Z\" fill=\"#000\"/></g></mask><mask id=\"jigg-anchor-glass-in5\" maskUnits=\"userSpaceOnUse\" x=\"-12\" y=\"-12\" width=\"48\" height=\"48\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path fill-rule=\"evenodd\" d=\"M12.87 6.41A2.34 2.34 0 0 0 9.65 8.6L9.65 19.65A2.35 2.35 0 0 0 14.19 20.52Q14.35 20.1 14.35 19.65L14.35 8.6A2.34 2.34 0 0 0 12.87 6.41Z\" fill=\"#fff\"/></g></mask><linearGradient id=\"jigg-anchor-glass-r5\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"6.25\" x2=\"0\" y2=\"16.02\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#fff\" stop-opacity=\"0\"/></linearGradient><filter id=\"jigg-anchor-glass-blur\" x=\"-50%\" y=\"-50%\" width=\"200%\" height=\"200%\" filterUnits=\"objectBoundingBox\"><feGaussianBlur stdDeviation=\"1.6\"/></filter></defs><g mask=\"url(#jigg-anchor-glass-out2)\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path fill-rule=\"evenodd\" d=\"M3.47 11.84A1.25 1.25 0 0 1 5.57 11.69L6.91 13.51A1.25 1.25 0 0 1 6.16 15.47Q6.17 15.51 6.19 15.55A6.25 6.25 0 0 0 17.81 15.55Q17.83 15.51 17.84 15.47A1.25 1.25 0 0 1 17.09 13.51L18.43 11.69A1.25 1.25 0 0 1 20.53 11.84L21.51 13.66A1.25 1.25 0 0 1 20.46 15.5A8.74 8.74 0 0 1 7.21 20.57A8.73 8.73 0 0 1 3.54 15.5A1.25 1.25 0 0 1 2.49 13.66L3.47 11.84Z\" fill=\"url(#jigg-anchor-glass-g2)\"/></g></g><g mask=\"url(#jigg-anchor-glass-in5)\"><g filter=\"url(#jigg-anchor-glass-blur)\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path fill-rule=\"evenodd\" d=\"M3.47 11.84A1.25 1.25 0 0 1 5.57 11.69L6.91 13.51A1.25 1.25 0 0 1 6.16 15.47Q6.17 15.51 6.19 15.55A6.25 6.25 0 0 0 17.81 15.55Q17.83 15.51 17.84 15.47A1.25 1.25 0 0 1 17.09 13.51L18.43 11.69A1.25 1.25 0 0 1 20.53 11.84L21.51 13.66A1.25 1.25 0 0 1 20.46 15.5A8.74 8.74 0 0 1 7.21 20.57A8.73 8.73 0 0 1 3.54 15.5A1.25 1.25 0 0 1 2.49 13.66L3.47 11.84Z\" fill=\"url(#jigg-anchor-glass-g2)\"/></g></g></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path fill-rule=\"evenodd\" d=\"M12.87 6.41A2.34 2.34 0 0 0 9.65 8.6L9.65 19.65A2.35 2.35 0 0 0 14.19 20.52Q14.35 20.1 14.35 19.65L14.35 8.6A2.34 2.34 0 0 0 12.87 6.41Z\" fill=\"url(#jigg-anchor-glass-g5)\"/><path fill-rule=\"evenodd\" d=\"M12 6.25A2.34 2.34 0 0 1 14.35 8.6L14.35 19.65A2.35 2.35 0 0 1 9.81 20.52Q9.65 20.1 9.65 19.65L9.65 8.6A2.34 2.34 0 0 1 12 6.25ZM12 7A1.6 1.6 0 0 1 13.6 8.6L13.6 19.65A1.6 1.6 0 0 1 10.51 20.24Q10.4 19.96 10.4 19.65L10.4 8.6A1.6 1.6 0 0 1 12 7Z\" fill=\"url(#jigg-anchor-glass-r5)\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path d=\"M8 9.25L16 9.25A1 1 0 0 1 16 11.25L8 11.25A1 1 0 0 1 8 9.25Z\" fill=\"url(#jigg-anchor-glass-g8)\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path d=\"M9.25 4.75A2.74 2.74 0 0 1 12 2A2.74 2.74 0 0 1 14.75 4.75A2.74 2.74 0 0 1 12 7.5A2.74 2.74 0 0 1 9.25 4.75ZM10.75 4.75A1.25 1.25 0 0 0 13.16 5.21A1.25 1.25 0 0 0 11.12 3.87A1.24 1.24 0 0 0 10.75 4.75Z\" fill=\"url(#jigg-anchor-glass-g9)\"/></g>","mass":[[12,13.94,185.4]]},"duotone":{"markup":"<g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path fill=\"currentColor\" fill-opacity=\"0.2\" d=\"M13.05 7.45L13.05 20.9A1.05 1.05 0 0 1 10.95 20.9L10.95 7.45A1.05 1.05 0 0 1 13.05 7.45Z\"/></g><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path d=\"M4.25 12.5L4.25 13.5A7.75 7.75 0 0 0 19.75 13.5L19.75 12.5M2.75 14.5L3.93 12.93A0.4 0.4 0 0 1 4.57 12.93L5.75 14.5M18.25 14.5L19.43 12.93A0.4 0.4 0 0 1 20.07 12.93L21.25 14.5\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path d=\"M12 6.75L12 21.25\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path d=\"M8.25 10.25L15.75 10.25\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:50% 12.5%\"><path d=\"M10 4.75A2 2 0 0 1 14 4.75A2 2 0 0 1 10 4.75Z\"/></g></g>","mass":[[12,13.34,256.81]]}},"motion":{"ms":1400,"sound":[{"m":"metal","t":0.17,"v":1,"p":0.78},{"m":"metal","t":0.62,"v":0.3,"p":0.84}],"outline":[[-1,12,3,{"y":{"push":[[1.5,0,0.18]],"spring":[5.2,0.42]},"r":{"push":[[10,0.1,0.32],[-4,0.36,0.58]],"spring":[2.4,0.32]}}]],"dir":[0,1]}};
|
package/icons/balloon.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// Balloon: a free Jiggicon.
|
|
2
|
+
export default {"v":1,"id":"balloon","name":"Balloon","category":"Sports & games","svg":{"outline":{"markup":"<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:51.04% 72.92%\"><path d=\"M12 17.2C12 18.5 13.1 18.9 13.1 19.8C13.1 20.6 12.2 20.9 11.9 21.6\"/></g></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path d=\"M11.8 15.57A0.25 0.25 0 0 1 12.2 15.57L13.11 16.8A0.25 0.25 0 0 1 12.91 17.2L11.09 17.2A0.25 0.25 0 0 1 10.89 16.8Z\" fill=\"currentColor\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path d=\"M12 2.5C15.3 2.5 18 5.1 18 8.4C18 11.9 14.4 15.3 12 15.3C9.6 15.3 6 11.9 6 8.4C6 5.1 8.7 2.5 12 2.5Z\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><g data-rig-layer=\"2\" style=\"transform-box:view-box;transform-origin:41.67% 29.17%\"><path d=\"M8.9 8.3A3.4 3.4 0 0 1 11.2 5.7\"/></g></g></g>","mass":[[12,9.15,156.85],[12.42,19.46,9.4],[9.87,6.84,7.23],[12,12,0]]},"solid":{"markup":"<g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:51.04% 72.92%\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M12 17.05Q11.65 17.05 11.28 16.99A0.75 0.75 0 0 0 11.25 17.2Q11.25 17.84 11.52 18.42Q11.63 18.63 11.78 18.86Q11.86 18.98 12.02 19.2Q12.14 19.35 12.19 19.42Q12.25 19.52 12.29 19.59Q12.32 19.66 12.34 19.71Q12.35 19.75 12.35 19.8Q12.35 19.84 12.34 19.88Q12.32 19.92 12.29 19.97Q12.24 20.04 12.16 20.13Q12.1 20.19 11.96 20.33Q11.84 20.44 11.78 20.51Q11.67 20.62 11.58 20.72Q11.34 21.01 11.21 21.3A0.75 0.75 0 0 0 11.6 22.29A0.75 0.75 0 0 0 12.59 21.9Q12.63 21.8 12.72 21.69Q12.77 21.63 12.85 21.56Q12.9 21.51 13 21.41Q13.17 21.24 13.26 21.15Q13.42 20.98 13.53 20.82Q13.85 20.34 13.85 19.8Q13.85 19.34 13.62 18.9Q13.54 18.75 13.42 18.58Q13.36 18.48 13.23 18.3Q13.09 18.12 13.03 18.02Q12.93 17.89 12.88 17.77Q12.82 17.64 12.79 17.51Q12.75 17.36 12.75 17.2A0.75 0.75 0 0 0 12.72 16.99Q12.35 17.05 12 17.05Z\"/></g></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10.54 16.82Q10.34 16.76 10.13 16.68A1 1 0 0 0 11.09 17.95L12.91 17.95A1 1 0 0 0 13.87 16.68Q13.66 16.76 13.46 16.82Q12.7 17.05 12 17.05Q11.3 17.05 10.54 16.82Z\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M12 1.75Q12.69 1.75 13.35 1.88Q14 2.01 14.62 2.26Q15.22 2.51 15.76 2.87Q16.3 3.23 16.76 3.68Q17.22 4.13 17.59 4.66Q17.96 5.19 18.22 5.79Q18.48 6.4 18.61 7.05Q18.75 7.71 18.75 8.4Q18.75 9.13 18.57 9.88Q18.4 10.58 18.08 11.27Q17.78 11.92 17.35 12.54Q16.95 13.14 16.45 13.67Q15.96 14.2 15.42 14.63Q14.88 15.06 14.31 15.37Q13.73 15.69 13.17 15.86Q12.56 16.05 12 16.05Q11.44 16.05 10.83 15.86Q10.27 15.69 9.69 15.37Q9.12 15.06 8.58 14.63Q8.04 14.2 7.55 13.67Q7.05 13.14 6.65 12.54Q6.22 11.92 5.92 11.27Q5.6 10.58 5.43 9.88Q5.25 9.13 5.25 8.4Q5.25 7.71 5.39 7.05Q5.52 6.4 5.78 5.79Q6.04 5.19 6.41 4.66Q6.78 4.13 7.24 3.68Q7.7 3.23 8.24 2.87Q8.78 2.51 9.38 2.26Q10 2.01 10.65 1.88Q11.31 1.75 12 1.75ZM8.51 7.13Q8.27 7.62 8.16 8.16A0.75 0.75 0 0 0 9.64 8.44A2.64 2.64 0 0 1 11.43 6.41A0.75 0.75 0 0 0 11.91 5.47A0.75 0.75 0 0 0 10.97 4.99A4.13 4.13 0 0 0 8.51 7.13Z\"/></g>","mass":[[12,9.15,156.85],[12.42,19.46,9.4],[12,12,0],[12,12,0]]},"glass":{"markup":"<defs><linearGradient id=\"jigg-balloon-glass-g4\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"3.36\" x2=\"0\" y2=\"15.38\"><stop stop-color=\"#5b5b5e\" stop-opacity=\"1\"/><stop offset=\"1\" stop-color=\"#161617\" stop-opacity=\"1\"/></linearGradient><linearGradient id=\"jigg-balloon-glass-g5\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"16.45\" x2=\"0\" y2=\"22.35\"><stop stop-color=\"#5b5b5e\" stop-opacity=\"1\"/><stop offset=\"1\" stop-color=\"#161617\" stop-opacity=\"1\"/></linearGradient><linearGradient id=\"jigg-balloon-glass-g6\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"14.72\" x2=\"0\" y2=\"17.95\"><stop stop-color=\"#5b5b5e\" stop-opacity=\"1\"/><stop offset=\"1\" stop-color=\"#161617\" stop-opacity=\"1\"/></linearGradient><linearGradient id=\"jigg-balloon-glass-g7\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"1.75\" x2=\"0\" y2=\"16.05\"><stop stop-color=\"#e3e3e5\" stop-opacity=\"0.62\"/><stop offset=\"1\" stop-color=\"#bbbbc0\" stop-opacity=\"0.62\"/></linearGradient><mask id=\"jigg-balloon-glass-out4\" maskUnits=\"userSpaceOnUse\" x=\"-12\" y=\"-12\" width=\"48\" height=\"48\"><rect x=\"-12\" y=\"-12\" width=\"48\" height=\"48\" fill=\"#fff\"/><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path fill-rule=\"evenodd\" d=\"M13.85 1.88A6.91 6.91 0 0 0 11.15 1.88Q10.5 2.01 9.88 2.26Q9.28 2.51 8.74 2.87Q8.2 3.23 7.74 3.68Q7.28 4.13 6.91 4.66Q6.54 5.19 6.28 5.79Q6.02 6.4 5.89 7.05Q5.75 7.71 5.75 8.4Q5.75 9.13 5.93 9.88Q6.1 10.58 6.42 11.27Q6.72 11.92 7.15 12.54Q7.55 13.14 8.05 13.67Q8.54 14.2 9.08 14.63Q9.62 15.06 10.19 15.37Q10.77 15.69 11.33 15.86Q11.94 16.05 12.5 16.05Q13.06 16.05 13.67 15.86Q14.23 15.69 14.81 15.37Q15.38 15.06 15.92 14.63Q16.46 14.2 16.95 13.67Q17.45 13.14 17.85 12.54Q18.28 11.92 18.58 11.27Q18.9 10.58 19.07 9.88Q19.25 9.13 19.25 8.4Q19.25 7.71 19.11 7.05Q18.98 6.4 18.72 5.79Q18.46 5.19 18.09 4.66Q17.72 4.13 17.26 3.68Q16.8 3.23 16.26 2.87Q15.72 2.51 15.12 2.26Q14.5 2.01 13.85 1.88Z\" fill=\"#000\"/></g></mask><mask id=\"jigg-balloon-glass-out6\" maskUnits=\"userSpaceOnUse\" x=\"-12\" y=\"-12\" width=\"48\" height=\"48\"><rect x=\"-12\" y=\"-12\" width=\"48\" height=\"48\" fill=\"#fff\"/><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path fill-rule=\"evenodd\" d=\"M13.85 1.88A6.91 6.91 0 0 0 11.15 1.88Q10.5 2.01 9.88 2.26Q9.28 2.51 8.74 2.87Q8.2 3.23 7.74 3.68Q7.28 4.13 6.91 4.66Q6.54 5.19 6.28 5.79Q6.02 6.4 5.89 7.05Q5.75 7.71 5.75 8.4Q5.75 9.13 5.93 9.88Q6.1 10.58 6.42 11.27Q6.72 11.92 7.15 12.54Q7.55 13.14 8.05 13.67Q8.54 14.2 9.08 14.63Q9.62 15.06 10.19 15.37Q10.77 15.69 11.33 15.86Q11.94 16.05 12.5 16.05Q13.06 16.05 13.67 15.86Q14.23 15.69 14.81 15.37Q15.38 15.06 15.92 14.63Q16.46 14.2 16.95 13.67Q17.45 13.14 17.85 12.54Q18.28 11.92 18.58 11.27Q18.9 10.58 19.07 9.88Q19.25 9.13 19.25 8.4Q19.25 7.71 19.11 7.05Q18.98 6.4 18.72 5.79Q18.46 5.19 18.09 4.66Q17.72 4.13 17.26 3.68Q16.8 3.23 16.26 2.87Q15.72 2.51 15.12 2.26Q14.5 2.01 13.85 1.88Z\" fill=\"#000\"/></g></mask><mask id=\"jigg-balloon-glass-in7\" maskUnits=\"userSpaceOnUse\" x=\"-12\" y=\"-12\" width=\"48\" height=\"48\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path fill-rule=\"evenodd\" d=\"M13.85 1.88A6.91 6.91 0 0 0 11.15 1.88Q10.5 2.01 9.88 2.26Q9.28 2.51 8.74 2.87Q8.2 3.23 7.74 3.68Q7.28 4.13 6.91 4.66Q6.54 5.19 6.28 5.79Q6.02 6.4 5.89 7.05Q5.75 7.71 5.75 8.4Q5.75 9.13 5.93 9.88Q6.1 10.58 6.42 11.27Q6.72 11.92 7.15 12.54Q7.55 13.14 8.05 13.67Q8.54 14.2 9.08 14.63Q9.62 15.06 10.19 15.37Q10.77 15.69 11.33 15.86Q11.94 16.05 12.5 16.05Q13.06 16.05 13.67 15.86Q14.23 15.69 14.81 15.37Q15.38 15.06 15.92 14.63Q16.46 14.2 16.95 13.67Q17.45 13.14 17.85 12.54Q18.28 11.92 18.58 11.27Q18.9 10.58 19.07 9.88Q19.25 9.13 19.25 8.4Q19.25 7.71 19.11 7.05Q18.98 6.4 18.72 5.79Q18.46 5.19 18.09 4.66Q17.72 4.13 17.26 3.68Q16.8 3.23 16.26 2.87Q15.72 2.51 15.12 2.26Q14.5 2.01 13.85 1.88Z\" fill=\"#fff\"/></g></mask><linearGradient id=\"jigg-balloon-glass-r7\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"1.75\" x2=\"0\" y2=\"10.62\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#fff\" stop-opacity=\"0\"/></linearGradient><filter id=\"jigg-balloon-glass-blur\" x=\"-50%\" y=\"-50%\" width=\"200%\" height=\"200%\" filterUnits=\"objectBoundingBox\"><feGaussianBlur stdDeviation=\"1.6\"/></filter></defs><g mask=\"url(#jigg-balloon-glass-out4)\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><g data-rig-layer=\"3\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path fill-rule=\"evenodd\" d=\"M8.73 3.42A5.95 5.95 0 0 0 6.54 4.22Q6.05 4.52 5.63 4.9Q5.22 5.28 4.89 5.72Q4.56 6.17 4.33 6.66Q4.09 7.16 3.96 7.69Q3.82 8.22 3.79 8.77Q3.76 9.33 3.84 9.88Q3.92 10.45 4.12 10.99Q4.33 11.57 4.7 12.12Q5.03 12.63 5.49 13.09Q5.92 13.53 6.44 13.9Q6.94 14.26 7.49 14.55Q8.03 14.83 8.59 15.02Q9.15 15.21 9.69 15.3Q10.25 15.4 10.76 15.37Q11.31 15.35 11.76 15.18Q12.22 15.01 12.66 14.68Q13.06 14.37 13.43 13.94Q13.79 13.52 14.1 13.01Q14.4 12.51 14.63 11.95Q14.87 11.38 15.02 10.78Q15.18 10.16 15.23 9.55Q15.28 8.9 15.21 8.29Q15.14 7.64 14.93 7.06Q14.73 6.52 14.43 6.03Q14.14 5.55 13.75 5.14Q13.38 4.74 12.93 4.42Q12.49 4.1 11.99 3.87Q11.49 3.65 10.95 3.52Q10.41 3.39 9.86 3.36Q9.29 3.34 8.73 3.42Z\" fill=\"url(#jigg-balloon-glass-g4)\"/></g></g></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:51.04% 72.92%\"><path d=\"M13.25 17.2Q13.25 17.36 13.29 17.51Q13.32 17.64 13.38 17.77Q13.43 17.89 13.53 18.02Q13.59 18.12 13.73 18.3Q13.86 18.48 13.92 18.58Q14.04 18.75 14.12 18.9Q14.35 19.34 14.35 19.8Q14.35 20.34 14.03 20.82Q13.92 20.98 13.76 21.15Q13.67 21.24 13.5 21.41Q13.4 21.51 13.35 21.56Q13.27 21.63 13.22 21.69Q13.13 21.8 13.09 21.9A0.75 0.75 0 0 1 11.71 21.3Q11.84 21.01 12.08 20.72Q12.17 20.62 12.28 20.51Q12.34 20.44 12.46 20.33Q12.6 20.19 12.66 20.13Q12.74 20.04 12.79 19.97Q12.82 19.92 12.84 19.88Q12.85 19.84 12.85 19.8Q12.85 19.75 12.84 19.71Q12.82 19.66 12.79 19.59Q12.75 19.52 12.69 19.42Q12.64 19.35 12.52 19.2Q12.36 18.98 12.28 18.86Q12.13 18.63 12.02 18.42Q11.75 17.84 11.75 17.2A0.75 0.75 0 0 1 13.25 17.2Z\" fill=\"url(#jigg-balloon-glass-g5)\"/></g></g><g mask=\"url(#jigg-balloon-glass-out6)\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path fill-rule=\"evenodd\" d=\"M12.03 14.84Q11.83 14.95 11.69 15.13L10.79 16.36A1 1 0 0 0 11.59 17.95L13.41 17.95A1 1 0 0 0 14.21 16.36L13.31 15.13A0.99 0.99 0 0 0 12.03 14.84Z\" fill=\"url(#jigg-balloon-glass-g6)\"/></g></g><g mask=\"url(#jigg-balloon-glass-in7)\"><g filter=\"url(#jigg-balloon-glass-blur)\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><g data-rig-layer=\"3\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path fill-rule=\"evenodd\" d=\"M8.73 3.42A5.95 5.95 0 0 0 6.54 4.22Q6.05 4.52 5.63 4.9Q5.22 5.28 4.89 5.72Q4.56 6.17 4.33 6.66Q4.09 7.16 3.96 7.69Q3.82 8.22 3.79 8.77Q3.76 9.33 3.84 9.88Q3.92 10.45 4.12 10.99Q4.33 11.57 4.7 12.12Q5.03 12.63 5.49 13.09Q5.92 13.53 6.44 13.9Q6.94 14.26 7.49 14.55Q8.03 14.83 8.59 15.02Q9.15 15.21 9.69 15.3Q10.25 15.4 10.76 15.37Q11.31 15.35 11.76 15.18Q12.22 15.01 12.66 14.68Q13.06 14.37 13.43 13.94Q13.79 13.52 14.1 13.01Q14.4 12.51 14.63 11.95Q14.87 11.38 15.02 10.78Q15.18 10.16 15.23 9.55Q15.28 8.9 15.21 8.29Q15.14 7.64 14.93 7.06Q14.73 6.52 14.43 6.03Q14.14 5.55 13.75 5.14Q13.38 4.74 12.93 4.42Q12.49 4.1 11.99 3.87Q11.49 3.65 10.95 3.52Q10.41 3.39 9.86 3.36Q9.29 3.34 8.73 3.42Z\" fill=\"url(#jigg-balloon-glass-g4)\"/></g></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path fill-rule=\"evenodd\" d=\"M12.03 14.84Q11.83 14.95 11.69 15.13L10.79 16.36A1 1 0 0 0 11.59 17.95L13.41 17.95A1 1 0 0 0 14.21 16.36L13.31 15.13A0.99 0.99 0 0 0 12.03 14.84Z\" fill=\"url(#jigg-balloon-glass-g6)\"/></g></g></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path fill-rule=\"evenodd\" d=\"M13.85 1.88A6.91 6.91 0 0 0 11.15 1.88Q10.5 2.01 9.88 2.26Q9.28 2.51 8.74 2.87Q8.2 3.23 7.74 3.68Q7.28 4.13 6.91 4.66Q6.54 5.19 6.28 5.79Q6.02 6.4 5.89 7.05Q5.75 7.71 5.75 8.4Q5.75 9.13 5.93 9.88Q6.1 10.58 6.42 11.27Q6.72 11.92 7.15 12.54Q7.55 13.14 8.05 13.67Q8.54 14.2 9.08 14.63Q9.62 15.06 10.19 15.37Q10.77 15.69 11.33 15.86Q11.94 16.05 12.5 16.05Q13.06 16.05 13.67 15.86Q14.23 15.69 14.81 15.37Q15.38 15.06 15.92 14.63Q16.46 14.2 16.95 13.67Q17.45 13.14 17.85 12.54Q18.28 11.92 18.58 11.27Q18.9 10.58 19.07 9.88Q19.25 9.13 19.25 8.4Q19.25 7.71 19.11 7.05Q18.98 6.4 18.72 5.79Q18.46 5.19 18.09 4.66Q17.72 4.13 17.26 3.68Q16.8 3.23 16.26 2.87Q15.72 2.51 15.12 2.26Q14.5 2.01 13.85 1.88Z\" fill=\"url(#jigg-balloon-glass-g7)\"/><path fill-rule=\"evenodd\" d=\"M12.5 1.75Q13.19 1.75 13.85 1.88Q14.5 2.01 15.12 2.26Q15.72 2.51 16.26 2.87Q16.8 3.23 17.26 3.68Q17.72 4.13 18.09 4.66Q18.46 5.19 18.72 5.79Q18.98 6.4 19.11 7.05Q19.25 7.71 19.25 8.4Q19.25 9.13 19.07 9.88Q18.9 10.58 18.58 11.27Q18.28 11.92 17.85 12.54Q17.45 13.14 16.95 13.67Q16.46 14.2 15.92 14.63Q15.38 15.06 14.81 15.37Q14.23 15.69 13.67 15.86Q13.06 16.05 12.5 16.05Q11.94 16.05 11.33 15.86Q10.77 15.69 10.19 15.37Q9.62 15.06 9.08 14.63Q8.54 14.2 8.05 13.67Q7.55 13.14 7.15 12.54Q6.72 11.92 6.42 11.27Q6.1 10.58 5.93 9.88Q5.75 9.13 5.75 8.4Q5.75 7.71 5.89 7.05Q6.02 6.4 6.28 5.79Q6.54 5.19 6.91 4.66Q7.28 4.13 7.74 3.68Q8.2 3.23 8.74 2.87Q9.28 2.51 9.88 2.26Q10.5 2.01 11.15 1.88Q11.81 1.75 12.5 1.75ZM12.5 2.5Q13.11 2.5 13.71 2.62Q14.28 2.73 14.83 2.96Q15.37 3.18 15.85 3.5Q16.33 3.81 16.74 4.21Q17.15 4.61 17.47 5.08Q17.8 5.56 18.03 6.09Q18.26 6.62 18.38 7.2Q18.5 7.79 18.5 8.4Q18.5 9.04 18.34 9.7Q18.19 10.33 17.9 10.95Q17.62 11.55 17.23 12.12Q16.86 12.67 16.4 13.16Q15.95 13.64 15.45 14.04Q14.96 14.43 14.45 14.71Q13.94 15 13.45 15.15Q12.94 15.3 12.5 15.3Q12.06 15.3 11.55 15.15Q11.06 15 10.55 14.71Q10.04 14.43 9.55 14.04Q9.05 13.64 8.6 13.16Q8.14 12.67 7.77 12.12Q7.38 11.55 7.1 10.95Q6.81 10.33 6.66 9.7Q6.5 9.04 6.5 8.4Q6.5 7.79 6.62 7.2Q6.74 6.62 6.97 6.09Q7.2 5.56 7.53 5.08Q7.85 4.61 8.26 4.21Q8.67 3.81 9.15 3.5Q9.63 3.18 10.17 2.96Q10.72 2.73 11.29 2.62Q11.89 2.5 12.5 2.5Z\" fill=\"url(#jigg-balloon-glass-r7)\"/></g>","mass":[[12.5,9.15,156.85],[12.92,19.46,9.4],[12,12,0],[9.62,9.28,107.33]]},"duotone":{"markup":"<g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path fill=\"currentColor\" fill-opacity=\"0.2\" fill-rule=\"evenodd\" d=\"M12 1.75Q12.69 1.75 13.35 1.88Q14 2.01 14.62 2.26Q15.22 2.51 15.76 2.87Q16.3 3.23 16.76 3.68Q17.22 4.13 17.59 4.66Q17.96 5.19 18.22 5.79Q18.48 6.4 18.61 7.05Q18.75 7.71 18.75 8.4Q18.75 9.13 18.57 9.88Q18.4 10.58 18.08 11.27Q17.78 11.92 17.35 12.54Q16.95 13.14 16.45 13.67Q15.96 14.2 15.42 14.63Q14.88 15.06 14.31 15.37Q13.73 15.69 13.17 15.86Q12.56 16.05 12 16.05Q11.44 16.05 10.83 15.86Q10.27 15.69 9.69 15.37Q9.12 15.06 8.58 14.63Q8.04 14.2 7.55 13.67Q7.05 13.14 6.65 12.54Q6.22 11.92 5.92 11.27Q5.6 10.58 5.43 9.88Q5.25 9.13 5.25 8.4Q5.25 7.71 5.39 7.05Q5.52 6.4 5.78 5.79Q6.04 5.19 6.41 4.66Q6.78 4.13 7.24 3.68Q7.7 3.23 8.24 2.87Q8.78 2.51 9.38 2.26Q10 2.01 10.65 1.88Q11.31 1.75 12 1.75ZM8.51 7.13Q8.27 7.62 8.16 8.16A0.75 0.75 0 0 0 9.64 8.44A2.64 2.64 0 0 1 11.43 6.41A0.75 0.75 0 0 0 11.91 5.47A0.75 0.75 0 0 0 10.97 4.99A4.13 4.13 0 0 0 8.51 7.13Z\"/></g><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:51.04% 72.92%\"><path d=\"M12 17.2C12 18.5 13.1 18.9 13.1 19.8C13.1 20.6 12.2 20.9 11.9 21.6\"/></g></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path d=\"M11.8 15.57A0.25 0.25 0 0 1 12.2 15.57L13.11 16.8A0.25 0.25 0 0 1 12.91 17.2L11.09 17.2A0.25 0.25 0 0 1 10.89 16.8Z\" fill=\"currentColor\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><path d=\"M12 2.5C15.3 2.5 18 5.1 18 8.4C18 11.9 14.4 15.3 12 15.3C9.6 15.3 6 11.9 6 8.4C6 5.1 8.7 2.5 12 2.5Z\"/></g><g data-rig-layer=\"0\" style=\"transform-box:view-box;transform-origin:51.04% 71.67%\"><g data-rig-layer=\"2\" style=\"transform-box:view-box;transform-origin:41.67% 29.17%\"><path d=\"M8.9 8.3A3.4 3.4 0 0 1 11.2 5.7\"/></g></g></g>","mass":[[12,9.15,156.85],[12.42,19.46,9.4],[9.87,6.84,7.23],[12,12,0]]}},"motion":{"ms":1400,"sound":[{"m":"rubber","t":0.05,"v":0.85,"p":1.25}],"outline":[[-1,12.25,17.2,{"y":{"push":[[-1.4,0,0.3]],"spring":[3.2,0.45]},"r":{"push":[[12,0,0.22],[-8,0.2,0.46],[3,0.44,0.7]],"spring":[2.8,0.3]}}],[0,12.25,17.5,{"r":{"follow":[0,"r"],"gain":-0.9,"spring":[3.4,0.3]}}],[0,10,7,{"o":{"push":[[-0.5,0.04,0.2]],"spring":[6,0.5]}}],[0,12.25,17.2,{"r":{"follow":[0,"r"],"spring":[2.6,0.34],"relative":true,"gain":1.15}}]],"dir":[0,-1]}};
|
package/icons/beach.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// Beach: a free Jiggicon.
|
|
2
|
+
export default {"v":1,"id":"beach","name":"Beach","category":"Nature","svg":{"outline":{"markup":"<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-rig-layer=\"2\" style=\"transform-box:view-box;transform-origin:50% 84.38%\"><path d=\"M3 20.25Q5.25 22 7.5 20.25Q9.75 18.5 12 20.25Q14.25 22 16.5 20.25Q18.75 18.5 21 20.25\"/></g><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:56.67% 70.83%\"><path d=\"M4.26 12.04A7.75 7.75 0 0 1 19.23 8.03A4 4 0 0 0 14.23 9.37A4 4 0 0 0 9.25 10.7A4 4 0 0 0 4.26 12.04Z\"/></g><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:56.67% 70.83%\"><path d=\"M11.5 9.12L13.62 17.04\"/></g></g>","mass":[[12,12,0],[11.02,7.35,131.03],[12,20.25,31.29]]},"solid":{"markup":"<g data-rig-layer=\"2\" style=\"transform-box:view-box;transform-origin:50% 84.38%\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M3.46 19.66Q4.38 20.38 5.25 20.38Q6.12 20.38 7.04 19.66Q7.69 19.15 8.35 18.89Q9.05 18.63 9.75 18.63Q10.45 18.63 11.15 18.89Q11.81 19.15 12.46 19.66Q13.38 20.38 14.25 20.38Q15.12 20.38 16.04 19.66Q16.69 19.15 17.35 18.89Q18.05 18.63 18.75 18.63Q19.45 18.63 20.15 18.89Q20.81 19.15 21.46 19.66A0.75 0.75 0 0 1 20.54 20.84Q19.62 20.13 18.75 20.13Q17.88 20.13 16.96 20.84Q16.31 21.35 15.65 21.61Q14.95 21.88 14.25 21.88Q13.55 21.88 12.85 21.61Q12.19 21.35 11.54 20.84Q10.62 20.13 9.75 20.13Q8.88 20.13 7.96 20.84Q7.31 21.35 6.65 21.61Q5.95 21.88 5.25 21.88Q4.55 21.88 3.85 21.61Q3.19 21.35 2.54 20.84A0.75 0.75 0 0 1 2.41 19.79A0.75 0.75 0 0 1 3.46 19.66Z\"/></g><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:56.67% 70.83%\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M3.53 12.23A8.49 8.49 0 0 1 12.72 1.59A8.48 8.48 0 0 1 19.95 7.83A0.75 0.75 0 0 1 18.91 8.71A3.23 3.23 0 0 0 14.85 9.79A0.75 0.75 0 0 0 14.96 9.17Q14.64 7.98 14.16 6.92Q13.9 6.35 13.6 5.85Q13.3 5.33 12.97 4.9Q12.63 4.46 12.28 4.14Q11.91 3.81 11.53 3.6Q11.14 3.39 10.74 3.33A1.89 1.89 0 0 0 9.25 3.73Q8.94 3.98 8.71 4.36Q8.48 4.73 8.33 5.2Q8.19 5.66 8.11 6.2Q8.04 6.74 8.03 7.34Q8.03 7.92 8.09 8.54Q8.21 9.7 8.52 10.9A0.75 0.75 0 0 0 8.93 11.38A3.23 3.23 0 0 0 4.87 12.47A0.75 0.75 0 0 1 3.53 12.23Z\"/></g><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:56.67% 70.83%\"><path fill=\"currentColor\" d=\"M12.22 8.92L14.34 16.84A0.75 0.75 0 0 1 12.89 17.23L10.77 9.31A0.75 0.75 0 0 1 12.22 8.92Z\"/></g>","mass":[[12,12,0],[11.02,7.35,131.03],[12,20.25,31.29]]},"glass":{"markup":"<defs><linearGradient id=\"jigg-beach-glass-g0\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"18.63\" x2=\"0\" y2=\"21.88\"><stop stop-color=\"#5b5b5e\" stop-opacity=\"1\"/><stop offset=\"1\" stop-color=\"#161617\" stop-opacity=\"1\"/></linearGradient><linearGradient id=\"jigg-beach-glass-g1\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"1.53\" x2=\"0\" y2=\"12.79\"><stop stop-color=\"#e3e3e5\" stop-opacity=\"0.62\"/><stop offset=\"1\" stop-color=\"#bbbbc0\" stop-opacity=\"0.62\"/></linearGradient><linearGradient id=\"jigg-beach-glass-g2\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"3.31\" x2=\"0\" y2=\"11.45\"><stop stop-color=\"#5b5b5e\" stop-opacity=\"1\"/><stop offset=\"1\" stop-color=\"#161617\" stop-opacity=\"1\"/></linearGradient><linearGradient id=\"jigg-beach-glass-g3\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"8.37\" x2=\"0\" y2=\"17.79\"><stop stop-color=\"#5b5b5e\" stop-opacity=\"1\"/><stop offset=\"1\" stop-color=\"#161617\" stop-opacity=\"1\"/></linearGradient><linearGradient id=\"jigg-beach-glass-r1\" gradientUnits=\"userSpaceOnUse\" x1=\"0\" y1=\"1.53\" x2=\"0\" y2=\"8.51\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#fff\" stop-opacity=\"0\"/></linearGradient></defs><g data-rig-layer=\"2\" style=\"transform-box:view-box;transform-origin:50% 84.38%\"><path d=\"M3.46 19.66Q4.38 20.38 5.25 20.38Q6.12 20.38 7.04 19.66Q7.69 19.15 8.35 18.89Q9.05 18.63 9.75 18.63Q10.45 18.63 11.15 18.89Q11.81 19.15 12.46 19.66Q13.38 20.38 14.25 20.38Q15.12 20.38 16.04 19.66Q16.69 19.15 17.35 18.89Q18.05 18.63 18.75 18.63Q19.45 18.63 20.15 18.89Q20.81 19.15 21.46 19.66A0.75 0.75 0 0 1 20.54 20.84Q19.62 20.13 18.75 20.13Q17.88 20.13 16.96 20.84Q16.31 21.35 15.65 21.61Q14.95 21.88 14.25 21.88Q13.55 21.88 12.85 21.61Q12.19 21.35 11.54 20.84Q10.62 20.13 9.75 20.13Q8.88 20.13 7.96 20.84Q7.31 21.35 6.65 21.61Q5.95 21.88 5.25 21.88Q4.55 21.88 3.85 21.61Q3.19 21.35 2.54 20.84A0.75 0.75 0 0 1 3.46 19.66Z\" fill=\"url(#jigg-beach-glass-g0)\"/></g><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:56.67% 70.83%\"><path fill-rule=\"evenodd\" d=\"M3.27 10.7Q3.33 11.48 3.53 12.23A0.75 0.75 0 0 0 4.87 12.47A3.23 3.23 0 0 1 8.93 11.38A0.75 0.75 0 0 0 9.86 11.13A3.23 3.23 0 0 1 13.91 10.05A0.75 0.75 0 0 0 14.85 9.79A3.23 3.23 0 0 1 18.91 8.71A0.75 0.75 0 0 0 19.95 7.83A8.49 8.49 0 0 0 6.67 3.21A8.48 8.48 0 0 0 3.27 10.7Z\" fill=\"url(#jigg-beach-glass-g1)\"/><path fill-rule=\"evenodd\" d=\"M3.53 12.23A8.49 8.49 0 0 1 12.72 1.59A8.48 8.48 0 0 1 19.95 7.83A0.75 0.75 0 0 1 18.91 8.71A3.23 3.23 0 0 0 14.85 9.79A0.75 0.75 0 0 1 13.91 10.05A3.23 3.23 0 0 0 9.86 11.13A0.75 0.75 0 0 1 8.93 11.38A3.23 3.23 0 0 0 4.87 12.47A0.75 0.75 0 0 1 3.53 12.23ZM4.26 12.04A7.74 7.74 0 0 1 14.16 2.67A7.73 7.73 0 0 1 19.23 8.03A3.97 3.97 0 0 0 15.18 8.4Q14.62 8.8 14.23 9.37A3.97 3.97 0 0 0 10.2 9.74Q9.64 10.14 9.25 10.7A3.97 3.97 0 0 0 5.2 11.07Q4.65 11.48 4.26 12.04Z\" fill=\"url(#jigg-beach-glass-r1)\"/></g><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:56.67% 70.83%\"><path fill-rule=\"evenodd\" d=\"M10.74 3.33A1.89 1.89 0 0 0 9.25 3.73Q8.94 3.98 8.71 4.36Q8.48 4.73 8.33 5.2Q8.19 5.66 8.11 6.2Q8.04 6.74 8.03 7.34Q8.03 7.92 8.09 8.54Q8.21 9.7 8.52 10.9A0.75 0.75 0 0 0 9.86 11.13A3.23 3.23 0 0 1 13.91 10.05A0.75 0.75 0 0 0 14.96 9.17Q14.64 7.98 14.16 6.92Q13.9 6.35 13.6 5.85Q13.3 5.33 12.97 4.9Q12.63 4.46 12.28 4.14Q11.91 3.81 11.53 3.6Q11.14 3.39 10.74 3.33Z\" fill=\"url(#jigg-beach-glass-g2)\"/></g><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:56.67% 70.83%\"><path d=\"M12.22 8.92L14.34 16.84A0.75 0.75 0 0 1 12.89 17.23L10.77 9.31A0.75 0.75 0 0 1 12.22 8.92Z\" fill=\"url(#jigg-beach-glass-g3)\"/></g>","mass":[[12,12,0],[11.02,7.34,169.31],[12,20.25,31.29]]},"duotone":{"markup":"<g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:56.67% 70.83%\"><path fill=\"currentColor\" fill-opacity=\"0.2\" fill-rule=\"evenodd\" d=\"M3.53 12.23A8.49 8.49 0 0 1 12.72 1.59A8.48 8.48 0 0 1 19.95 7.83A0.75 0.75 0 0 1 18.91 8.71A3.23 3.23 0 0 0 14.85 9.79A0.75 0.75 0 0 0 14.96 9.17Q14.64 7.98 14.16 6.92Q13.9 6.35 13.6 5.85Q13.3 5.33 12.97 4.9Q12.63 4.46 12.28 4.14Q11.91 3.81 11.53 3.6Q11.14 3.39 10.74 3.33A1.89 1.89 0 0 0 9.25 3.73Q8.94 3.98 8.71 4.36Q8.48 4.73 8.33 5.2Q8.19 5.66 8.11 6.2Q8.04 6.74 8.03 7.34Q8.03 7.92 8.09 8.54Q8.21 9.7 8.52 10.9A0.75 0.75 0 0 0 8.93 11.38A3.23 3.23 0 0 0 4.87 12.47A0.75 0.75 0 0 1 3.53 12.23Z\"/></g><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><g data-rig-layer=\"2\" style=\"transform-box:view-box;transform-origin:50% 84.38%\"><path d=\"M3 20.25Q5.25 22 7.5 20.25Q9.75 18.5 12 20.25Q14.25 22 16.5 20.25Q18.75 18.5 21 20.25\"/></g><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:56.67% 70.83%\"><path d=\"M4.26 12.04A7.75 7.75 0 0 1 19.23 8.03A4 4 0 0 0 14.23 9.37A4 4 0 0 0 9.25 10.7A4 4 0 0 0 4.26 12.04Z\"/></g><g data-rig-layer=\"1\" style=\"transform-box:view-box;transform-origin:56.67% 70.83%\"><path d=\"M11.5 9.12L13.62 17.04\"/></g></g>","mass":[[12,12,0],[11.02,7.35,131.03],[12,20.25,31.29]]}},"motion":{"ms":1400,"sound":[{"m":"cloth","t":0.1,"v":0.35,"p":1.05},{"m":"water","t":0.32,"v":0.85}],"outline":[[-1,12,12,{}],[-1,13.6,17,{"r":{"push":[[-7,0,0.26],[5,0.24,0.52],[-2,0.5,0.78]],"spring":[2.6,0.32]}}],[-1,12,20.25,{"x":{"push":[[1.3,0.08,0.42],[-0.7,0.42,0.82]],"spring":[2.8,0.55]}}]],"dir":[1,0]}};
|