Skip to content

Canvix — Free & open-source graphic design tool. A community-built Canva alternative with a drag-and-drop editor, templates, shapes, text, images & one-click export. Works on desktop, tablet & mobile.

feat(v0.17.0): Wave 2 — asset & template ecosystem

Ashiq Hussain Mir4734d4f8693c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d5db3d3..a8052e9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,86 @@
All notable changes to Canvix will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
+## [0.17.0] — 2026-11-09
+
+The Wave 2 feature drop from the consolidation programme — the asset &
+template ecosystem (see `docs/COMPETITIVE-ANALYSIS.md` for the roadmap).
+Ten features in one release; re-scoring the Wave 1 matrix after this
+wave is the acceptance bar.
+
+### Added
+
+- **Icon library — 562 offline icons + the Iconify universe online.**
+ The Icons app grew from 12 shapes to a two-source library: a bundled
+ offline pack (extracted from the ISC-licensed lucide-react set at
+ build time by `scripts/gen-icon-pack.mjs`, flattened to editable
+ vector paths in the Canvix 100×100 box — recolour from the properties
+ bar, full export parity in PNG/SVG/vector-PDF) and an online toggle
+ proxying api.iconify.design (`GET /api/icons?q=` search and
+ `?svg=prefix:name` fetch — strictly validated, 30/min rate limit,
+ hard edge caching, inserts as image elements with full colour
+ fidelity). Works offline; the online half degrades gracefully.
+- **Illustration packs — 48 original flat-art pieces.** Six packs
+ (business, people, nature, tech, abstract, festive) authored
+ in-house from primitives (`scripts/gen-illustrations.mjs` — clean
+ room, nothing copied), bundled offline as standalone SVGs, inserted
+ as image elements with search and pack filters.
+- **Font catalog ×5.8 — 63 → 369 families with on-demand loading.**
+ The catalog moved to `lib/fonts/catalog.ts`; the historic 63 stay on
+ the preload link and every other family loads lazily via
+ `ensureFontLoaded` (font dropdown hover/select, document open scan,
+ template preview mounts). Konva stages repaint on font arrival
+ (`canvix:fonts-loaded` broadcast). The dropdown keeps Canva-style
+ search + category pills over the full 369.
+- **Custom font upload.** `POST /api/fonts/custom` (raw bytes,
+ .ttf/.otf/.woff/.woff2, 8 MB cap, session-or-anon attribution,
+ stored in the Media table) + client FontFace registration; the font
+ dropdown gained an "Upload a font" button, a `custom` category pill
+ and per-font delete.
+- **Save as template.** File → "Save as template…" persists the open
+ document as a private starter template (`UserTemplate` table,
+ design-style attribution, 50-kit quota, structural validation). The
+ editor Templates panel lists "Your templates" first, with apply and
+ delete.
+- **Smart templates — fields, CSV bulk fill and a REST fill API.**
+ Templates may declare fields; text elements carry `{{key}}` markers.
+ One substitution engine (`lib/templates/fields.ts` — pure, tested)
+ powers three surfaces: the editor's guided fill dialog (opens when
+ applying a fielded template), the dashboard CSV bulk flow (upload or
+ paste, column mapping preview, one design per row, `?persist=1`),
+ and `POST /api/templates/[slug]/fill` for agents and MCP (JSON
+ values/rows, raw CSV or multipart; render-only by default, persist
+ opt-in; agents without browser Origin headers pass CSRF by design).
+ 12 new field-enabled templates ship (4 certificates, 3 business
+ cards, 2 quote posts, 2 event flyers, 1 invoice).
+- **Server-side brand kits.** `BrandKitRecord` + full CRUD at
+ `/api/brand-kits` (10 kits per attribution, validated colours/
+ palettes/fonts/logo data-URLs). The Brand panel syncs the active kit
+ debounced, keeps localStorage as offline fallback, and gained a kit
+ selector with create/delete and a live sync indicator.
+- **Preset catalog 8 → 60.** `PRESET_GROUPS` spans social, video,
+ docs, print and web/marketing sizes; the dashboard's 9th quick card
+ opens a searchable grouped browser ("More sizes") with custom-size
+ escape hatches.
+- **Template library 110 → 366.** Two deterministic computed variants
+ per design (Aurora colourway, Ink typography swap — pure transforms
+ in `lib/templates/variants.ts`, zero extra bundle bytes, stable
+ slugs, idempotent re-seeds) plus the 12 smart templates. Whites
+ survive colourways; field markers survive both transforms.
+- **Schema migration 0011** — `UserTemplate` + `BrandKitRecord` tables
+ and the nullable `Template.fields` column. Upgrade-safe from any
+ v0.16.5 database (new tables only; `npm run db:setup` applies and
+ re-seeds, refreshing the library to 366).
+
+### Changed
+
+- `FONTS` re-exported from `lib/fonts/catalog.ts` (same import path
+ via `lib/editor-utils`); layout preload unchanged for the original
+ 63 families.
+- Dashboard template click on a smart template now substitutes EXAMPLE
+ values — raw `{{markers}}` never reach the canvas.
+
+## [0.16.5] — 2026-11-08
## [0.16.5] — 2026-11-08
### Added
diff --git a/README.md b/README.md
index 8d9902e..b31ed7e 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ Free & open-source graphic design tool — a community-built [Canva](https://can
Canvix is a browser-based design tool that lets anyone create social media posts,
presentations, posters, logos and thumbnails — with a drag-and-drop editor, a
-110-template library and one-click export. It runs entirely on your own infrastructure, stores designs
+366-template library and one-click export. It runs entirely on your own infrastructure, stores designs
in your own database, and exports files locally in your browser. Free accounts
keep your designs yours; anonymous link-editing keeps working too. No
watermarks, no paywalls.
@@ -37,7 +37,7 @@ Pro tier, no subscription, no trial countdown, no watermark ransom, no
"premium" element you can drag but not drop. The whole point of this project
is a design tool that never asks you for a credit card:
-- All **110 templates** — including the entire premium collection — are free
+- All **366 templates** — including the entire premium collection — are free
- All **exports** (PNG, JPG, SVG, PDF, video, GIF) are free and unwatermarked
- All **AI features** (magic edit, magic write, background removal, translate)
run against your own API keys, so there is nothing for us to meter
@@ -151,7 +151,7 @@ is right here.
- **`perfectDrawEnabled: false`** on element nodes — skips Konva's
hit-canvas perfection pass during drag/transform for a big interactive win
- **Lazy template thumbnails** — preview stages mount via
- IntersectionObserver (300 px pre-roll), so scrolling the 110-template
+ IntersectionObserver (300 px pre-roll), so scrolling the 366-template
library stays smooth; only visible cards own a canvas
- Locked in by tests: `src/store/editor-store.test.ts` asserts the identity
guarantees (untouched pages/elements keep references, history shares
diff --git a/docs/ASSETS-AND-TEMPLATES.md b/docs/ASSETS-AND-TEMPLATES.md
new file mode 100644
index 0000000..6cc9b67
--- /dev/null
+++ b/docs/ASSETS-AND-TEMPLATES.md
@@ -0,0 +1,158 @@
+# Assets & Templates — the Wave 2 ecosystem
+
+> Since v0.17.0. Covers the icon library, illustration packs, the font
+> catalog, custom font upload, save-as-template, smart templates
+> (fields + CSV + REST fill), server-side brand kits, and the preset
+> catalog.
+
+## Icon library
+
+Two sources in the editor's **Apps → Icons**:
+
+| Source | Count | Insert as | Notes |
+|---|---|---|---|
+| Offline pack | 562 | editable vector path (stroke) | bundled; recolour from the properties bar; works offline |
+| Online (Iconify) | 200,000+ | image element | full colour fidelity for multi-colour sets |
+
+The offline pack is extracted from the ISC-licensed
+[lucide](https://lucide.dev) set at build time
+(`scripts/gen-icon-pack.mjs`), flattened to single-path data in the
+Canvix 100×100 path box. Regenerate with:
+
+```bash
+node scripts/gen-icon-pack.mjs
+```
+
+The online half proxies the free public
+[api.iconify.design](https://api.iconify.design):
+
+```
+GET /api/icons?q=rocket → { icons: ["mdi:rocket", …] }
+GET /api/icons?svg=mdi:home&color=%23FF0000 → image/svg+xml
+```
+
+Strictly validated inputs (the reference feeds an upstream URL),
+30 requests/min/IP, hard edge caching on svg fetches. Like the
+`/api/fonts/ttf` Google-Fonts resolver it is an unauthenticated,
+keyless passthrough to a public CDN — there is no admin kill-switch
+because there is no credential or spend to guard. If you need it
+fully offline, the offline pack is the answer; the online toggle
+degrades gracefully (a notice, not an error).
+
+## Illustration packs
+
+48 original flat-art SVGs in six packs (business, people, nature,
+tech, abstract, festive) — authored in-house from primitives
+(`scripts/gen-illustrations.mjs`, clean-room). **Apps →
+Illustrations**; search by name or tag, filter by pack, insert as an
+image element. Works offline.
+
+## Font catalog (369 families)
+
+The catalog lives in `src/lib/fonts/catalog.ts`. The original 63
+families preload with first paint (`app/layout.tsx` link); every
+other family loads on demand (`lib/fonts/loader.ts`):
+
+- `ensureFontLoaded(family)` — injects the Google Fonts css2 link once
+- `ensureDocumentFonts(pages)` — scans a document's text elements
+- `registerCustomFont({ family, url })` — FontFace from a media URL
+
+Konva stages repaint when a font settles (the loader broadcasts
+`canvix:fonts-loaded`; `CanvasStage` listens and batch-draws).
+
+### Custom font upload
+
+`POST /api/fonts/custom?family=My+Font&ext=ttf` with the raw font
+bytes as the body (`.ttf` `.otf` `.woff` `.woff2`, ≤ 8 MB). Fonts are
+stored in the `Media` table, attributed to the session account or the
+anonymous browser cookie (same rules as uploads), and served through
+the standard `/api/media/<id>` stream. `GET` lists the caller's
+fonts, `DELETE ?id=` removes one. The font dropdown has an
+**Upload a font** button; uploaded fonts appear under the `custom`
+category pill.
+
+> Vector-PDF export resolves Google Fonts through `/api/fonts/ttf`.
+> Custom uploaded fonts fall back to the PDF standard-14 path in
+> exported PDFs (screen, PNG, SVG and video exports render them
+> faithfully) — a documented v1 approximation.
+
+## Save as template
+
+**File → Save as template…** in the editor persists the open document
+to the `UserTemplate` table (50 per attribution). Templates panel →
+**Your templates** lists them with apply/delete. Attribution mirrors
+designs: account-owned, or claimed by the anonymous cookie that
+created them.
+
+## Smart templates — fields, CSV bulk fill, REST fill
+
+Templates may declare fields (see
+`src/lib/templates/collection-v17-fields.ts` for examples); text
+elements carry `{{key}}` markers. One substitution engine
+(`src/lib/templates/fields.ts`) drives three surfaces:
+
+1. **Editor fill dialog** — applying a fielded template from the
+ Templates panel opens a guided form (examples prefilled).
+2. **Dashboard CSV bulk fill** — smart template cards show a **CSV**
+ chip: upload or paste a CSV whose header row names the fields, see
+ a parsed row/column preview, then generate up to 100 designs per
+ batch.
+3. **REST fill API** — for agents, MCP and scripts:
+
+```bash
+# render only (no auth needed for server-to-server callers)
+curl -X POST https://your-canvix/api/templates/certificate-excellence/fill \
+ -H 'content-type: application/json' \
+ -d '{"values":{"recipient_name":"Ada Lovelace","date":"2026-11-09"}}'
+
+# batch from CSV, persisting a design per row for the caller
+curl -X POST 'https://your-canvix/api/templates/certificate-excellence/fill?persist=1' \
+ -H 'content-type: text/csv' \
+ --data-binary @recipients.csv
+```
+
+Body forms: JSON `{ values }` or `{ rows: [...] }` (≤ 100), raw
+`text/csv`, or multipart with a `csv` file. `?persist=1` creates
+designs attributed to the caller (session cookie or anon cookie —
+`Set-Cookie` on the response). Browser cross-site calls are rejected
+by CSRF; server-to-server calls (no Origin header) pass by design.
+Unmatched markers stay visible in the render so mistakes are obvious.
+
+## Server-side brand kits
+
+`BrandKitRecord` rows (10 per attribution) with full CRUD at
+`/api/brand-kits`. The editor Brand panel:
+
+- loads kits on open (server wins over the localStorage cache),
+- syncs the active kit debounced (800 ms) on every change,
+- shows a kit selector with create/delete and a sync indicator,
+- falls back to localStorage offline and re-syncs when reachable.
+
+Validated server-side: 1–8 hex colours, ≤ 8 palettes × 8 colours,
+≤ 8 logo image data-URLs (≤ 512 KB each), font family names ≤ 60 chars.
+
+## Preset catalog (60 sizes)
+
+`PRESET_GROUPS` in `lib/editor-utils.ts` — social media, video &
+thumbnails, presentations & docs, print, and web & marketing sizes.
+The dashboard's eight quick cards are unchanged; the ninth card
+("More sizes") opens a searchable grouped browser. Custom sizes work
+as before.
+
+## Template library (366 designs)
+
+122 hand-authored originals + 244 deterministic computed variants:
+every design gets an **Aurora** colourway (hue-rotation with
+saturation/lightness tuning; near-neutral colours barely move so
+whites stay white) and an **Ink** typography swap (curated
+same-category font table; colours untouched). Variants are generated
+at module load (`lib/templates/variants.ts`) — the bundle ships only
+the originals — and the DB seed materialises the same list with
+stable slugs (`-aurora` / `-ink`), so re-seeding is idempotent.
+
+After deploying v0.17.0, run the setup once to apply migration 0011
+and refresh the library:
+
+```bash
+npm run db:setup # migrate deploy + seed (366 templates)
+```
diff --git a/docs/COMPETITIVE-ANALYSIS.md b/docs/COMPETITIVE-ANALYSIS.md
index 898b82d..cb3c2a2 100644
--- a/docs/COMPETITIVE-ANALYSIS.md
+++ b/docs/COMPETITIVE-ANALYSIS.md
@@ -69,10 +69,13 @@ design modes, export options and team-grade collaboration.
## Consolidation roadmap
-### Wave 2 — Asset & Template Ecosystem
-Icon library (Iconify-style proxy + offline pack) · illustration packs · font catalog 63 → 250+ ·
-custom font upload · save-as-template · template fields + CSV bulk fill (+ REST fill API) ·
-server-side brand kits · preset catalog 8 → 60+ · template library 110 → 300+.
+### Wave 2 — Asset & Template Ecosystem ✅ SHIPPED (v0.17.0, 2026-11-09)
+Icon library (Iconify-style proxy + 562-icon offline pack) · 48-illustration packs ·
+font catalog 63 → 369 (on-demand loading) · custom font upload · save-as-template ·
+template fields + CSV bulk fill (+ REST fill API) · server-side brand kits ·
+preset catalog 8 → 60 · template library 110 → 366 (12 smart + 244 computed variants).
+Details: docs/ASSETS-AND-TEMPLATES.md · acceptance: 1187 unit tests, 11/11 e2e,
+migration 0011 upgrade-safe. Matrix re-score pending (Wave 3 kickoff).
### Wave 3 — Editor Depth Parity
Image masks (10 shapes + custom) · text auto-fit · bullet/numbered lists · RTL & complex scripts ·
diff --git a/docs/UPGRADING.md b/docs/UPGRADING.md
index 53fe04a..b0ea415 100644
--- a/docs/UPGRADING.md
+++ b/docs/UPGRADING.md
@@ -5,6 +5,21 @@ release is designed to upgrade with **one migration command**. This
guide covers the routine path, jumping minors, and — the part most
guides skip — how to roll back, with the honest database caveat.
+## v0.17.0 — Wave 2 (assets & templates)
+
+One migration (`0011_wave2_assets_templates`): two new tables
+(`UserTemplate`, `BrandKitRecord`) and a nullable `Template.fields`
+column. Nothing existing is touched — upgrade-safe from any v0.16.x
+database. After deploying:
+
+```bash
+npm run db:setup
+```
+
+`migrate deploy` applies 0011 and the seed refreshes the template
+library from 110 to 366 designs (122 originals + Aurora/Ink variants
++ 12 smart templates). See `docs/ASSETS-AND-TEMPLATES.md`.
+
## How releases work
- Versions are semver-ish patch streams (`0.11.0 → 0.11.8 → 0.12.0 …`);
diff --git a/package-lock.json b/package-lock.json
index 255f4e6..68c0dd0 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "canvix",
- "version": "0.16.4",
+ "version": "0.16.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "canvix",
- "version": "0.16.4",
+ "version": "0.16.5",
"hasInstallScript": true,
"dependencies": {
"@imgly/background-removal": "^1.7.0",
diff --git a/package.json b/package.json
index 5877f9c..8b23a6c 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,8 @@
{
"name": "canvix",
- "version": "0.16.5",
+ "version": "0.17.0",
"private": false,
- "description": "Canvix \u2014 free & open-source graphic design tool. A community-built Canva alternative.",
+ "description": "Canvix — free & open-source graphic design tool. A community-built Canva alternative.",
"scripts": {
"dev": "next dev -p 3000 2>&1 | tee dev.log",
"build": "node scripts/build.mjs",
diff --git a/prisma/migrations/0011_wave2_assets_templates/migration.sql b/prisma/migrations/0011_wave2_assets_templates/migration.sql
new file mode 100644
index 0000000..8a01d98
--- /dev/null
+++ b/prisma/migrations/0011_wave2_assets_templates/migration.sql
@@ -0,0 +1,61 @@
+-- v0.17 (Wave 2): asset & template ecosystem
+-- Two tables:
+-- UserTemplate — "Save as template" from the editor; attribution
+-- mirrors designs (account OR anon cookie hash).
+-- BrandKitRecord — server-side brand kits (colours, palettes, fonts,
+-- logos) synced from the Brand panel.
+-- Upgrade-safe: both are new tables, no changes to existing ones.
+
+-- CreateTable
+CREATE TABLE "UserTemplate" (
+ "id" TEXT NOT NULL,
+ "name" TEXT NOT NULL,
+ "category" TEXT NOT NULL,
+ "width" INTEGER NOT NULL,
+ "height" INTEGER NOT NULL,
+ "pages" JSONB NOT NULL,
+ "accent" TEXT NOT NULL DEFAULT '#00C4CC',
+ "ownerId" TEXT,
+ "anonKey" TEXT,
+ "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
+
+ CONSTRAINT "UserTemplate_pkey" PRIMARY KEY ("id")
+);
+
+-- CreateTable
+CREATE TABLE "BrandKitRecord" (
+ "id" TEXT NOT NULL,
+ "name" TEXT NOT NULL DEFAULT 'My brand',
+ "colors" JSONB NOT NULL,
+ "palettes" JSONB NOT NULL,
+ "headingFont" TEXT NOT NULL DEFAULT 'Montserrat',
+ "bodyFont" TEXT NOT NULL DEFAULT 'Inter',
+ "logos" JSONB NOT NULL,
+ "ownerId" TEXT,
+ "anonKey" TEXT,
+ "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ "updatedAt" TIMESTAMP(3) NOT NULL,
+
+ CONSTRAINT "BrandKitRecord_pkey" PRIMARY KEY ("id")
+);
+
+-- CreateIndex
+CREATE INDEX "UserTemplate_ownerId_idx" ON "UserTemplate"("ownerId");
+
+-- CreateIndex
+CREATE INDEX "UserTemplate_anonKey_idx" ON "UserTemplate"("anonKey");
+
+-- CreateIndex
+CREATE INDEX "BrandKitRecord_ownerId_idx" ON "BrandKitRecord"("ownerId");
+
+-- CreateIndex
+CREATE INDEX "BrandKitRecord_anonKey_idx" ON "BrandKitRecord"("anonKey");
+
+-- AddForeignKey
+ALTER TABLE "UserTemplate" ADD CONSTRAINT "UserTemplate_ownerId_fkey" FOREIGN KEY ("ownerId") REFERENCES "User"("id") ON DELETE SET NULL ON UPDATE CASCADE;
+
+-- AddForeignKey
+ALTER TABLE "BrandKitRecord" ADD CONSTRAINT "BrandKitRecord_ownerId_fkey" FOREIGN KEY ("ownerId") REFERENCES "User"("id") ON DELETE SET NULL ON UPDATE CASCADE;
+
+-- v0.17 (Wave 2): smart-template field declarations on built-in templates
+ALTER TABLE "Template" ADD COLUMN "fields" JSONB;
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index ec00c64..74cba4b 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -146,6 +146,9 @@ model Template {
height Int
pages Json // structured document — same shape as Design.pages
accent String @default("#00C4CC") // card decoration
+ // v0.17 (Wave 2): smart-template field declarations (null = plain
+ // template). [{ key, label, example }] — see lib/templates/fields.ts
+ fields Json?
createdAt DateTime @default(now())
}
@@ -338,3 +341,46 @@ model DailyActive {
@@unique([day, actor])
}
+
+// ── v0.17 (Wave 2): asset & template ecosystem ───────────────
+
+// User-saved templates ("Save as template" in the editor). Attribution
+// mirrors designs: owning account OR the anon cookie that created it —
+// adopt-all claims rows the same way designs do. Pages use the same
+// structured-document shape as Design.pages / Template.pages.
+model UserTemplate {
+ id String @id @default(cuid())
+ name String
+ category String // social | presentation | print | logo | thumbnail | doc
+ width Int
+ height Int
+ pages Json
+ accent String @default("#00C4CC")
+ ownerId String?
+ anonKey String?
+ createdAt DateTime @default(now())
+
+ @@index([ownerId])
+ @@index([anonKey])
+}
+
+// Server-side brand kits (v0.17 Wave 2): colours, palettes, fonts and
+// logos travel with the account (or anon attribution) instead of living
+// only in localStorage. One row per kit; the client keeps the active
+// kit id locally.
+model BrandKitRecord {
+ id String @id @default(cuid())
+ name String @default("My brand")
+ colors Json // string[]
+ palettes Json // string[][]
+ headingFont String @default("Montserrat")
+ bodyFont String @default("Inter")
+ logos Json // data URLs (small, ≤ 8 entries)
+ ownerId String?
+ anonKey String?
+ createdAt DateTime @default(now())
+ updatedAt DateTime @updatedAt
+
+ @@index([ownerId])
+ @@index([anonKey])
+}
diff --git a/prisma/seed.ts b/prisma/seed.ts
index 38a43c5..7d1b4ce 100644
--- a/prisma/seed.ts
+++ b/prisma/seed.ts
@@ -10,6 +10,14 @@ const db = createScriptClient()
const pagesOf = (t: (typeof TEMPLATES)[number]) =>
t.pages as unknown as Prisma.InputJsonValue
+// v0.17 (Wave 2): field declarations use the same jsonb cast. Plain
+// templates store SQL NULL (DbNull), not the jsonb 'null' literal —
+// IS NULL filters and the fill route's fallback both rely on it.
+const fieldsOf = (t: (typeof TEMPLATES)[number]) =>
+ t.fields
+ ? (t.fields as unknown as Prisma.InputJsonValue)
+ : Prisma.DbNull
+
async function main() {
console.log(`Seeding ${TEMPLATES.length} templates…`)
for (const t of TEMPLATES) {
@@ -22,6 +30,8 @@ async function main() {
height: t.height,
accent: t.accent,
pages: pagesOf(t),
+ // v0.17 (Wave 2): smart-template field declarations
+ fields: fieldsOf(t),
},
create: {
slug: t.slug,
@@ -31,6 +41,7 @@ async function main() {
height: t.height,
accent: t.accent,
pages: pagesOf(t),
+ fields: fieldsOf(t),
},
})
console.log(` ✓ ${t.slug}`)
diff --git a/public/plugins/wordcloud/manifest.json b/public/plugins/wordcloud/manifest.json
index 6761d29..12a5699 100644
--- a/public/plugins/wordcloud/manifest.json
+++ b/public/plugins/wordcloud/manifest.json
@@ -9,7 +9,7 @@
"url": "https://github.com/mir-ashiq/canvix"
},
"engines": {
- "canvix": ">=0.13.4 <0.17.0"
+ "canvix": ">=0.13.4 <0.18.0"
},
"entry": {
"panel": "panel.html",
diff --git a/scripts/gen-icon-pack.mjs b/scripts/gen-icon-pack.mjs
new file mode 100644
index 0000000..99417bf
--- /dev/null
+++ b/scripts/gen-icon-pack.mjs
@@ -0,0 +1,345 @@
+// gen-icon-pack.mjs — build the Canvix offline icon pack (v0.17 Wave 2)
+// from the ISC-licensed lucide-react icon set already in node_modules.
+// Extracts a curated ~500 icons, converts every node (path/circle/rect/
+// line/polyline/polygon) to a single path `d`, scales 24×24 → 100×100
+// (the Canvix path-element coordinate box), and emits
+// src/lib/assets/icon-pack.ts.
+// Run: node scripts/gen-icon-pack.mjs
+import { readFileSync, writeFileSync, readdirSync } from 'node:fs'
+
+const K = 100 / 24
+
+// ── path d scaler (handles every SVG command lucide emits) ────
+const NUM = /-?(?:\d*\.\d+|\d+)(?:[eE][-+]?\d+)?/g
+function scaleD(d) {
+ let out = ''
+ let i = 0
+ const cmds = d.match(/[MmLlHhVvCcSsQqTtAaZz]|-?(?:\d*\.\d+|\d+)(?:[eE][-+]?\d+)?/g) ?? []
+ let cmd = null
+ let paramIdx = 0
+ for (const tok of cmds) {
+ if (/[A-Za-z]/.test(tok)) {
+ cmd = tok
+ paramIdx = 0
+ out += tok
+ continue
+ }
+ const n = parseFloat(tok)
+ let scaled = n
+ switch (cmd) {
+ case 'H': case 'h': scaled = n * K; break
+ case 'V': case 'v': scaled = n * K; break
+ case 'A': case 'a': {
+ // params: rx ry rot largeArc sweep x y — scale all but rot/flags
+ const j = paramIdx % 7
+ if (j === 2 || j === 3 || j === 4) scaled = n
+ else scaled = n * K
+ break
+ }
+ default: scaled = n * K
+ }
+ out += (out.endsWith('.') || /[MmLlHhVvCcSsQqTtAaZz.]/.test(out.slice(-1)) ? '' : '') + String(Math.round(scaled * 100) / 100)
+ paramIdx++
+ }
+ return out
+}
+// The number concatenation above can glue "M10" + "20" → "M1020". Use a
+// cleaner approach instead: rebuild with explicit separators.
+function scalePath(d) {
+ const segs = d.match(/[MmLlHhVvCcSsQqTtAaZz][^MmLlHhVvCcSsQqTtAaZz]*/g) ?? []
+ return segs
+ .map((seg) => {
+ const cmd = seg[0]
+ const rest = seg.slice(1).trim()
+ if (!rest) return cmd
+ const nums = rest.match(NUM) ?? []
+ const scaled = nums.map((tok, idx) => {
+ const n = parseFloat(tok)
+ if (cmd === 'A' || cmd === 'a') {
+ const j = idx % 7
+ if (j === 2 || j === 3 || j === 4) return String(n)
+ }
+ return String(Math.round(n * K * 100) / 100)
+ })
+ return cmd + scaled.join(' ')
+ })
+ .join(' ')
+}
+
+// ── node → path d converters (24-space; scaled afterwards) ────
+const fx = (n) => Math.round(n * 100) / 100
+const N = (v) => Number(v)
+const KEEP_STRING = new Set(['d', 'points', 'key'])
+function nodeToD([tag, rawAttrs]) {
+ // lucide emits attributes as STRINGS — coerce numerics before any
+ // arithmetic, or `cx + r` silently concatenates ("12"+"10"="1210").
+ // `d`/`points` stay strings (they carry their own grammar).
+ const attrs = Object.fromEntries(
+ Object.entries(rawAttrs).map(([k, v]) => [k, KEEP_STRING.has(k) ? v : N(v)])
+ )
+ switch (tag) {
+ case 'path':
+ return String(attrs.d)
+ case 'circle': {
+ const { cx, cy, r } = attrs
+ return `M ${fx(cx - r)} ${fx(cy)} A ${fx(r)} ${fx(r)} 0 1 0 ${fx(cx + r)} ${fx(cy)} A ${fx(r)} ${fx(r)} 0 1 0 ${fx(cx - r)} ${fx(cy)} Z`
+ }
+ case 'ellipse': {
+ const { cx, cy, rx, ry } = attrs
+ return `M ${fx(cx - rx)} ${fx(cy)} A ${fx(rx)} ${fx(ry)} 0 1 0 ${fx(cx + rx)} ${fx(cy)} A ${fx(rx)} ${fx(ry)} 0 1 0 ${fx(cx - rx)} ${fx(cy)} Z`
+ }
+ case 'rect': {
+ const { x, y, width: w, height: h, rx = 0, ry = rx } = attrs
+ const rr = Math.min(rx, ry, w / 2, h / 2)
+ if (!rr) return `M ${fx(x)} ${fx(y)} H ${fx(x + w)} V ${fx(y + h)} H ${fx(x)} Z`
+ return (
+ `M ${fx(x + rr)} ${fx(y)} H ${fx(x + w - rr)} A ${fx(rr)} ${fx(rr)} 0 0 1 ${fx(x + w)} ${fx(y + rr)} ` +
+ `V ${fx(y + h - rr)} A ${fx(rr)} ${fx(rr)} 0 0 1 ${fx(x + w - rr)} ${fx(y + h)} ` +
+ `H ${fx(x + rr)} A ${fx(rr)} ${fx(rr)} 0 0 1 ${fx(x)} ${fx(y + h - rr)} ` +
+ `V ${fx(y + rr)} A ${fx(rr)} ${fx(rr)} 0 0 1 ${fx(x + rr)} ${fx(y)} Z`
+ )
+ }
+ case 'line': {
+ const { x1, y1, x2, y2 } = attrs
+ return `M ${fx(x1)} ${fx(y1)} L ${fx(x2)} ${fx(y2)}`
+ }
+ case 'polyline':
+ return `M ${String(rawAttrs.points ?? '').trim().replace(/\s+/g, ' ').split(' ').map((p) => p.replace(',', ' ')).join(' L ')}`
+ case 'polygon':
+ return `M ${String(rawAttrs.points ?? '').trim().replace(/\s+/g, ' ').split(' ').map((p) => p.replace(',', ' ')).join(' L ')} Z`
+ default:
+ return null
+ }
+}
+
+// ── curated icon list (names as in lucide-react) ──────────────
+const CURATED = `
+home house building-2 building store store-plus factory landmark tent
+rocket launch sparkles sparkle wand-2 wand-sparkles star stars star-half
+sun moon moon-star cloud cloud-lightning cloud-rain cloud-snow cloud-sun
+cloud-moon rainbow umbrella zap snowflake thermometer droplet droplets
+waves wind map-map-pin map-pin navigation compass globe globe-2 earth
+mountain mountain-snow trees tree-pine tree-deciduous leaf flower flower-2
+sprout cactus bird bug dog cat fish rabbit turtle bug-play
+heart hearts handshake thumbs-up thumbs-down smile laugh frown meh
+angry surprised wink cry kiss laugh cry-smile party-popper crown
+trophy medal award gift gift-heart cake candle cake-slice
+user users user-plus user-check user-x user-cog contacts id-card
+baby child student graduation-cap briefcase business
+mail send inbox message-circle message-square messages-square
+phone telephone phone-call smartphone mobile smartphone-charging
+bell bell-ring bell-plus megaphone broadcast rss
+search search-code search-check filter funnel sliders-horizontal
+eye eye-off glasses scan scan-face scan-line view
+lock lock-open lock-keyhole key key-round shield shield-check shield-alert
+swords sword hammer wrench settings settings-2 tools cog
+file file-text file-plus file-check file-x file-search file-code
+file-image file-audio file-video file-archive file-spreadsheet file-json
+files folder folder-plus folder-open folder-search folder-tree
+clipboard clipboard-list clipboard-check clipboard-x notebook-pen
+book book-open book-marked library bookmark books
+pen-tool pencil pencil-line edit-2 edit-3 eraser highlighter
+paintbrush paint-roller palette brush spray-can
+scissors slice printer printing type case-upper case-lower
+bold italic underline strikethrough list list-checks list-todo
+align-left align-center align-right align-justify indent indent-decrease
+layout layout-grid layout-dashboard layout-template layers layers-2
+grid-2x2 grid-3x3 grid-4x4 table table-2 cells
+square circle triangle diamond hexagon octagon pentagon
+shapes box boxes package package-plus package-check
+shopping-cart shopping-bag shopping-basket store-2
+credit-card wallet banknote coins receipt percent badge-percent tag
+tags ticket tickets scale-3d axis-3d cube cuboid
+bar-chart-3 bar-chart-4 bar-chart-big line-chart line-chart-line
+pie-chart pie-chart-2 pie-chart-big chart-spline chart-scatter
+trending-up trending-down activity radar gauge
+target crosshair focus crosshair-2 locate-fixed
+lightbulb lightbulb-off lamp desk-lamp flashlight
+brain brain-circuit circuit-board cpu microchip bot bot-medical
+rocket-2 laptop laptop-2 monitor monitor-smartphone monitor-x
+keyboard mouse mouse-pointer mouse-pointer-2 mouse-pointer-click
+hard-drive database server cloud-server cloud-cog cloud-upload
+wifi wifi-off wifi-hotspot bluetooth signal signal-high
+plug plug-2 plug-zap battery battery-charging battery-full power
+camera camera-off video video-off videocam videocam-off aperture focus-2
+image image-off images film clapperboard video-camera
+music music-2 music-3 music-4 guitar piano drum mic mic-2 mic-off
+headphones headphones-2 ear volume-2 volume-x radio podcast
+play play-circle pause pause-circle skip-forward skip-back
+rewind fast-forward repeat shuffle list-music list-video audio-lines
+disc-3 disc-album amplifier
+calendar calendar-check calendar-plus calendar-x calendar-days calendar-clock
+clock clock-1 clock-4 alarm-clock timer timer-off hourglass stopwatch watch
+history schedule refresh-cw refresh-ccw rotate-cw rotate-ccw
+undo-2 redo-2 arrow-left arrow-right arrow-up arrow-down
+arrow-up-left arrow-up-right arrow-down-left arrow-down-right
+move move-up move-down move-left move-right expand shrink
+maximize minimize maximize-2 minimize-2 fullscreen
+chevron-left chevron-right chevron-up chevron-down
+chevrons-left chevrons-right chevrons-up chevrons-down
+corner-up-left corner-up-right corner-down-left corner-down-right
+arrow-up-from-line arrow-down-from-line arrow-left-from-line arrow-right-from-line
+log-in log-out enter exit sign-in sign-out
+external-link link link-2 link-2-off unlink share share-2 share-3
+download upload cloud-download import import-end export
+copy cut clipboard-copy paste duplicate file-plus-2 plus minus plus-circle minus-circle
+plus-square minus-square x check check-check check-circle-2 x-circle
+info alert-triangle alert-circle help-circle question-mark
+ban slash delete backspace trash-2 trash
+menu menu-x more-horizontal more-vertical ellipsis ellipsis-vertical
+dot grid grip grid-grip grip-horizontal grip-vertical dots-3x3
+sidebar sidebar-open sidebar-close panel-left panel-right panel-top panel-bottom
+app-window app-window-2 window-maximize window-minimize
+airplay casting cast picture-in-picture-2
+coffee coffee-off cup-soda beer wine wine-off martini cocktail
+utensils utensils-crossed chef-hat cooking-pot soup salad sandwich
+pizza cookie cake-2 croissant egg-fried donut ice-cream ice-cream-2
+apple banana cherry citrus carrot corn
+fish-2 beef ham milk milk-off popcorn
+plane plane-takeoff plane-landing car car-front bus bus-front train-front
+truck ship sailboat anchor bike scooter rocket-3
+map map-2 map-pin-off route navigation-2 mile-stone
+luggage baggage-claims passport ticket-plane
+beach umbrella-2 sun-snow palm-tree island
+swim-run dumbbell bicycle bike-2 activity-2 heart-pulse
+volleyball trophy-2 medal-2 jersey whistle
+flag flag-triangle-right flag-off
+pin pin-off map-pin-2 map-pin-check
+at-sign at-sign-2 hash hashtag hashtag-2
+message-circle-2 message-square-2 message-square-dots
+bot-message-square messages-square-2
+air-vent air-vent-2 wind-2
+feather feather-2 quill
+scroll scroll-text book-copy book-x book-lock
+bookmark-check bookmark-plus bookmark-x bookmark-minus
+graduation-cap-2 school university
+calculator calculator-2 abacus sigma infinity divide pi
+flask-conical flask-round beaker test-tube test-tube-2 microscope dna atom
+orbit orbit-2 telescope satellite satellite-dish
+orbit-3 eclipse
+sparkle sparkles-2 star-off star-star
+verified badge-check badge-x badge-alert badge-info
+sticker sticker-2 sticky-note post-it
+signature signature-2 fingerprint footprint
+magnet magnet-2 zap-2 zap-off
+siren siren-2 megaphone-2
+wallpaper image-plus image-down image-up image-x image-play
+gallery-horizontal gallery-vertical gallery-thumbnails
+gallery-horizontal-end gallery-vertical-end
+aspect-ratio ratio crop crop-2
+contrast brightness-2 sun-medium sun-dim
+sunglasses-2 lens focus-3
+palette-2 color-filter color-filter-2
+blend droplet-2 paint-drip
+shapes-2 scissors-2 scissors-line-dashed
+magic-wand sparkle-3 wand wand-3
+layers-3 group group-2 combine split
+flip-horizontal-2 flip-vertical-2 flip-horizontal flip-vertical
+bring-to-front send-to-back move-3d move-diagonal move-diagonal-2
+square-dashed square-dashed-bottom square-stack-2
+frame frames-2
+opacity-2 opacity-2
+`.trim().split(/\s+/)
+
+// ── extraction ────────────────────────────────────────────────
+const iconDir = new URL('../node_modules/lucide-react/dist/esm/icons/', import.meta.url)
+const available = new Set(readdirSync(iconDir).map((f) => f.replace(/\.js$/, '')))
+
+const seen = new Set()
+const picked = []
+for (const name of CURATED) {
+ if (seen.has(name) || !available.has(name)) continue
+ seen.add(name)
+ picked.push(name)
+}
+
+const pretty = (id) =>
+ id.split('-').map((w) => (w.length <= 1 ? w.toUpperCase() : w[0].toUpperCase() + w.slice(1))).join(' ')
+
+const icons = []
+let skipped = []
+for (const name of picked) {
+ let file = name
+ let src = readFileSync(new URL(`../node_modules/lucide-react/dist/esm/icons/${file}.js`, import.meta.url), 'utf8')
+ // alias modules re-export another icon — follow one hop
+ const alias = src.match(/export \{ default \} from '\.\/([^']+?)\.js';/)
+ if (alias && available.has(alias[1])) {
+ file = alias[1]
+ src = readFileSync(new URL(`../node_modules/lucide-react/dist/esm/icons/${file}.js`, import.meta.url), 'utf8')
+ }
+ const m = src.match(/const __iconNode = (\[[\s\S]*?\]);/)
+ if (!m) {
+ skipped.push(name)
+ continue
+ }
+ // safe-ish eval of the literal (module-controlled input)
+ let node
+ try {
+ node = Function(`"use strict"; return (${m[1]})`)()
+ } catch {
+ skipped.push(name)
+ continue
+ }
+ const ds = []
+ let ok = true
+ for (const entry of node) {
+ const d = nodeToD(entry)
+ if (!d) {
+ ok = false
+ break
+ }
+ ds.push(d)
+ }
+ if (!ok || !ds.length) {
+ skipped.push(name)
+ continue
+ }
+ icons.push({ id: name, name: pretty(name), tags: name.split('-'), d: scalePath(ds.join(' ')) })
+}
+// alias names that resolved to a base icon already present under its own
+// name would duplicate the same art — dedupe by path data, keep the first.
+const seenD = new Set()
+const deduped = []
+for (const i of icons) {
+ if (seenD.has(i.d)) continue
+ seenD.add(i.d)
+ deduped.push(i)
+}
+icons.length = 0
+icons.push(...deduped)
+
+if (icons.length < 400) {
+ console.error(`only ${icons.length} icons — curated list needs attention`)
+ process.exit(1)
+}
+
+const header = `// ─────────────────────────────────────────────────────────────
+// Canvix offline icon pack (v0.17 Wave 2) — ${icons.length} stroke icons
+// extracted from the ISC-licensed lucide-react ${'${LUCIDE_VERSION}'}set at build
+// time by scripts/gen-icon-pack.mjs, flattened to single path data in
+// the Canvix 100×100 path box. Icons are STROKE art: insert with
+// fill="transparent", stroke=<colour>, strokeWidth≈8.3.
+// ─────────────────────────────────────────────────────────────
+
+export interface IconDef {
+ id: string
+ name: string
+ tags: string[]
+ /** single path d, authored in a 100×100 box (stroke-oriented) */
+ d: string
+}
+
+`
+
+const body = icons
+ .map((i) => ` { id: ${JSON.stringify(i.id)}, name: ${JSON.stringify(i.name)}, tags: ${JSON.stringify(i.tags)}, d: ${JSON.stringify(i.d)} },`)
+ .join('\n')
+
+const out =
+ header +
+ 'export const ICONS: IconDef[] = [\n' +
+ body +
+ '\n]\n\n/** offline search — name/tag substring match, ranked: name prefix > name > tag */\nexport function searchIcons(query: string, limit = 120): IconDef[] {\n const q = query.trim().toLowerCase()\n if (!q) return ICONS.slice(0, limit)\n const scored: { icon: IconDef; score: number }[] = []\n for (const icon of ICONS) {\n const name = icon.name.toLowerCase()\n let score = -1\n if (name.startsWith(q)) score = 0\n else if (name.includes(q)) score = 1\n else if (icon.tags.some((t) => t.startsWith(q))) score = 2\n else if (icon.tags.some((t) => t.includes(q))) score = 3\n if (score >= 0) scored.push({ icon, score })\n }\n return scored.sort((a, b) => a.score - b.score || a.icon.name.localeCompare(b.icon.name)).slice(0, limit).map((s) => s.icon)\n}\n'
+
+writeFileSync(new URL('../src/lib/assets/icon-pack.ts', import.meta.url), out)
+console.log(`wrote ${icons.length} icons (skipped: ${skipped.length ? skipped.join(', ') : 'none'})`)
diff --git a/scripts/gen-illustrations.mjs b/scripts/gen-illustrations.mjs
new file mode 100644
index 0000000..f0f7ab5
--- /dev/null
+++ b/scripts/gen-illustrations.mjs
@@ -0,0 +1,524 @@
+// gen-illustrations.mjs — clean-room authoring of the Canvix illustration
+// packs (v0.17 Wave 2). Composes 48 original flat illustrations from SVG
+// primitives and emits src/lib/assets/illustrations.ts.
+// Run: node scripts/gen-illustrations.mjs
+import { writeFileSync } from 'node:fs'
+
+// ── tiny SVG DSL ──────────────────────────────────────────────
+const f = (n) => Math.round(n * 100) / 100
+const circ = (cx, cy, r, fill, extra = '') =>
+ `<circle cx="${f(cx)}" cy="${f(cy)}" r="${f(r)}" fill="${fill}"${extra ? ' ' + extra : ''}/>`
+const ell = (cx, cy, rx, ry, fill, rot = null) =>
+ `<ellipse cx="${f(cx)}" cy="${f(cy)}" rx="${f(rx)}" ry="${f(ry)}" fill="${fill}"${rot != null ? ` transform="rotate(${rot} ${f(cx)} ${f(cy)})"` : ''}/>`
+const rect = (x, y, w, h, rx, fill, rot = null) =>
+ `<rect x="${f(x)}" y="${f(y)}" width="${f(w)}" height="${f(h)}"${rx ? ` rx="${f(rx)}"` : ''} fill="${fill}"${rot != null ? ` transform="rotate(${rot} ${f(x + w / 2)} ${f(y + h / 2)})"` : ''}/>`
+const poly = (pts, fill) =>
+ `<polygon points="${pts.map((p) => `${f(p[0])},${f(p[1])}`).join(' ')}" fill="${fill}"/>`
+const path = (d, fill) =>
+ `<path d="${d}" fill="${fill}"/>`
+const stroke = (d, sw, color) =>
+ `<path d="${d}" fill="none" stroke="${color}" stroke-width="${f(sw)}" stroke-linecap="round" stroke-linejoin="round"/>`
+const grad = (id, from, to, type = 'linear') =>
+ type === 'linear'
+ ? `<defs><linearGradient id="${id}" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="${from}"/><stop offset="1" stop-color="${to}"/></linearGradient></defs>`
+ : `<defs><radialGradient id="${id}" cx="0.5" cy="0.5" r="0.5"><stop offset="0" stop-color="${from}"/><stop offset="1" stop-color="${to}"/></radialGradient></defs>`
+const star = (cx, cy, r, fill, points = 5, inner = 0.42) => {
+ const pts = []
+ for (let i = 0; i < points * 2; i++) {
+ const rad = i % 2 === 0 ? r : r * inner
+ const a = (Math.PI / points) * i - Math.PI / 2
+ pts.push([cx + rad * Math.cos(a), cy + rad * Math.sin(a)])
+ }
+ return poly(pts, fill)
+}
+const svg = (...children) =>
+ `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200">${children.join('')}</svg>`
+
+// ── pack palettes ─────────────────────────────────────────────
+const P = {
+ business: { a: '#1B2A4A', b: '#FF6B5B', c: '#F4E3C1', d: '#7A8CA5', e: '#2E9E8F' },
+ people: { a: '#E76F51', b: '#FAF3E0', c: '#2A9D8F', d: '#6D4C6F', e: '#F4A261' },
+ nature: { a: '#2D6A4F', b: '#74C69D', c: '#FFD166', d: '#A8DADC', e: '#1B4332' },
+ tech: { a: '#3A0CA3', b: '#4CC9F0', c: '#7209B7', d: '#F8F9FA', e: '#5E60CE' },
+ abstract: { a: '#7630D7', b: '#02C0CC', c: '#FF5C8A', d: '#FFE066', e: '#8B5CF6' },
+ festive: { a: '#D62828', b: '#F77F00', c: '#FCBF49', d: '#003049', e: '#EAE2B7' },
+}
+
+// ── 48 illustrations ─────────────────────────────────────────
+const I = []
+
+// · business ·
+I.push({ id: 'rocket-launch', name: 'Rocket launch', pack: 'business', tags: ['startup', 'growth', 'space'],
+ svg: svg(
+ star(38, 46, 6, P.business.d), star(164, 34, 4, P.business.d), circ(150, 130, 3, P.business.d),
+ poly([[78, 108], [60, 150], [86, 132]], P.business.b),
+ poly([[122, 108], [140, 150], [114, 132]], P.business.b),
+ path('M100 26 C116 44 118 78 100 112 C82 78 84 44 100 26 Z', P.business.a),
+ circ(100, 60, 11, P.business.c), circ(100, 60, 6, P.business.b),
+ path('M100 112 C110 120 108 136 100 148 C92 136 90 120 100 112 Z', P.business.c),
+ path('M100 132 C106 144 104 156 100 164 C96 156 94 144 100 132 Z', P.business.b),
+ ell(88, 150, 4, 7, P.business.e, -20), ell(112, 150, 4, 7, P.business.e, 20)
+ ) })
+I.push({ id: 'growth-chart', name: 'Growth chart', pack: 'business', tags: ['growth', 'chart', 'success'],
+ svg: svg(
+ rect(34, 30, 10, 140, 5, P.business.d), rect(34, 160, 140, 10, 5, P.business.d),
+ rect(58, 118, 22, 36, 4, P.business.c), rect(92, 96, 22, 58, 4, P.business.b), rect(126, 70, 22, 84, 4, P.business.a),
+ stroke('M52 92 L86 62 L118 74 L158 34', 9, P.business.e),
+ poly([[166, 12], [146, 34], [166, 34]], P.business.e),
+ circ(158, 34, 6, P.business.b)
+ ) })
+I.push({ id: 'briefcase', name: 'Briefcase', pack: 'business', tags: ['work', 'office', 'business'],
+ svg: svg(
+ stroke('M78 52 L78 44 C78 38 82 34 88 34 L112 34 C118 34 122 38 122 44 L122 52', 8, P.business.a),
+ rect(30, 52, 140, 92, 14, P.business.a),
+ rect(30, 84, 140, 14, 0, P.business.b),
+ rect(88, 78, 24, 26, 5, P.business.c),
+ rect(94, 84, 12, 14, 3, P.business.d),
+ circ(52, 68, 5, P.business.d), circ(148, 68, 5, P.business.d)
+ ) })
+I.push({ id: 'target-goal', name: 'Target goal', pack: 'business', tags: ['goal', 'aim', 'focus'],
+ svg: svg(
+ circ(96, 104, 64, P.business.c), circ(96, 104, 45, P.business.d), circ(96, 104, 26, P.business.b), circ(96, 104, 11, P.business.a),
+ stroke('M96 104 L160 40', 10, P.business.a),
+ poly([[172, 28], [140, 34], [160, 54]], P.business.a),
+ circ(96, 104, 5, P.business.c)
+ ) })
+I.push({ id: 'handshake', name: 'Handshake', pack: 'business', tags: ['deal', 'partnership', 'agree'],
+ svg: svg(
+ rect(18, 86, 52, 22, 11, P.business.a), rect(130, 86, 52, 22, 11, P.business.a),
+ rect(24, 80, 16, 34, 6, P.business.d), rect(160, 80, 16, 34, 6, P.business.d),
+ path('M62 78 C74 66 88 66 100 78 L108 86 C114 92 114 100 108 106 L96 118 C90 124 82 124 76 118 Z', P.business.b),
+ path('M138 78 C126 66 112 66 100 78 L92 86 C86 92 86 100 92 106 L104 118 C110 124 118 124 124 118 Z', P.business.e),
+ circ(84, 100, 8, P.business.c), circ(116, 100, 8, P.business.a)
+ ) })
+I.push({ id: 'meeting-table', name: 'Meeting table', pack: 'business', tags: ['team', 'meeting', 'discussion'],
+ svg: svg(
+ ell(100, 120, 62, 24, P.business.a),
+ rect(58, 130, 10, 40, 5, P.business.d), rect(132, 130, 10, 40, 5, P.business.d),
+ circ(56, 58, 14, P.business.b), path('M32 96 C32 78 44 70 56 70 C68 70 80 78 80 96 Z', P.business.b),
+ circ(144, 58, 14, P.business.e), path('M120 96 C120 78 132 70 144 70 C156 70 168 78 168 96 Z', P.business.e),
+ circ(100, 44, 16, P.business.c), path('M72 86 C72 64 84 54 100 54 C116 54 128 64 128 86 Z', P.business.c),
+ rect(88, 104, 24, 10, 5, P.business.c)
+ ) })
+I.push({ id: 'piggy-bank', name: 'Piggy bank', pack: 'business', tags: ['savings', 'money', 'finance'],
+ svg: svg(
+ ell(102, 116, 58, 40, P.business.c),
+ circ(160, 100, 14, P.business.c), rect(168, 96, 14, 8, 4, P.business.a),
+ rect(64, 148, 14, 22, 6, P.business.a), rect(124, 148, 14, 22, 6, P.business.a),
+ circ(72, 104, 5, P.business.a), circ(70, 88, 7, P.business.d),
+ ell(58, 122, 10, 14, P.business.d, -30),
+ star(112, 62, 14, P.business.b),
+ ell(112, 62, 8, 8, P.business.c)
+ ) })
+I.push({ id: 'trophy-win', name: 'Trophy win', pack: 'business', tags: ['award', 'win', 'champion'],
+ svg: svg(
+ path('M62 36 L138 36 L132 92 C130 112 116 124 100 124 C84 124 70 112 68 92 Z', P.business.c),
+ stroke('M62 46 C46 46 42 68 58 76 L66 80', 9, P.business.c),
+ stroke('M138 46 C154 46 158 68 142 76 L134 80', 9, P.business.c),
+ rect(92, 124, 16, 22, 4, P.business.d),
+ rect(66, 146, 68, 14, 6, P.business.a),
+ star(100, 74, 22, P.business.b),
+ rect(94, 30, 12, 8, 3, P.business.a)
+ ) })
+
+// · people ·
+I.push({ id: 'collaboration', name: 'Collaboration', pack: 'people', tags: ['teamwork', 'together', 'share'],
+ svg: svg(
+ circ(58, 74, 20, P.people.a), path('M26 132 C26 104 40 92 58 92 C76 92 90 104 90 132 Z', P.people.a),
+ circ(142, 74, 20, P.people.c), path('M110 132 C110 104 124 92 142 92 C160 92 174 104 174 132 Z', P.people.c),
+ rect(76, 104, 48, 56, 8, P.people.b),
+ rect(84, 116, 32, 5, 3, P.people.d), rect(84, 128, 32, 5, 3, P.people.d), rect(84, 140, 20, 5, 3, P.people.d),
+ star(100, 62, 12, P.people.e), star(38, 44, 7, P.people.e), star(164, 44, 7, P.people.e)
+ ) })
+I.push({ id: 'presentation', name: 'Presentation', pack: 'people', tags: ['pitch', 'speech', 'report'],
+ svg: svg(
+ rect(40, 30, 120, 80, 8, P.people.b),
+ rect(52, 76, 16, 22, 3, P.people.c), rect(74, 62, 16, 36, 3, P.people.a), rect(96, 48, 16, 50, 3, P.people.d),
+ stroke('M100 110 L100 140', 8, P.people.d), stroke('M74 140 L126 140', 8, P.people.d),
+ circ(148, 108, 13, P.people.a), path('M126 148 C126 132 136 124 148 124 C160 124 170 132 170 148 Z', P.people.a),
+ stroke('M136 116 L120 100', 7, P.people.a)
+ ) })
+I.push({ id: 'freelancer', name: 'Freelancer', pack: 'people', tags: ['remote', 'work', 'laptop'],
+ svg: svg(
+ stroke('M30 160 C40 120 70 104 100 104 C130 104 160 120 170 160', 10, P.people.d),
+ circ(100, 60, 18, P.people.a), path('M70 110 C70 84 82 74 100 74 C118 74 130 84 130 110 Z', P.people.c),
+ path('M64 138 L136 138 L128 112 L72 112 Z', P.people.b),
+ rect(66, 140, 68, 8, 4, P.people.e),
+ ell(158, 96, 12, 9, P.people.a, -15), rect(150, 100, 18, 12, 4, P.people.d),
+ stroke('M150 84 C146 76 152 70 148 62', 4, P.people.e)
+ ) })
+I.push({ id: 'team-highfive', name: 'Team high five', pack: 'people', tags: ['celebrate', 'team', 'success'],
+ svg: svg(
+ circ(64, 78, 19, P.people.a), path('M34 140 C34 112 46 100 64 100 C82 100 94 112 94 140 Z', P.people.a),
+ circ(136, 78, 19, P.people.c), path('M106 140 C106 112 118 100 136 100 C154 100 166 112 166 140 Z', P.people.c),
+ stroke('M70 106 L84 62', 10, P.people.a), stroke('M130 106 L116 62', 10, P.people.c),
+ star(100, 48, 20, P.people.e), star(100, 48, 9, P.people.b),
+ star(58, 38, 8, P.people.e), star(142, 38, 8, P.people.e)
+ ) })
+I.push({ id: 'thinking-woman', name: 'Thinking woman', pack: 'people', tags: ['idea', 'think', 'plan'],
+ svg: svg(
+ circ(78, 92, 26, P.people.a), path('M38 168 C38 134 56 120 78 120 C100 120 118 134 118 168 Z', P.people.c),
+ circ(130, 70, 18, P.people.b), circ(152, 50, 12, P.people.b), circ(168, 32, 7, P.people.b),
+ star(140, 66, 7, P.people.e),
+ ell(66, 132, 10, 14, P.people.d, -20)
+ ) })
+I.push({ id: 'reading-book', name: 'Reading book', pack: 'people', tags: ['book', 'study', 'learn'],
+ svg: svg(
+ path('M100 92 C86 78 62 74 40 80 L40 152 C62 146 86 150 100 162 Z', P.people.b),
+ path('M100 92 C114 78 138 74 160 80 L160 152 C138 146 114 150 100 162 Z', P.people.b),
+ stroke('M100 92 L100 162', 5, P.people.d),
+ rect(52, 92, 36, 5, 2, P.people.d), rect(52, 104, 36, 5, 2, P.people.d), rect(52, 116, 28, 5, 2, P.people.d),
+ rect(112, 92, 36, 5, 2, P.people.d), rect(112, 104, 36, 5, 2, P.people.d), rect(112, 116, 28, 5, 2, P.people.d),
+ circ(100, 46, 18, P.people.a), path('M74 82 C74 60 84 52 100 52 C116 52 126 60 126 82 Z', P.people.a)
+ ) })
+I.push({ id: 'coffee-chat', name: 'Coffee chat', pack: 'people', tags: ['coffee', 'talk', 'cafe'],
+ svg: svg(
+ path('M44 84 L96 84 L90 132 C89 142 80 148 70 148 C60 148 51 142 50 132 Z', P.people.a),
+ stroke('M96 92 C112 92 112 116 96 116', 6, P.people.a),
+ path('M104 84 L156 84 L150 132 C149 142 140 148 130 148 C120 148 111 142 110 132 Z', P.people.c),
+ stroke('M156 92 C172 92 172 116 156 116', 6, P.people.c),
+ stroke('M62 70 C58 62 66 56 62 48', 4, P.people.e), stroke('M78 70 C74 62 82 56 78 48', 4, P.people.e),
+ stroke('M122 70 C118 62 126 56 122 48', 4, P.people.e), stroke('M138 70 C134 62 142 56 138 48', 4, P.people.e),
+ rect(40, 156, 120, 8, 4, P.people.d)
+ ) })
+I.push({ id: 'work-desk', name: 'Work desk', pack: 'people', tags: ['desk', 'workspace', 'setup'],
+ svg: svg(
+ rect(28, 120, 144, 10, 5, P.people.d),
+ rect(38, 130, 10, 44, 4, P.people.d), rect(152, 130, 10, 44, 4, P.people.d),
+ rect(56, 58, 72, 52, 6, P.people.c), rect(62, 64, 60, 40, 3, P.people.b),
+ rect(50, 110, 84, 8, 4, P.people.c),
+ rect(74, 46, 36, 10, 4, P.people.d),
+ rect(140, 88, 26, 32, 5, P.people.a), path('M146 118 L166 118 L170 128 L142 128 Z', P.people.e),
+ circ(149, 82, 5, P.people.e)
+ ) })
+
+// · nature ·
+I.push({ id: 'mountain-sunrise', name: 'Mountain sunrise', pack: 'nature', tags: ['mountain', 'sun', 'travel'],
+ svg: svg(
+ circ(140, 60, 26, P.nature.c),
+ poly([[16, 150], [76, 62], [136, 150]], P.nature.a),
+ poly([[68, 84], [76, 62], [84, 84], [76, 96]], P.nature.d),
+ poly([[96, 150], [146, 78], [192, 150]], P.nature.e),
+ poly([[138, 96], [146, 78], [154, 96], [146, 108]], P.nature.d),
+ ell(52, 56, 22, 12, P.nature.d), ell(66, 62, 16, 9, P.nature.d),
+ rect(8, 150, 184, 22, 11, P.nature.b)
+ ) })
+I.push({ id: 'forest-pines', name: 'Forest pines', pack: 'nature', tags: ['forest', 'trees', 'woods'],
+ svg: svg(
+ poly([[40, 140], [58, 60], [76, 140]], P.nature.a), rect(54, 140, 8, 18, 3, P.nature.e),
+ poly([[86, 140], [108, 44], [130, 140]], P.nature.e), rect(102, 140, 10, 20, 4, P.nature.a),
+ poly([[140, 140], [156, 76], [172, 140]], P.nature.a), rect(152, 140, 8, 16, 3, P.nature.e),
+ ell(100, 164, 88, 16, P.nature.b)
+ ) })
+I.push({ id: 'cactus-desert', name: 'Cactus desert', pack: 'nature', tags: ['desert', 'cactus', 'southwest'],
+ svg: svg(
+ circ(150, 56, 22, P.nature.c),
+ rect(86, 66, 28, 100, 14, P.nature.a),
+ path('M86 108 C70 108 64 100 64 88 L64 80 C64 74 74 74 74 80 L74 88 C74 94 78 98 86 98 Z', P.nature.a),
+ path('M114 122 C130 122 136 114 136 102 L136 82 C136 76 126 76 126 82 L126 102 C126 108 122 112 114 112 Z', P.nature.a),
+ ell(50, 156, 12, 8, P.nature.b, -12), ell(70, 162, 14, 8, P.nature.b, 8),
+ ell(140, 160, 16, 9, P.nature.b, -6), ell(164, 156, 12, 7, P.nature.b, 10),
+ circ(60, 96, 4, P.nature.c), circ(140, 110, 4, P.nature.c), circ(100, 84, 4, P.nature.c)
+ ) })
+I.push({ id: 'ocean-waves', name: 'Ocean waves', pack: 'nature', tags: ['ocean', 'sea', 'water'],
+ svg: svg(
+ path('M10 70 C40 54 70 54 100 70 C130 86 160 86 190 70 L190 92 C160 108 130 108 100 92 C70 76 40 76 10 92 Z', P.nature.d),
+ path('M10 104 C40 88 70 88 100 104 C130 120 160 120 190 104 L190 126 C160 142 130 142 100 126 C70 110 40 110 10 126 Z', P.nature.b),
+ path('M10 138 C40 122 70 122 100 138 C130 154 160 154 190 138 L190 160 C160 176 130 176 100 160 C70 144 40 144 10 160 Z', P.nature.a),
+ circ(52, 44, 14, P.nature.c)
+ ) })
+I.push({ id: 'leaf-rain', name: 'Leaf rain', pack: 'nature', tags: ['leaf', 'rain', 'eco'],
+ svg: svg(
+ ell(62, 44, 30, 16, P.nature.d), ell(84, 52, 22, 12, P.nature.d),
+ path('M100 74 C100 128 76 158 40 170 C34 132 56 98 100 74 Z', P.nature.a),
+ stroke('M100 74 C84 108 68 136 44 158', 5, P.nature.b),
+ stroke('M126 92 L118 112', 5, P.nature.b), stroke('M146 106 L138 126', 5, P.nature.b),
+ stroke('M120 132 L114 148', 5, P.nature.b), stroke('M152 138 L146 154', 5, P.nature.b),
+ circ(168, 72, 5, P.nature.b), circ(140, 78, 4, P.nature.b)
+ ) })
+I.push({ id: 'butterfly-garden', name: 'Butterfly garden', pack: 'nature', tags: ['butterfly', 'garden', 'spring'],
+ svg: svg(
+ path('M96 84 C72 56 34 58 34 88 C34 114 66 120 92 104 Z', P.nature.b),
+ path('M104 84 C128 56 166 58 166 88 C166 114 134 120 108 104 Z', P.nature.b),
+ path('M96 102 C78 116 58 122 56 138 C78 142 96 128 100 112 Z', P.nature.a),
+ path('M104 102 C122 116 142 122 144 138 C122 142 104 128 100 112 Z', P.nature.a),
+ ell(100, 96, 6, 24, P.nature.e),
+ stroke('M94 72 C88 62 82 60 78 62', 3, P.nature.e), stroke('M106 72 C112 62 118 60 122 62', 3, P.nature.e),
+ circ(70, 40, 7, P.nature.c), star(138, 42, 9, P.nature.c),
+ circ(42, 156, 6, P.nature.c), circ(158, 156, 6, P.nature.c)
+ ) })
+I.push({ id: 'moon-stars', name: 'Moon and stars', pack: 'nature', tags: ['night', 'moon', 'sleep'],
+ svg: svg(
+ path('M128 32 C96 40 76 66 76 96 C76 126 96 152 128 160 C104 172 72 166 52 142 C30 116 32 76 56 50 C76 28 106 22 128 32 Z', P.nature.d),
+ star(146, 62, 12, P.nature.c), star(160, 106, 8, P.nature.c), star(138, 136, 7, P.nature.c),
+ star(48, 40, 9, P.nature.c), circ(168, 42, 4, P.nature.b), circ(126, 52, 3, P.nature.b)
+ ) })
+I.push({ id: 'flower-bloom', name: 'Flower bloom', pack: 'nature', tags: ['flower', 'bloom', 'spring'],
+ svg: svg(
+ ell(100, 70, 16, 30, P.nature.b, 0), ell(100, 70, 16, 30, P.nature.b, 60), ell(100, 70, 16, 30, P.nature.b, 120),
+ ell(100, 70, 16, 30, P.nature.b, 180), ell(100, 70, 16, 30, P.nature.b, 240), ell(100, 70, 16, 30, P.nature.b, 300),
+ circ(100, 70, 14, P.nature.c),
+ stroke('M100 88 C100 122 96 148 88 172', 6, P.nature.a),
+ path('M92 140 C74 132 62 136 56 148 C70 156 84 152 92 140 Z', P.nature.a)
+ ) })
+
+// · tech ·
+I.push({ id: 'laptop-code', name: 'Laptop code', pack: 'tech', tags: ['code', 'dev', 'programming'],
+ svg: svg(
+ rect(48, 44, 104, 68, 8, P.tech.a),
+ rect(56, 52, 88, 52, 4, P.tech.d),
+ rect(64, 62, 34, 6, 3, P.tech.b), rect(64, 74, 52, 6, 3, P.tech.c), rect(64, 86, 26, 6, 3, P.tech.e),
+ stroke('M142 62 L152 70 L142 78', 4, P.tech.b),
+ stroke('M130 62 L120 70 L130 78', 4, P.tech.b),
+ path('M32 118 L168 118 L158 138 L42 138 Z', P.tech.e),
+ rect(88, 124, 24, 4, 2, P.tech.d)
+ ) })
+I.push({ id: 'smartphone-app', name: 'Smartphone app', pack: 'tech', tags: ['phone', 'mobile', 'app'],
+ svg: svg(
+ rect(66, 26, 68, 128, 14, P.tech.a),
+ rect(74, 40, 52, 100, 6, P.tech.d),
+ rect(88, 32, 24, 6, 3, P.tech.e),
+ circ(90, 58, 12, P.tech.b), circ(122, 58, 12, P.tech.c),
+ rect(78, 80, 24, 16, 5, P.tech.c), rect(110, 80, 24, 16, 5, P.tech.b),
+ rect(78, 104, 24, 16, 5, P.tech.e), rect(110, 104, 24, 16, 5, P.tech.c),
+ circ(100, 132, 7, P.tech.b)
+ ) })
+I.push({ id: 'cloud-sync', name: 'Cloud sync', pack: 'tech', tags: ['cloud', 'sync', 'backup'],
+ svg: svg(
+ circ(70, 92, 26, P.tech.b), circ(100, 76, 32, P.tech.b), circ(130, 94, 24, P.tech.b),
+ rect(66, 92, 70, 26, 13, P.tech.b),
+ stroke('M76 122 C80 142 120 142 124 122', 8, P.tech.a),
+ poly([[124, 112], [136, 126], [118, 130]], P.tech.a),
+ poly([[76, 132], [64, 118], [82, 114]], P.tech.a),
+ circ(62, 46, 5, P.tech.c), circ(146, 52, 4, P.tech.e)
+ ) })
+I.push({ id: 'database-server', name: 'Database server', pack: 'tech', tags: ['database', 'server', 'data'],
+ svg: svg(
+ ell(100, 52, 44, 16, P.tech.b), rect(56, 52, 88, 26, 0, P.tech.b), ell(100, 78, 44, 16, P.tech.c),
+ ell(100, 90, 44, 16, P.tech.b), rect(56, 90, 88, 26, 0, P.tech.b), ell(100, 116, 44, 16, P.tech.c),
+ ell(100, 128, 44, 16, P.tech.b), rect(56, 128, 88, 26, 0, P.tech.b), ell(100, 154, 44, 16, P.tech.c),
+ circ(148, 65, 4, P.tech.d), circ(148, 103, 4, P.tech.d), circ(148, 141, 4, P.tech.d)
+ ) })
+I.push({ id: 'ai-chip', name: 'AI chip', pack: 'tech', tags: ['ai', 'chip', 'processor'],
+ svg: svg(
+ rect(58, 58, 84, 84, 12, P.tech.c),
+ rect(72, 72, 56, 56, 8, P.tech.a),
+ circ(88, 88, 8, P.tech.b), circ(112, 88, 8, P.tech.d), circ(88, 112, 8, P.tech.d), circ(112, 112, 8, P.tech.b),
+ rect(46, 76, 12, 6, 3, P.tech.e), rect(46, 94, 12, 6, 3, P.tech.e), rect(46, 118, 12, 6, 3, P.tech.e),
+ rect(142, 76, 12, 6, 3, P.tech.e), rect(142, 94, 12, 6, 3, P.tech.e), rect(142, 118, 12, 6, 3, P.tech.e),
+ rect(76, 46, 6, 12, 3, P.tech.e), rect(97, 46, 6, 12, 3, P.tech.e), rect(118, 46, 6, 12, 3, P.tech.e),
+ rect(76, 142, 6, 12, 3, P.tech.e), rect(97, 142, 6, 12, 3, P.tech.e), rect(118, 142, 6, 12, 3, P.tech.e)
+ ) })
+I.push({ id: 'wifi-signal', name: 'Wifi signal', pack: 'tech', tags: ['wifi', 'internet', 'connection'],
+ svg: svg(
+ stroke('M40 92 C70 62 130 62 160 92', 12, P.tech.a),
+ stroke('M62 116 C82 96 118 96 138 116', 12, P.tech.e),
+ stroke('M84 138 C92 130 108 130 116 138', 12, P.tech.b),
+ circ(100, 160, 11, P.tech.c),
+ star(48, 52, 7, P.tech.b), star(158, 52, 7, P.tech.b)
+ ) })
+I.push({ id: 'robot-helper', name: 'Robot helper', pack: 'tech', tags: ['robot', 'assistant', 'automation'],
+ svg: svg(
+ stroke('M100 42 L100 30', 5, P.tech.e), circ(100, 26, 7, P.tech.c),
+ rect(64, 42, 72, 56, 16, P.tech.a),
+ circ(84, 68, 9, P.tech.b), circ(116, 68, 9, P.tech.b),
+ rect(86, 84, 28, 8, 4, P.tech.c),
+ rect(72, 106, 56, 48, 14, P.tech.e),
+ rect(84, 118, 32, 8, 4, P.tech.b),
+ rect(50, 110, 16, 34, 8, P.tech.c), rect(134, 110, 16, 34, 8, P.tech.c),
+ rect(78, 158, 12, 16, 5, P.tech.a), rect(110, 158, 12, 16, 5, P.tech.a)
+ ) })
+I.push({ id: 'circuit-board', name: 'Circuit board', pack: 'tech', tags: ['circuit', 'hardware', 'electronics'],
+ svg: svg(
+ rect(36, 48, 128, 104, 10, P.tech.a),
+ rect(80, 78, 40, 40, 6, P.tech.c),
+ circ(84, 98, 4, P.tech.b), circ(100, 98, 4, P.tech.b), circ(116, 98, 4, P.tech.b),
+ stroke('M80 88 L60 88 L60 66', 4, P.tech.b), stroke('M120 108 L140 108 L140 136', 4, P.tech.b),
+ stroke('M80 108 L60 108 L60 132', 4, P.tech.e), stroke('M120 88 L142 88 L142 64', 4, P.tech.e),
+ circ(60, 66, 5, P.tech.b), circ(140, 136, 5, P.tech.b), circ(60, 132, 5, P.tech.e), circ(142, 64, 5, P.tech.e),
+ circ(52, 60, 5, P.tech.d), circ(148, 140, 5, P.tech.d)
+ ) })
+
+// · abstract ·
+I.push({ id: 'blob-duo', name: 'Blob duo', pack: 'abstract', tags: ['blob', 'organic', 'shapes'],
+ svg: svg(
+ path('M64 44 C92 28 128 40 134 68 C140 96 118 120 90 120 C60 120 36 100 38 72 C39 58 50 50 64 44 Z', P.abstract.a),
+ path('M120 92 C146 80 168 94 166 118 C164 142 140 156 118 148 C96 140 92 112 104 100 C108 96 114 94 120 92 Z', P.abstract.b),
+ path('M96 108 C112 102 128 112 126 126 C124 140 108 148 96 142 C84 136 82 114 96 108 Z', P.abstract.c)
+ ) })
+I.push({ id: 'gradient-spheres', name: 'Gradient spheres', pack: 'abstract', tags: ['gradient', 'sphere', 'balls'],
+ svg: svg(
+ grad('gs1', P.abstract.a, P.abstract.e),
+ grad('gs2', P.abstract.b, P.abstract.e),
+ grad('gs3', P.abstract.c, P.abstract.d),
+ circ(72, 76, 38, 'url(#gs1)'),
+ circ(134, 96, 30, 'url(#gs2)'),
+ circ(96, 146, 24, 'url(#gs3)')
+ ) })
+I.push({ id: 'wave-lines', name: 'Wave lines', pack: 'abstract', tags: ['wave', 'lines', 'flow'],
+ svg: svg(
+ stroke('M16 56 C56 36 96 76 136 56 C160 44 178 50 188 60', 10, P.abstract.a),
+ stroke('M16 92 C56 72 96 112 136 92 C160 80 178 86 188 96', 10, P.abstract.b),
+ stroke('M16 128 C56 108 96 148 136 128 C160 116 178 122 188 132', 10, P.abstract.c),
+ stroke('M16 164 C56 144 96 184 136 164 C160 152 178 158 188 168', 10, P.abstract.d)
+ ) })
+I.push({ id: 'geometric-stack', name: 'Geometric stack', pack: 'abstract', tags: ['geometric', 'stack', 'layers'],
+ svg: svg(
+ poly([[100, 24], [152, 60], [100, 96], [48, 60]], P.abstract.a),
+ poly([[100, 66], [152, 102], [100, 138], [48, 102]], P.abstract.b),
+ poly([[100, 108], [152, 144], [100, 180], [48, 144]], P.abstract.c),
+ circ(100, 60, 8, P.abstract.d), circ(100, 102, 8, P.abstract.d), circ(100, 144, 8, P.abstract.d)
+ ) })
+I.push({ id: 'spiral-motion', name: 'Spiral motion', pack: 'abstract', tags: ['spiral', 'motion', 'swirl'],
+ svg: svg(
+ stroke('M100 100 C100 84 116 76 130 82 C150 90 154 116 142 134 C126 158 92 158 74 138 C52 114 56 78 80 60 C108 40 150 46 166 76', 12, P.abstract.a),
+ circ(100, 100, 10, P.abstract.b),
+ star(170, 66, 9, P.abstract.c), star(46, 140, 7, P.abstract.d)
+ ) })
+I.push({ id: 'confetti-burst', name: 'Confetti burst', pack: 'abstract', tags: ['confetti', 'party', 'celebrate'],
+ svg: svg(
+ star(100, 100, 30, P.abstract.c),
+ circ(100, 100, 10, P.abstract.d),
+ rect(40, 40, 14, 6, 3, P.abstract.a, 30), rect(150, 44, 14, 6, 3, P.abstract.b, -20),
+ rect(36, 140, 14, 6, 3, P.abstract.d, -35), rect(156, 138, 14, 6, 3, P.abstract.e, 25),
+ circ(52, 88, 7, P.abstract.b), circ(148, 92, 7, P.abstract.d), circ(88, 34, 6, P.abstract.c), circ(112, 166, 6, P.abstract.a),
+ rect(92, 24, 16, 5, 2, P.abstract.c, 12), rect(96, 172, 16, 5, 2, P.abstract.a, -10)
+ ) })
+I.push({ id: 'fluid-ribbon', name: 'Fluid ribbon', pack: 'abstract', tags: ['ribbon', 'fluid', 'dance'],
+ svg: svg(
+ path('M20 100 C40 40 90 40 110 90 C130 140 160 150 184 110 L184 140 C150 180 104 164 84 118 C68 82 44 82 20 130 Z', P.abstract.a),
+ path('M20 60 C44 20 96 18 120 58 C142 96 160 100 184 78 L184 106 C152 132 122 122 102 86 C84 52 46 52 20 92 Z', P.abstract.b),
+ path('M20 158 C40 132 66 132 82 150 C98 168 126 172 148 156 C164 144 176 146 184 152 L184 168 C154 184 116 180 96 164 C80 150 60 150 20 176 Z', P.abstract.c),
+ star(166, 36, 10, P.abstract.d)
+ ) })
+I.push({ id: 'crystal-shards', name: 'Crystal shards', pack: 'abstract', tags: ['crystal', 'shards', 'gems'],
+ svg: svg(
+ poly([[72, 32], [92, 76], [60, 88], [48, 56]], P.abstract.b),
+ poly([[92, 76], [128, 62], [136, 100], [60, 88]], P.abstract.e),
+ poly([[60, 88], [136, 100], [104, 168], [52, 128]], P.abstract.a),
+ poly([[104, 168], [136, 100], [156, 132], [128, 172]], P.abstract.c),
+ poly([[60, 88], [52, 128], [30, 112], [36, 80]], P.abstract.d)
+ ) })
+
+// · festive ·
+I.push({ id: 'birthday-cake', name: 'Birthday cake', pack: 'festive', tags: ['birthday', 'cake', 'party'],
+ svg: svg(
+ rect(48, 108, 104, 30, 6, P.festive.d),
+ rect(38, 134, 124, 34, 8, P.festive.a),
+ path('M48 108 C58 122 68 122 78 110 C88 124 100 124 110 110 C120 124 132 124 142 110 C148 118 150 118 152 112 L152 108 Z', P.festive.c),
+ rect(70, 92, 8, 20, 3, P.festive.e), rect(96, 84, 8, 28, 3, P.festive.e), rect(122, 92, 8, 20, 3, P.festive.e),
+ ell(74, 84, 5, 8, P.festive.b), ell(100, 76, 5, 8, P.festive.b), ell(126, 84, 5, 8, P.festive.b),
+ circ(64, 148, 5, P.festive.c), circ(90, 150, 5, P.festive.c), circ(116, 148, 5, P.festive.c), circ(140, 150, 5, P.festive.c)
+ ) })
+I.push({ id: 'party-popper', name: 'Party popper', pack: 'festive', tags: ['party', 'popper', 'celebration'],
+ svg: svg(
+ poly([[30, 190], [14, 108], [86, 140]], P.festive.a),
+ poly([[30, 190], [14, 108], [50, 124]], P.festive.d),
+ stroke('M60 128 L86 76', 6, P.festive.b), stroke('M84 138 L128 108', 6, P.festive.c),
+ stroke('M70 116 L64 68', 6, P.festive.c), stroke('M100 128 L144 128', 6, P.festive.b),
+ star(120, 60, 16, P.festive.b), star(160, 92, 12, P.festive.c), star(92, 42, 10, P.festive.a),
+ circ(150, 52, 6, P.festive.c), circ(170, 130, 5, P.festive.a), circ(136, 80, 5, P.festive.d)
+ ) })
+I.push({ id: 'gift-box', name: 'Gift box', pack: 'festive', tags: ['gift', 'present', 'box'],
+ svg: svg(
+ rect(44, 84, 112, 84, 8, P.festive.d),
+ rect(36, 64, 128, 26, 8, P.festive.a),
+ rect(90, 64, 20, 104, 0, P.festive.c),
+ path('M100 64 C80 40 52 44 56 58 C60 72 84 68 100 64 Z', P.festive.c),
+ path('M100 64 C120 40 148 44 144 58 C140 72 116 68 100 64 Z', P.festive.c),
+ circ(100, 62, 7, P.festive.b)
+ ) })
+I.push({ id: 'balloons', name: 'Balloons', pack: 'festive', tags: ['balloons', 'party', 'float'],
+ svg: svg(
+ ell(64, 74, 30, 36, P.festive.a), poly([[56, 106], [72, 106], [64, 116]], P.festive.d),
+ ell(132, 92, 26, 32, P.festive.b), poly([[125, 120], [139, 120], [132, 129]], P.festive.d),
+ ell(96, 50, 22, 27, P.festive.c), poly([[90, 74], [102, 74], [96, 82]], P.festive.d),
+ stroke('M64 116 C56 142 68 158 58 184', 4, P.festive.d),
+ stroke('M132 129 C126 152 140 168 130 190', 4, P.festive.d),
+ stroke('M96 82 C90 106 102 122 92 146', 4, P.festive.d),
+ ell(56, 62, 7, 10, P.festive.e, -20), ell(124, 80, 6, 9, P.festive.e, -20), ell(90, 42, 5, 8, P.festive.e, -20)
+ ) })
+I.push({ id: 'fireworks', name: 'Fireworks', pack: 'festive', tags: ['fireworks', 'new-year', 'celebrate'],
+ svg: svg(
+ star(64, 76, 10, P.festive.c),
+ stroke('M64 62 L64 34', 5, P.festive.b), stroke('M64 90 L64 118', 5, P.festive.b),
+ stroke('M50 76 L24 66', 5, P.festive.b), stroke('M78 76 L104 66', 5, P.festive.b),
+ stroke('M54 66 L38 46', 5, P.festive.c), stroke('M74 66 L90 46', 5, P.festive.c),
+ star(140, 118, 10, P.festive.c),
+ stroke('M140 104 L140 76', 5, P.festive.a), stroke('M140 132 L140 160', 5, P.festive.a),
+ stroke('M126 118 L100 108', 5, P.festive.a), stroke('M154 118 L180 108', 5, P.festive.a),
+ star(104, 158, 7, P.festive.b), star(42, 150, 6, P.festive.c), star(172, 60, 6, P.festive.a), star(30, 44, 5, P.festive.b)
+ ) })
+I.push({ id: 'holly-wreath', name: 'Holly wreath', pack: 'festive', tags: ['christmas', 'holly', 'wreath'],
+ svg: svg(
+ circ(100, 100, 62, 'none', 'stroke="#1E5B34" stroke-width="22"'),
+ path('M100 40 C88 50 88 60 100 66 C112 60 112 50 100 40 Z', '#2D7A45'),
+ path('M100 134 C88 144 88 154 100 160 C112 154 112 144 100 134 Z', '#2D7A45'),
+ path('M44 96 C34 106 36 118 48 120 C56 110 54 100 44 96 Z', '#2D7A45'),
+ path('M156 96 C166 106 164 118 152 120 C144 110 146 100 156 96 Z', '#2D7A45'),
+ star(76, 88, 13, P.festive.a), star(126, 96, 11, P.festive.a), star(96, 128, 10, P.festive.a),
+ star(120, 60, 8, P.festive.a), star(66, 122, 8, P.festive.a),
+ star(100, 100, 18, P.festive.c)
+ ) })
+I.push({ id: 'lantern-glow', name: 'Lantern glow', pack: 'festive', tags: ['lantern', 'light', 'festival'],
+ svg: svg(
+ grad('lg1', P.festive.c, P.festive.b, 'radial'),
+ circ(100, 104, 62, 'url(#lg1)'),
+ rect(84, 44, 32, 12, 6, P.festive.d),
+ rect(72, 56, 56, 96, 16, P.festive.c),
+ rect(78, 68, 44, 72, 10, P.festive.e),
+ rect(80, 60, 40, 8, 4, P.festive.b), rect(80, 140, 40, 8, 4, P.festive.b),
+ rect(94, 152, 12, 10, 4, P.festive.d),
+ stroke('M100 162 L100 184', 4, P.festive.d), circ(100, 188, 5, P.festive.a)
+ ) })
+I.push({ id: 'champagne-toast', name: 'Champagne toast', pack: 'festive', tags: ['champagne', 'toast', 'celebration'],
+ svg: svg(
+ path('M58 30 L86 30 L82 66 C80 76 64 76 62 66 Z', P.festive.e),
+ stroke('M72 76 L70 122', 5, P.festive.e), ell(70, 128, 12, 6, P.festive.d),
+ path('M114 30 L142 30 L138 66 C136 76 120 76 118 66 Z', P.festive.e),
+ stroke('M128 76 L126 122', 5, P.festive.e), ell(126, 128, 12, 6, P.festive.d),
+ circ(70, 46, 4, P.festive.c), circ(76, 58, 3, P.festive.c), circ(66, 60, 3, P.festive.b),
+ circ(126, 46, 4, P.festive.c), circ(132, 58, 3, P.festive.c), circ(122, 60, 3, P.festive.b),
+ star(100, 40, 14, P.festive.c), star(46, 52, 8, P.festive.b), star(156, 52, 8, P.festive.b),
+ star(100, 88, 7, P.festive.b)
+ ) })
+
+// ── emit TypeScript ───────────────────────────────────────────
+const header = `// ─────────────────────────────────────────────────────────────
+// Canvix illustration packs (v0.17 Wave 2) — original flat art
+// authored in-house (clean-room: composed from primitives by
+// scripts/gen-illustrations.mjs — nothing copied from elsewhere).
+// 6 packs × 8 illustrations = 48 pieces. Each SVG is standalone,
+// viewBox 0 0 200 200, transparent background, 2–4 colours that
+// read on both white and the #0F1015 dark asset cards.
+// ─────────────────────────────────────────────────────────────
+
+export type IllustrationPack = 'business' | 'people' | 'nature' | 'tech' | 'abstract' | 'festive'
+
+export interface IllustrationDef {
+ id: string
+ name: string
+ pack: IllustrationPack
+ tags: string[]
+ svg: string
+}
+
+export const ILLUSTRATION_PACKS: { id: IllustrationPack; label: string }[] = [
+ { id: 'business', label: 'Business' },
+ { id: 'people', label: 'People' },
+ { id: 'nature', label: 'Nature' },
+ { id: 'tech', label: 'Tech' },
+ { id: 'abstract', label: 'Abstract' },
+ { id: 'festive', label: 'Festive' },
+]
+
+`
+
+const body = I.map((d) => ` {\n id: '${d.id}',\n name: '${d.name}',\n pack: '${d.pack}',\n tags: [${d.tags.map((t) => `'${t}'`).join(', ')}],\n svg: ${JSON.stringify(d.svg)},\n },`).join('\n')
+
+const out = header + 'export const ILLUSTRATIONS: IllustrationDef[] = [\n' + body + '\n]\n'
+writeFileSync(new URL('../src/lib/assets/illustrations.ts', import.meta.url), out)
+console.log(`wrote ${I.length} illustrations`)
+const counts = {}
+for (const d of I) counts[d.pack] = (counts[d.pack] ?? 0) + 1
+console.log(JSON.stringify(counts))
diff --git a/scripts/verify-wave2.sh b/scripts/verify-wave2.sh
new file mode 100644
index 0000000..b0fc0ac
--- /dev/null
+++ b/scripts/verify-wave2.sh
@@ -0,0 +1,111 @@
+#!/bin/bash
+# scripts/verify-wave2.sh — one-shot Wave 2 verification (sandbox):
+# embedded Postgres + migrate deploy (incl. 0011) + seed (366) +
+# API spot-checks + targeted playwright e2e. Everything in ONE shell
+# because background processes don't outlive the invoking session.
+set -euo pipefail
+cd "$(dirname "$0")/.."
+
+export DATABASE_URL="postgresql://canvix:canvix@localhost:5433/canvix"
+PGDIR=/tmp/pgembed
+LOG=$PGDIR/verify.log
+: > "$LOG"
+
+echo "── 1. embedded postgres ─────────────────────────────"
+# kill anything left over from a previous run (port + data dir races)
+pkill -f 'pgembed/data2' 2>/dev/null || true
+pkill -f 'start2.mjs' 2>/dev/null || true
+for i in $(seq 1 15); do
+ if node -e "const n=require('net');const s=n.connect(5433,'127.0.0.1',()=>{s.end();process.exit(0)});s.on('error',()=>process.exit(1))" 2>/dev/null; then sleep 1; else break; fi
+done
+rm -rf "$PGDIR/data2" "$PGDIR/ready.marker"
+cd "$PGDIR"
+cat > start2.mjs << 'EOF'
+import EmbeddedPostgres from 'embedded-postgres'
+import { writeFileSync } from 'node:fs'
+const pg = new EmbeddedPostgres({
+ databaseDir: '/tmp/pgembed/data2',
+ user: 'canvix',
+ password: 'canvix',
+ port: 5433,
+ persistent: true,
+})
+await pg.initialise()
+await pg.start()
+await pg.createDatabase('canvix').catch(() => {})
+// only declare readiness after a real query round-trips
+const { Client } = await import('pg')
+for (let i = 0; i < 60; i++) {
+ try {
+ const c = new Client({ connectionString: 'postgresql://canvix:[email protected]:5433/canvix' })
+ await c.connect()
+ await c.query('SELECT 1')
+ await c.end()
+ writeFileSync('/tmp/pgembed/ready.marker', 'ok')
+ console.log('PG READY (query verified)')
+ break
+ } catch {
+ await new Promise((r) => setTimeout(r, 500))
+ }
+}
+setInterval(() => {}, 1 << 30)
+EOF
+setsid nohup node start2.mjs >> "$LOG" 2>&1 < /dev/null &
+for i in $(seq 1 60); do
+ [ -f "$PGDIR/ready.marker" ] && break
+ sleep 1
+done
+[ -f "$PGDIR/ready.marker" ] || { echo "PG FAILED"; tail -25 "$LOG"; exit 1; }
+echo "PG up on 5433"
+cd - >/dev/null
+
+echo "── 2. migrate deploy (incl. 0011_wave2) ─────────────"
+npx prisma migrate deploy 2>&1 | tail -4 | tee -a "$LOG"
+
+echo "── 3. seed (366 templates) ──────────────────────────"
+npx tsx prisma/seed.ts 2>&1 | grep -E "Seeding|Done" | tee -a "$LOG"
+
+echo "── 4. DB spot-checks ────────────────────────────────"
+cat > /tmp/wave2-dbcheck.mts << 'EOC'
+import { createScriptClient } from '/home/z/my-project/repos/canvix/src/lib/db-script'
+const db = createScriptClient()
+const total = await db.template.count()
+const smartRows = await db.$queryRawUnsafe('SELECT COUNT(*)::int AS n FROM "Template" WHERE "fields" IS NOT NULL')
+const smart = smartRows[0].n
+const ut = await db.$queryRawUnsafe('SELECT COUNT(*)::int AS n FROM "UserTemplate"')
+const bk = await db.$queryRawUnsafe('SELECT COUNT(*)::int AS n FROM "BrandKitRecord"')
+console.log('templates:', total, '| smart:', smart, '| UserTemplate table:', ut[0].n, '| BrandKitRecord table:', bk[0].n)
+const cert = await db.template.findUnique({ where: { slug: 'certificate-excellence' } })
+console.log('certificate fields:', cert?.fields ? (cert.fields as unknown[]).length : 'MISSING')
+const aurora = await db.template.findUnique({ where: { slug: 'roastery-badge-logo-aurora' } })
+console.log('aurora variant seeded:', aurora ? 'yes' : 'MISSING')
+await db.$disconnect()
+EOC
+npx tsx /tmp/wave2-dbcheck.mts 2>&1 | tee -a "$LOG"
+
+echo "── 5. dev server ────────────────────────────────────"
+pkill -f 'next dev -p 3000' 2>/dev/null || true
+sleep 1
+setsid nohup npx next dev -p 3000 > /tmp/pgembed/dev.log 2>&1 < /dev/null &
+for i in $(seq 1 120); do
+ if curl -sf http://localhost:3000/api/health >/dev/null 2>&1; then break; fi
+ sleep 1
+done
+curl -sf http://localhost:3000/api/health >/dev/null || { echo "DEV FAILED"; tail -30 /tmp/pgembed/dev.log; exit 1; }
+echo "dev up"
+
+echo "── 6. API spot-checks ───────────────────────────────"
+COUNT=$(curl -sf http://localhost:3000/api/templates | node -e "let d='';process.stdin.on('data',(c)=>d+=c).on('end',()=>console.log(JSON.parse(d).length))")
+FIELDS=$(curl -sf http://localhost:3000/api/templates | node -e "let d='';process.stdin.on('data',(c)=>d+=c).on('end',()=>{const t=JSON.parse(d);const c=t.find((x)=>x.slug==='certificate-excellence');console.log(c?.fields?.length ?? 'MISSING')})")
+CACHE=$(curl -sI http://localhost:3000/api/templates | grep -i cache-control | head -1)
+echo "GET /api/templates → $COUNT templates; certificate fields: $FIELDS"
+echo "cache-control: $CACHE"
+echo "GET /api/fonts/custom → $(curl -s http://localhost:3000/api/fonts/custom)"
+echo "GET /api/icons (no params) → $(curl -s -o /dev/null -w '%{http_code}' http://localhost:3000/api/icons) (expect 400)"
+echo "GET /api/icons?q=<bad> → $(curl -s -o /dev/null -w '%{http_code}' 'http://localhost:3000/api/icons?q=%24%7Bjndi%7D') (expect 400)"
+echo "GET /api/brand-kits → $(curl -s http://localhost:3000/api/brand-kits)"
+
+echo "── 7. playwright e2e (wave2 + smoke) ────────────────"
+BASE_URL=http://localhost:3000 npx playwright test tests/e2e/wave2-assets-templates.spec.ts tests/e2e/smoke.spec.ts 2>&1 | tail -20
+
+echo "── done ─────────────────────────────────────────────"
diff --git a/src/app/api/brand-kits/route.ts b/src/app/api/brand-kits/route.ts
new file mode 100644
index 0000000..3dec421
--- /dev/null
+++ b/src/app/api/brand-kits/route.ts
@@ -0,0 +1,199 @@
+import { NextRequest, NextResponse } from 'next/server'
+import { db } from '@/lib/db'
+import { dbErrorResponse } from '@/lib/db-errors'
+import { isSameOrigin, CSRF_REJECTED } from '@/lib/auth/csrf'
+import { checkRateLimit, rateLimitResponse } from '@/lib/rate-limit'
+import { getSessionUser } from '@/lib/auth/session'
+import { anonKeyHash, readAnonToken, newAnonToken, setAnonCookie } from '@/lib/auth/anon'
+import { withLogging } from '@/lib/observability'
+
+export const runtime = 'nodejs'
+export const maxDuration = 30
+
+// ── v0.17 (Wave 2): server-side brand kits ────────────────────
+//
+// GET /api/brand-kits → { kits: [...] }
+// POST /api/brand-kits → create (name, colors, palettes,
+// headingFont, bodyFont, logos)
+// PUT /api/brand-kits?id=.. → update one
+// DELETE /api/brand-kits?id=.. → remove one
+//
+// Attribution mirrors designs (account or anon cookie). The Brand
+// panel keeps its localStorage cache as an offline fallback and
+// syncs through these endpoints — kits follow the account across
+// devices. Caps: 10 kits, 8 colours, 8 palettes × 8 colours,
+// 8 logo data URLs ≤ 512 KB each (logos are small PNG/SVGs).
+
+const MAX_KITS = 10
+const HEX_RE = /^#[0-9a-fA-F]{3,8}$/
+
+function validateKit(body: Record<string, unknown>): {
+ name: string
+ colors: string[]
+ palettes: string[][]
+ headingFont: string
+ bodyFont: string
+ logos: string[]
+} | { error: string } {
+ const name = typeof body.name === 'string' && body.name.trim() ? body.name.trim().slice(0, 60) : 'My brand'
+
+ if (!Array.isArray(body.colors) || !body.colors.length || body.colors.length > 8) return { error: 'Provide 1–8 colours.' }
+ const colors: string[] = []
+ for (const c of body.colors) {
+ if (typeof c !== 'string' || !HEX_RE.test(c)) return { error: 'Colours must be hex values.' }
+ colors.push(c)
+ }
+
+ const palettes: string[][] = []
+ if (body.palettes !== undefined) {
+ if (!Array.isArray(body.palettes) || body.palettes.length > 8) return { error: 'At most 8 palettes.' }
+ for (const pal of body.palettes) {
+ if (!Array.isArray(pal) || pal.length > 8 || pal.some((c) => typeof c !== 'string' || !HEX_RE.test(c))) {
+ return { error: 'Palettes must be arrays of hex colours.' }
+ }
+ palettes.push(pal as string[])
+ }
+ }
+
+ const headingFont = typeof body.headingFont === 'string' && body.headingFont.length <= 60 ? body.headingFont : 'Montserrat'
+ const bodyFont = typeof body.bodyFont === 'string' && body.bodyFont.length <= 60 ? body.bodyFont : 'Inter'
+
+ const logos: string[] = []
+ if (body.logos !== undefined) {
+ if (!Array.isArray(body.logos) || body.logos.length > 8) return { error: 'At most 8 logos.' }
+ for (const l of body.logos) {
+ if (typeof l !== 'string' || l.length > 600_000 || !/^data:image\/(png|jpe?g|svg\+xml|webp);base64,/.test(l)) {
+ return { error: 'Logos must be image data URLs (≤ 512 KB each).' }
+ }
+ logos.push(l)
+ }
+ }
+
+ return { name, colors, palettes, headingFont, bodyFont, logos }
+}
+
+async function __canvix_get(req: NextRequest) {
+ try {
+ const user = await getSessionUser(req)
+ let anonKey: string | null = null
+ if (!user) {
+ const token = readAnonToken(req)
+ if (!token) return NextResponse.json({ kits: [] })
+ anonKey = anonKeyHash(token)
+ }
+ const kits = await db.brandKitRecord.findMany({
+ where: user ? { ownerId: user.id } : { anonKey },
+ orderBy: { updatedAt: 'desc' },
+ take: MAX_KITS,
+ })
+ return NextResponse.json({
+ kits: kits.map((k) => ({
+ id: k.id,
+ name: k.name,
+ colors: k.colors,
+ palettes: k.palettes,
+ headingFont: k.headingFont,
+ bodyFont: k.bodyFont,
+ logos: k.logos,
+ updatedAt: k.updatedAt,
+ })),
+ })
+ } catch (error) {
+ return dbErrorResponse(error, 'GET /api/brand-kits')
+ }
+}
+
+async function __canvix_post(req: NextRequest) {
+ if (!isSameOrigin(req)) return NextResponse.json(CSRF_REJECTED, { status: 403 })
+ const limit = checkRateLimit(req, 'folders:create')
+ if (!limit.ok) return rateLimitResponse(limit)
+ try {
+ const body = (await req.json().catch(() => ({}))) as Record<string, unknown>
+ const kit = validateKit(body)
+ if ('error' in kit) return NextResponse.json({ error: kit.error }, { status: 400 })
+
+ const user = await getSessionUser(req)
+ const token = readAnonToken(req) ?? newAnonToken()
+ const ownerId = user?.id ?? null
+ const anonKey = user ? null : anonKeyHash(token)
+
+ const count = await db.brandKitRecord.count({ where: user ? { ownerId: user.id } : { anonKey } })
+ if (count >= MAX_KITS) {
+ return NextResponse.json({ error: `Brand kit limit reached (${MAX_KITS}).` }, { status: 413 })
+ }
+
+ const created = await db.brandKitRecord.create({
+ data: {
+ name: kit.name,
+ colors: kit.colors as never,
+ palettes: kit.palettes as never,
+ headingFont: kit.headingFont,
+ bodyFont: kit.bodyFont,
+ logos: kit.logos as never,
+ ownerId,
+ anonKey,
+ },
+ select: { id: true, name: true },
+ })
+ const res = NextResponse.json({ id: created.id, name: created.name }, { status: 201 })
+ if (!user) setAnonCookie(res, token)
+ return res
+ } catch (error) {
+ return dbErrorResponse(error, 'POST /api/brand-kits')
+ }
+}
+
+async function __canvix_put(req: NextRequest) {
+ if (!isSameOrigin(req)) return NextResponse.json(CSRF_REJECTED, { status: 403 })
+ const limit = checkRateLimit(req, 'folders:update')
+ if (!limit.ok) return rateLimitResponse(limit)
+ try {
+ const id = req.nextUrl.searchParams.get('id') ?? ''
+ if (!id) return NextResponse.json({ error: 'Missing id.' }, { status: 400 })
+ const body = (await req.json().catch(() => ({}))) as Record<string, unknown>
+ const kit = validateKit(body)
+ if ('error' in kit) return NextResponse.json({ error: kit.error }, { status: 400 })
+
+ const user = await getSessionUser(req)
+ const token = readAnonToken(req)
+ const anonKey = user ? null : token ? anonKeyHash(token) : null
+ const updated = await db.brandKitRecord.updateMany({
+ where: user ? { id, ownerId: user.id } : { id, anonKey: anonKey ?? '__none__' },
+ data: {
+ name: kit.name,
+ colors: kit.colors as never,
+ palettes: kit.palettes as never,
+ headingFont: kit.headingFont,
+ bodyFont: kit.bodyFont,
+ logos: kit.logos as never,
+ },
+ })
+ if (!updated.count) return NextResponse.json({ error: 'Not found.' }, { status: 404 })
+ return NextResponse.json({ ok: true })
+ } catch (error) {
+ return dbErrorResponse(error, 'PUT /api/brand-kits')
+ }
+}
+
+async function __canvix_delete(req: NextRequest) {
+ if (!isSameOrigin(req)) return NextResponse.json(CSRF_REJECTED, { status: 403 })
+ try {
+ const id = req.nextUrl.searchParams.get('id') ?? ''
+ if (!id) return NextResponse.json({ error: 'Missing id.' }, { status: 400 })
+ const user = await getSessionUser(req)
+ const token = readAnonToken(req)
+ const anonKey = user ? null : token ? anonKeyHash(token) : null
+ const removed = await db.brandKitRecord.deleteMany({
+ where: user ? { id, ownerId: user.id } : { id, anonKey: anonKey ?? '__none__' },
+ })
+ if (!removed.count) return NextResponse.json({ error: 'Not found.' }, { status: 404 })
+ return NextResponse.json({ ok: true })
+ } catch (error) {
+ return dbErrorResponse(error, 'DELETE /api/brand-kits')
+ }
+}
+
+export const GET = withLogging('GET /api/brand-kits', __canvix_get)
+export const POST = withLogging('POST /api/brand-kits', __canvix_post)
+export const PUT = withLogging('PUT /api/brand-kits', __canvix_put)
+export const DELETE = withLogging('DELETE /api/brand-kits', __canvix_delete)
diff --git a/src/app/api/fonts/custom/route.ts b/src/app/api/fonts/custom/route.ts
new file mode 100644
index 0000000..296fe62
--- /dev/null
+++ b/src/app/api/fonts/custom/route.ts
@@ -0,0 +1,139 @@
+import { NextRequest, NextResponse } from 'next/server'
+import { db } from '@/lib/db'
+import { isSameOrigin, CSRF_REJECTED } from '@/lib/auth/csrf'
+import { checkRateLimit, rateLimitResponse } from '@/lib/rate-limit'
+import { getSessionUser } from '@/lib/auth/session'
+import { anonKeyHash, readAnonToken, newAnonToken, setAnonCookie } from '@/lib/auth/anon'
+import { withLogging } from '@/lib/observability'
+
+export const runtime = 'nodejs'
+export const maxDuration = 30
+
+// ── v0.17 (Wave 2): custom font uploads ──────────────────────
+// GET /api/fonts/custom → { fonts: [{ id, family, url, format }] }
+// POST /api/fonts/custom?family=.. → raw font bytes (octet-stream) → 201
+// DELETE /api/fonts/custom?id=.. → remove an uploaded font
+//
+// Stored in the existing Media table (bytes in Postgres, quota shared
+// with the uploads library). Fonts are small (typically < 2 MB), so a
+// single raw-body POST is fine — no chunking dance needed. The editor
+// registers them client-side via the FontFace API.
+
+const MAX_FONT_MB = 8
+const FORMAT_BY_EXT: Record<string, string> = {
+ ttf: 'truetype',
+ otf: 'opentype',
+ woff: 'woff',
+ woff2: 'woff2',
+}
+
+/** list the caller's uploaded fonts (session or anon attribution) */
+async function __canvix_get(req: NextRequest) {
+ try {
+ const user = await getSessionUser(req)
+ let anonKey: string | null = null
+ if (!user) {
+ const token = readAnonToken(req)
+ if (!token) return NextResponse.json({ fonts: [] })
+ anonKey = anonKeyHash(token)
+ }
+ const rows = await db.media.findMany({
+ where: {
+ mime: { startsWith: 'font/' },
+ keepInLibrary: true,
+ ...(user ? { ownerId: user.id } : { anonKey }),
+ },
+ select: { id: true, name: true, size: true, createdAt: true },
+ orderBy: { createdAt: 'desc' },
+ take: 100,
+ })
+ return NextResponse.json({
+ fonts: rows.map((r) => {
+ const ext = (r.name ?? '').split('.').pop()?.toLowerCase() ?? 'ttf'
+ return {
+ id: r.id,
+ // family label = filename without extension, spaces legal in css
+ family: (r.name ?? 'Custom font').replace(/\.[^.]+$/, '').slice(0, 60) || 'Custom font',
+ url: `/api/media/${r.id}`,
+ format: FORMAT_BY_EXT[ext] ?? 'truetype',
+ }
+ }),
+ })
+ } catch {
+ return NextResponse.json({ fonts: [] })
+ }
+}
+
+/** upload a font file — raw body, ?family= display name, ?ext= ttf|otf|woff|woff2 */
+async function __canvix_post(req: NextRequest) {
+ if (!isSameOrigin(req)) return NextResponse.json(CSRF_REJECTED, { status: 403 })
+ const limit = checkRateLimit(req, 'media:init')
+ if (!limit.ok) return rateLimitResponse(limit)
+ try {
+ const family = (req.nextUrl.searchParams.get('family') ?? '').trim().slice(0, 60)
+ const ext = (req.nextUrl.searchParams.get('ext') ?? 'ttf').toLowerCase()
+ if (!family || !/^[A-Za-z0-9][A-Za-z0-9 _-]*$/.test(family)) {
+ return NextResponse.json({ error: 'Provide a font name (letters, digits, spaces).' }, { status: 400 })
+ }
+ if (!FORMAT_BY_EXT[ext]) {
+ return NextResponse.json({ error: 'Only .ttf, .otf, .woff and .woff2 files are supported.' }, { status: 415 })
+ }
+ const mime = `font/${ext === 'ttf' ? 'ttf' : ext === 'otf' ? 'otf' : ext}`
+
+ const bytes = new Uint8Array(await req.arrayBuffer())
+ if (!bytes.length || bytes.length > MAX_FONT_MB * 1024 * 1024) {
+ return NextResponse.json({ error: `Font must be between 1 byte and ${MAX_FONT_MB} MB.` }, { status: 413 })
+ }
+
+ const user = await getSessionUser(req)
+ const token = readAnonToken(req) ?? newAnonToken()
+ const ownerId = user?.id ?? null
+ const anonKey = user ? null : anonKeyHash(token)
+
+ const media = await db.media.create({
+ data: {
+ mime,
+ size: bytes.length,
+ bytes,
+ ownerId,
+ anonKey,
+ name: `${family}.${ext}`,
+ keepInLibrary: true,
+ finalizedAt: new Date(),
+ },
+ select: { id: true },
+ })
+ const res = NextResponse.json(
+ { id: media.id, family, url: `/api/media/${media.id}`, format: FORMAT_BY_EXT[ext] },
+ { status: 201 },
+ )
+ if (!user) setAnonCookie(res, token)
+ return res
+ } catch {
+ return NextResponse.json({ error: 'Upload failed — try again.' }, { status: 500 })
+ }
+}
+
+/** remove an uploaded font */
+async function __canvix_delete(req: NextRequest) {
+ if (!isSameOrigin(req)) return NextResponse.json(CSRF_REJECTED, { status: 403 })
+ try {
+ const id = req.nextUrl.searchParams.get('id') ?? ''
+ if (!id) return NextResponse.json({ error: 'Missing id.' }, { status: 400 })
+ const user = await getSessionUser(req)
+ const token = readAnonToken(req)
+ const anonKey = user ? null : token ? anonKeyHash(token) : null
+ const where = user
+ ? { id, ownerId: user.id }
+ : { id, anonKey: anonKey ?? '__none__' }
+ const removed = await db.media.deleteMany({ where })
+ if (!removed.count) return NextResponse.json({ error: 'Not found.' }, { status: 404 })
+ return NextResponse.json({ ok: true })
+ } catch {
+ return NextResponse.json({ error: 'Delete failed.' }, { status: 500 })
+ }
+}
+
+export const GET = withLogging('GET /api/fonts/custom', __canvix_get)
+export const POST = withLogging('POST /api/fonts/custom', __canvix_post)
+export const DELETE = withLogging('DELETE /api/fonts/custom', __canvix_delete)
diff --git a/src/app/api/icons/route.test.ts b/src/app/api/icons/route.test.ts
new file mode 100644
index 0000000..ac0322b
--- /dev/null
+++ b/src/app/api/icons/route.test.ts
@@ -0,0 +1,84 @@
+// Unit tests for the Iconify proxy (v0.17 Wave 2) — validation and
+// passthrough behaviour with a stubbed fetch, following the
+// stock-photo/stock-video route test conventions.
+
+import { NextRequest } from 'next/server'
+import { describe, it, expect, vi, beforeEach } from 'vitest'
+
+const fetchMock = vi.fn()
+vi.stubGlobal('fetch', fetchMock)
+
+// rate limits off for deterministic tests
+vi.mock('@/lib/rate-limit', async (orig) => {
+ const actual = await orig<typeof import('@/lib/rate-limit')>()
+ return { ...actual, checkRateLimit: () => ({ ok: true }) }
+})
+
+import { GET } from './route'
+
+beforeEach(() => {
+ // mockReset (not clearAllMocks) — once-implementations must not leak
+ // between tests when a request 400s before reaching fetch
+ fetchMock.mockReset()
+})
+
+const req = (url: string) => new NextRequest(`http://canvix.test${url}`)
+
+describe('GET /api/icons (Iconify proxy, v0.17 Wave 2)', () => {
+ it('rejects requests without ?q or ?svg', async () => {
+ const res = await GET(req('/api/icons'))
+ expect(res.status).toBe(400)
+ })
+
+ it('validates icon references strictly (injection-safe)', async () => {
+ for (const bad of ['../etc/passwd', 'mdi:home extra', 'mdi:', ':home', 'MDI:home', 'a'.repeat(70) + ':x']) {
+ const res = await GET(req(`/api/icons?svg=${encodeURIComponent(bad)}`))
+ expect(res.status, `svg=${bad}`).toBe(400)
+ }
+ })
+
+ it('validates search queries (shape + length)', async () => {
+ for (const bad of ['', ' ', 'a;b', '${jndi}', 'x'.repeat(70)]) {
+ const res = await GET(req(`/api/icons?q=${encodeURIComponent(bad)}`))
+ expect(res.status, `q="${bad}"`).toBe(400)
+ }
+ })
+
+ it('proxies a search and filters malformed icon ids', async () => {
+ fetchMock.mockResolvedValueOnce(
+ new Response(JSON.stringify({ icons: ['mdi:rocket', 'not-an-id', 42, 'uil:space'] }), { status: 200 }),
+ )
+ const res = await GET(req('/api/icons?q=rocket'))
+ expect(res.status).toBe(200)
+ const body = await res.json()
+ expect(body.icons).toEqual(['mdi:rocket', 'uil:space'])
+ expect(fetchMock.mock.calls[0][0]).toContain('api.iconify.design/search?query=rocket&limit=60')
+ })
+
+ it('serves svg passthrough with hard edge caching', async () => {
+ fetchMock.mockResolvedValueOnce(new Response('<svg viewBox="0 0 24 24"><path d="M4 4h16v16H4z"/></svg>', { status: 200 }))
+ const res = await GET(req('/api/icons?svg=mdi:home&color=%23FF0000'))
+ expect(res.status).toBe(200)
+ expect(res.headers.get('content-type')).toContain('image/svg+xml')
+ expect(res.headers.get('cache-control')).toContain('s-maxage=604800')
+ expect(fetchMock.mock.calls[0][0]).toBe('https://api.iconify.design/mdi/home.svg?color=%23FF0000')
+ })
+
+ it('rejects invalid colours on svg fetches', async () => {
+ const res = await GET(req('/api/icons?svg=mdi:home&color=javascript:alert(1)'))
+ expect(res.status).toBe(400)
+ })
+
+ it('rejects non-svg payloads from upstream', async () => {
+ fetchMock.mockResolvedValueOnce(new Response('<html>not an icon</html>', { status: 200 }))
+ const res = await GET(req('/api/icons?svg=mdi:home'))
+ expect(res.status).toBe(502)
+ })
+
+ it('maps upstream misses to 404 and network failures to 504', async () => {
+ fetchMock.mockResolvedValueOnce(new Response('not found', { status: 404 }))
+ expect((await GET(req('/api/icons?svg=mdi:nope'))).status).toBe(404)
+ fetchMock.mockRejectedValueOnce(new Error('network down'))
+ expect((await GET(req('/api/icons?q=rocket'))).status).toBe(504)
+ })
+})
diff --git a/src/app/api/icons/route.ts b/src/app/api/icons/route.ts
new file mode 100644
index 0000000..1f5760d
--- /dev/null
+++ b/src/app/api/icons/route.ts
@@ -0,0 +1,98 @@
+import { NextRequest, NextResponse } from 'next/server'
+import { checkRateLimit, rateLimitResponse } from '@/lib/rate-limit'
+import { withLogging } from '@/lib/observability'
+
+export const runtime = 'nodejs'
+export const maxDuration = 15
+
+// ── v0.17 (Wave 2): Iconify proxy — the online half of the icon library ──
+//
+// GET /api/icons?q=<query> → { icons: string[], total, limit }
+// GET /api/icons?svg=<prefix>:<name> → image/svg+xml (colour optional)
+//
+// The 562-icon offline pack ships in the bundle; this route adds the
+// full Iconify universe (200k+ icons, 150+ sets) on demand. It is a
+// thin, strictly-validated, cacheable passthrough to the free public
+// api.iconify.design — the same shape as the /api/fonts/ttf resolver:
+// no auth, no key, no store. Inputs are whitelisted hard because they
+// feed an upstream URL: query ≤ 60 chars of word characters, and
+// prefix/name are [a-z0-9-]+ only.
+
+const API = 'https://api.iconify.design'
+const Q_RE = /^[\w +'-]{1,60}$/
+const NAME_RE = /^[a-z0-9-]{1,64}$/
+const COLOR_RE = /^#[0-9a-fA-F]{3,8}$/ // searchParams already URI-decodes %23
+
+async function __canvix_get(req: NextRequest) {
+ const q = req.nextUrl.searchParams.get('q')
+ const svg = req.nextUrl.searchParams.get('svg')
+ const color = req.nextUrl.searchParams.get('color') ?? ''
+
+ if (!q && !svg) {
+ return NextResponse.json({ error: 'Provide ?q= or ?svg=.' }, { status: 400 })
+ }
+
+ // svg fetch: /api/icons?svg=mdi:home&color=%23FF0000
+ if (svg) {
+ const limit = checkRateLimit(req, 'icons:search')
+ if (!limit.ok) return rateLimitResponse(limit)
+ const [prefix, name] = svg.split(':')
+ if (!prefix || !name || !NAME_RE.test(prefix) || !NAME_RE.test(name)) {
+ return NextResponse.json({ error: 'Invalid icon reference.' }, { status: 400 })
+ }
+ if (color && !COLOR_RE.test(color)) {
+ return NextResponse.json({ error: 'Invalid colour.' }, { status: 400 })
+ }
+ try {
+ const url = `${API}/${prefix}/${name}.svg${color ? `?color=${encodeURIComponent(color)}` : ''}`
+ const res = await fetch(url, { signal: AbortSignal.timeout(6000) })
+ if (!res.ok) return NextResponse.json({ error: 'Icon not found.' }, { status: 404 })
+ const text = await res.text()
+ if (!text.startsWith('<svg') || text.length > 200_000) {
+ return NextResponse.json({ error: 'Invalid icon payload.' }, { status: 502 })
+ }
+ return new NextResponse(text, {
+ status: 200,
+ headers: {
+ 'Content-Type': 'image/svg+xml; charset=utf-8',
+ // iconify icons are immutable per name — cache hard at the edge
+ 'Cache-Control': 'public, max-age=86400, s-maxage=604800',
+ },
+ })
+ } catch {
+ return NextResponse.json({ error: 'Icon service unavailable.' }, { status: 504 })
+ }
+ }
+
+ // search: /api/icons?q=rocket
+ const query = (q ?? '').trim()
+ if (!Q_RE.test(query)) {
+ return NextResponse.json({ error: 'Invalid search query.' }, { status: 400 })
+ }
+ const limit = checkRateLimit(req, 'icons:search')
+ if (!limit.ok) return rateLimitResponse(limit)
+ try {
+ const res = await fetch(`${API}/search?query=${encodeURIComponent(query)}&limit=60`, {
+ signal: AbortSignal.timeout(6000),
+ })
+ if (!res.ok) return NextResponse.json({ error: 'Search unavailable.' }, { status: 502 })
+ const body = (await res.json()) as { icons?: unknown }
+ const icons = Array.isArray(body.icons)
+ ? body.icons.filter((i): i is string => typeof i === 'string' && /^[a-z0-9-]+:[a-z0-9-]+$/.test(i)).slice(0, 60)
+ : []
+ return NextResponse.json(
+ { icons, total: icons.length },
+ {
+ headers: {
+ // searches evolve with the user's typing — short edge cache only
+ 'Cache-Control': 'public, max-age=0, s-maxage=600, stale-while-revalidate=1800',
+ },
+ },
+ )
+ } catch {
+ return NextResponse.json({ error: 'Icon service unavailable.' }, { status: 504 })
+ }
+}
+
+// v0.12.5 (H7): opt-in request logging wrapper
+export const GET = withLogging('GET /api/icons', __canvix_get)
diff --git a/src/app/api/templates/[slug]/fill/route.test.ts b/src/app/api/templates/[slug]/fill/route.test.ts
new file mode 100644
index 0000000..abc6afe
--- /dev/null
+++ b/src/app/api/templates/[slug]/fill/route.test.ts
@@ -0,0 +1,142 @@
+// Unit tests for POST /api/templates/[slug]/fill (v0.17 Wave 2) —
+// validation, rendering and persist mode with a stubbed db + auth.
+
+import { NextRequest } from 'next/server'
+import { describe, it, expect, vi, beforeEach } from 'vitest'
+
+const dbMock = vi.hoisted(() => ({
+ template: { findUnique: vi.fn() },
+ design: { createManyAndReturn: vi.fn() },
+}))
+vi.mock('@/lib/db', () => ({ db: dbMock }))
+vi.mock('@/lib/rate-limit', async (orig) => {
+ const actual = await orig<typeof import('@/lib/rate-limit')>()
+ return { ...actual, checkRateLimit: () => ({ ok: true }) }
+})
+const sessionMock = vi.hoisted(() => ({ getSessionUser: vi.fn() }))
+vi.mock('@/lib/auth/session', () => sessionMock)
+const anonMock = vi.hoisted(() => ({
+ readAnonToken: vi.fn(),
+ newAnonToken: vi.fn(),
+ anonKeyHash: vi.fn(() => 'hashed'),
+ setAnonCookie: vi.fn(),
+}))
+vi.mock('@/lib/auth/anon', () => anonMock)
+
+import { POST } from './route'
+
+const TEMPLATE = {
+ id: 't1',
+ slug: 'certificate-excellence',
+ name: 'Certificate of Excellence',
+ category: 'print',
+ width: 1754,
+ height: 1240,
+ accent: '#B45309',
+ fields: [{ key: 'recipient_name', label: 'Recipient name', example: 'Ada' }],
+ pages: [
+ {
+ id: 'p1',
+ background: { type: 'solid', color: '#FFFFFF' },
+ elements: [
+ { id: 't1', type: 'text', text: 'Awarded to {{recipient_name}}', x: 0, y: 0, width: 100, height: 40 },
+ ],
+ },
+ ],
+ createdAt: new Date(),
+}
+
+const ctx = (slug: string) => ({ params: Promise.resolve({ slug }) })
+const jsonReq = (body: unknown, url = '/api/templates/certificate-excellence/fill') =>
+ new NextRequest(`http://canvix.test${url}`, {
+ method: 'POST',
+ headers: { 'content-type': 'application/json' },
+ body: typeof body === 'string' ? body : JSON.stringify(body),
+ })
+
+beforeEach(() => {
+ dbMock.template.findUnique.mockReset().mockResolvedValue(TEMPLATE)
+ dbMock.design.createManyAndReturn.mockReset().mockResolvedValue([{ id: 'd1', name: 'Certificate of Excellence' }])
+ sessionMock.getSessionUser.mockReset().mockResolvedValue(null)
+ anonMock.readAnonToken.mockReset().mockReturnValue('anon-token')
+ anonMock.newAnonToken.mockReset().mockReturnValue('fresh-token')
+})
+
+describe('POST /api/templates/[slug]/fill (v0.17 Wave 2)', () => {
+ it('renders a single values object', async () => {
+ const res = await POST(jsonReq({ values: { recipient_name: 'Grace Hopper' } }), ctx('certificate-excellence'))
+ expect(res.status).toBe(200)
+ const body = await res.json()
+ expect(body.template).toBe('certificate-excellence')
+ expect(body.fields).toEqual(['recipient_name'])
+ expect(body.generated).toHaveLength(1)
+ expect(body.generated[0].pages[0].elements[0].text).toBe('Awarded to Grace Hopper')
+ expect(body.created).toBeUndefined()
+ })
+
+ it('renders batch rows and names them (1), (2), …', async () => {
+ const res = await POST(
+ jsonReq({ rows: [{ recipient_name: 'A' }, { recipient_name: 'B' }] }),
+ ctx('certificate-excellence')
+ )
+ expect(res.status).toBe(200)
+ const body = await res.json()
+ expect(body.generated.map((g: { name: string }) => g.name)).toEqual([
+ 'Certificate of Excellence (1)',
+ 'Certificate of Excellence (2)',
+ ])
+ })
+
+ it('accepts a raw text/csv body with a header row', async () => {
+ const req = new NextRequest('http://canvix.test/api/templates/certificate-excellence/fill', {
+ method: 'POST',
+ headers: { 'content-type': 'text/csv' },
+ body: 'recipient_name\nAda\nGrace\n',
+ })
+ const res = await POST(req, ctx('certificate-excellence'))
+ expect(res.status).toBe(200)
+ const body = await res.json()
+ expect(body.generated).toHaveLength(2)
+ expect(body.generated[0].pages[0].elements[0].text).toBe('Awarded to Ada')
+ })
+
+ it('persists designs with ?persist=1 and stamps attribution', async () => {
+ const res = await POST(
+ jsonReq({ values: { recipient_name: 'Ada' } }, '/api/templates/certificate-excellence/fill?persist=1'),
+ ctx('certificate-excellence')
+ )
+ expect(res.status).toBe(201)
+ expect(dbMock.design.createManyAndReturn).toHaveBeenCalledOnce()
+ const arg = dbMock.design.createManyAndReturn.mock.calls[0][0]
+ expect(arg.data[0].source).toBe('template:certificate-excellence')
+ expect(arg.data[0].anonKey).toBe('hashed')
+ const body = await res.json()
+ expect(body.created).toEqual([{ id: 'd1', name: 'Certificate of Excellence' }])
+ })
+
+ it('rejects malformed slugs, missing templates, fieldless templates', async () => {
+ expect((await POST(jsonReq({ values: {} }), ctx('../etc'))).status).toBe(400)
+ dbMock.template.findUnique.mockResolvedValueOnce(null)
+ expect((await POST(jsonReq({ values: {} }), ctx('nope-template'))).status).toBe(404)
+ dbMock.template.findUnique.mockResolvedValueOnce({ ...TEMPLATE, fields: null, pages: [{ id: 'p', background: { type: 'solid', color: '#fff' }, elements: [] }] })
+ expect((await POST(jsonReq({ values: {} }), ctx('certificate-excellence'))).status).toBe(422)
+ })
+
+ it('rejects bad bodies: empty, wrong shapes, oversized batches', async () => {
+ expect((await POST(jsonReq({}), ctx('certificate-excellence'))).status).toBe(400)
+ expect((await POST(jsonReq({ rows: [] }), ctx('certificate-excellence'))).status).toBe(400)
+ expect((await POST(jsonReq({ values: 'nope' }), ctx('certificate-excellence'))).status).toBe(400)
+ expect(
+ (await POST(jsonReq({ rows: Array.from({ length: 101 }, () => ({ recipient_name: 'x' })) }), ctx('certificate-excellence'))).status
+ ).toBe(400)
+ })
+
+ it('falls back to scanning {{markers}} when a template has no declared fields', async () => {
+ dbMock.template.findUnique.mockResolvedValueOnce({ ...TEMPLATE, fields: null })
+ const res = await POST(jsonReq({ values: { recipient_name: 'Scan' } }), ctx('certificate-excellence'))
+ expect(res.status).toBe(200)
+ const body = await res.json()
+ expect(body.fields).toEqual(['recipient_name'])
+ expect(body.generated[0].pages[0].elements[0].text).toBe('Awarded to Scan')
+ })
+})
diff --git a/src/app/api/templates/[slug]/fill/route.ts b/src/app/api/templates/[slug]/fill/route.ts
new file mode 100644
index 0000000..8a18c39
--- /dev/null
+++ b/src/app/api/templates/[slug]/fill/route.ts
@@ -0,0 +1,183 @@
+import { NextRequest, NextResponse } from 'next/server'
+import { db } from '@/lib/db'
+import { dbErrorResponse } from '@/lib/db-errors'
+import { isSameOrigin, CSRF_REJECTED } from '@/lib/auth/csrf'
+import { checkRateLimit, rateLimitResponse } from '@/lib/rate-limit'
+import { getSessionUser } from '@/lib/auth/session'
+import { anonKeyHash, readAnonToken, newAnonToken, setAnonCookie } from '@/lib/auth/anon'
+import { withLogging } from '@/lib/observability'
+import { fillTemplateFields, parseCsv, csvToFieldRows, extractFieldKeys, validFields, type TemplateField } from '@/lib/templates/fields'
+import type { PageData } from '@/lib/types'
+
+export const runtime = 'nodejs'
+export const maxDuration = 30
+
+// ── v0.17 (Wave 2): REST template fill — the agent/API surface ──
+//
+// POST /api/templates/{slug}/fill
+//
+// Body (any of):
+// · JSON { "values": { "key": "value", … } } — single render
+// · JSON { "rows": [ { … }, { … } ] } — batch (≤ 100)
+// · text/csv (raw body or multipart "csv" file) — header row
+// must name the field keys; ≤ 500 rows parsed, ≤ 100 rendered
+//
+// Query:
+// · ?persist=1 — also create a design per row for the caller
+// (session cookie or anon attribution — same rules as the
+// dashboard). Default: render only, return documents.
+//
+// Response: { template, generated: [{ name, width, height, pages }],
+// created?: [{ id, name }] }
+//
+// The same engine powers the editor fill dialog and the dashboard
+// CSV bulk flow — one substitution implementation, three surfaces.
+
+const MAX_RENDER = 100
+
+function bad(message: string, status = 400) {
+ return NextResponse.json({ error: message }, { status })
+}
+
+/** read the request body into up to MAX_RENDER value rows */
+async function readValueRows(
+ req: NextRequest,
+ fieldKeys: string[]
+): Promise<{ rows: Record<string, string>[]; error?: undefined } | { rows?: undefined; error: string }> {
+ const contentType = req.headers.get('content-type') ?? ''
+
+ // multipart: a single uploaded csv file
+ if (contentType.includes('multipart/form-data')) {
+ const form = await req.formData().catch(() => null)
+ const file = form?.get('csv')
+ if (!(file instanceof File)) return { error: 'Attach the CSV as a "csv" form field.' }
+ if (file.size > 2_000_000) return { error: 'CSV exceeds 2 MB.' }
+ const text = await file.text()
+ try {
+ const { rows, missing } = csvToFieldRows(parseCsv(text), fieldKeys)
+ if (!rows.length) return { error: 'CSV has no data rows with matching columns.' }
+ return { rows: rows.slice(0, MAX_RENDER) }
+ } catch (err) {
+ return { error: err instanceof Error ? err.message : 'CSV parse failed.' }
+ }
+ }
+
+ // raw text/csv body
+ if (contentType.includes('text/csv')) {
+ const text = await req.text()
+ if (text.length > 2_000_000) return { error: 'CSV exceeds 2 MB.' }
+ try {
+ const { rows } = csvToFieldRows(parseCsv(text), fieldKeys)
+ if (!rows.length) return { error: 'CSV has no data rows with matching columns.' }
+ return { rows: rows.slice(0, MAX_RENDER) }
+ } catch (err) {
+ return { error: err instanceof Error ? err.message : 'CSV parse failed.' }
+ }
+ }
+
+ // JSON body: { values } or { rows }
+ const body = (await req.json().catch(() => null)) as
+ | { values?: unknown; rows?: unknown }
+ | null
+ if (!body || typeof body !== 'object') return { error: 'Send JSON { values } / { rows }, or a CSV body.' }
+
+ const cleanRow = (raw: unknown): Record<string, string> | null => {
+ if (typeof raw !== 'object' || raw === null) return null
+ const out: Record<string, string> = {}
+ for (const [k, v] of Object.entries(raw as Record<string, unknown>)) {
+ if (typeof v === 'string' && v.length <= 500) out[k.toLowerCase()] = v
+ }
+ return out
+ }
+
+ if (body.rows !== undefined) {
+ if (!Array.isArray(body.rows) || !body.rows.length) return { error: '"rows" must be a non-empty array.' }
+ if (body.rows.length > MAX_RENDER) return { error: `"rows" exceeds ${MAX_RENDER} entries.` }
+ const rows: Record<string, string>[] = []
+ for (const raw of body.rows) {
+ const row = cleanRow(raw)
+ if (!row) return { error: 'Each row must be an object of string values.' }
+ rows.push(row)
+ }
+ return { rows }
+ }
+
+ if (body.values !== undefined) {
+ const row = cleanRow(body.values)
+ if (!row) return { error: '"values" must be an object of string values.' }
+ return { rows: [row] }
+ }
+
+ return { error: 'Send JSON { values } / { rows }, or a CSV body.' }
+}
+
+async function __canvix_post(req: NextRequest, ctx: { params: Promise<{ slug: string }> }) {
+ if (!isSameOrigin(req)) return NextResponse.json(CSRF_REJECTED, { status: 403 })
+ const limit = checkRateLimit(req, 'templates:fill')
+ if (!limit.ok) return rateLimitResponse(limit)
+
+ const { slug } = await ctx.params
+ const persist = req.nextUrl.searchParams.get('persist') === '1'
+ if (slug.length > 80 || !/^[a-z0-9-]+$/.test(slug)) return bad('Invalid template slug.')
+
+ try {
+ const template = await db.template.findUnique({ where: { slug } })
+ if (!template) return bad('Template not found.', 404)
+
+ const pages = (template.pages ?? []) as unknown as PageData[]
+ if (!pages.length) return bad('Template has no pages.', 422)
+
+ // field keys: declared fields win; fall back to scanning markers
+ const declared = validFields(template.fields)
+ const fieldKeys: string[] = declared ? declared.map((f: TemplateField) => f.key) : extractFieldKeys(pages)
+ if (!fieldKeys.length) return bad('Template declares no fields.', 422)
+
+ const parsed = await readValueRows(req, fieldKeys)
+ if (parsed.error) return bad(parsed.error)
+ const rows: Record<string, string>[] = parsed.rows ?? []
+
+ // render
+ const generated = rows.map((values, i) => ({
+ name: rows.length > 1 ? `${template.name} (${i + 1})` : template.name,
+ width: template.width,
+ height: template.height,
+ pages: fillTemplateFields(pages, values),
+ }))
+
+ // persist mode: create designs for the caller
+ let created: { id: string; name: string }[] | undefined
+ let anonToken: string | null = null
+ if (persist) {
+ const user = await getSessionUser(req)
+ const token = readAnonToken(req) ?? newAnonToken()
+ if (!user) anonToken = token
+ const ownerId = user?.id ?? null
+ const anonKey = user ? null : anonKeyHash(token)
+ const made = await db.design.createManyAndReturn({
+ data: generated.map((g) => ({
+ name: g.name,
+ width: g.width,
+ height: g.height,
+ pages: g.pages as never,
+ source: `template:${template.slug}`,
+ ownerId,
+ anonKey,
+ })),
+ select: { id: true, name: true },
+ })
+ created = made
+ }
+
+ const res = NextResponse.json(
+ { template: template.slug, fields: fieldKeys, generated, ...(created ? { created } : {}) },
+ { status: created ? 201 : 200 },
+ )
+ if (anonToken) setAnonCookie(res, anonToken)
+ return res
+ } catch (error) {
+ return dbErrorResponse(error, 'POST /api/templates/[slug]/fill')
+ }
+}
+
+// v0.12.5 (H7): opt-in request logging wrapper
+export const POST = withLogging('POST /api/templates/[slug]/fill', __canvix_post)
diff --git a/src/app/api/templates/route.ts b/src/app/api/templates/route.ts
index 09233b0..5d28bb5 100644
--- a/src/app/api/templates/route.ts
+++ b/src/app/api/templates/route.ts
@@ -28,6 +28,8 @@ async function __canvix_get(_req: NextRequest) {
height: t.height,
accent: t.accent,
pages: t.pages ?? [],
+ // v0.17 (Wave 2): smart-template fields (null on plain templates)
+ ...(t.fields ? { fields: t.fields } : {}),
})),
{
headers: {
diff --git a/src/app/api/templates/user/route.ts b/src/app/api/templates/user/route.ts
new file mode 100644
index 0000000..c06dd68
--- /dev/null
+++ b/src/app/api/templates/user/route.ts
@@ -0,0 +1,179 @@
+import { NextRequest, NextResponse } from 'next/server'
+import { db } from '@/lib/db'
+import { dbErrorResponse } from '@/lib/db-errors'
+import { isSameOrigin, CSRF_REJECTED } from '@/lib/auth/csrf'
+import { checkRateLimit, rateLimitResponse } from '@/lib/rate-limit'
+import { getSessionUser } from '@/lib/auth/session'
+import { anonKeyHash, readAnonToken, newAnonToken, setAnonCookie } from '@/lib/auth/anon'
+import { withLogging } from '@/lib/observability'
+
+export const runtime = 'nodejs'
+export const maxDuration = 30
+
+// ── v0.17 (Wave 2): user-saved templates ("Save as template") ──
+//
+// GET /api/templates/user → { templates: [...] } (caller's)
+// POST /api/templates/user → create from the open design
+// DELETE /api/templates/user?id=.. → remove one
+//
+// Attribution mirrors designs exactly: owning account OR the anon
+// cookie hash. Pages pass the same structural validation as design
+// saves. Quota: 50 templates per attribution (a template is a full
+// document — the cap keeps Postgres jsonb honest).
+
+const MAX_TEMPLATES = 50
+
+function safeJsonParse(value: string): unknown {
+ try {
+ return JSON.parse(value)
+ } catch {
+ return undefined
+ }
+}
+
+/** array of { id, background?, elements[] } — null when malformed */
+function validPagesDocument(value: unknown): { id: string; background?: unknown; elements: unknown[] }[] | null {
+ if (!Array.isArray(value) || !value.length || value.length > 200) return null
+ const out: { id: string; background?: unknown; elements: unknown[] }[] = []
+ for (const page of value) {
+ if (typeof page !== 'object' || page === null) return null
+ const { id, background, elements } = page as Record<string, unknown>
+ if (typeof id !== 'string' || !id.length) return null
+ if (!Array.isArray(elements) || elements.length > 2000) return null
+ if (elements.some((el) => typeof el !== 'object' || el === null || typeof (el as { type?: unknown }).type !== 'string')) return null
+ out.push(background !== undefined ? { id, background, elements } : { id, elements })
+ }
+ return out
+}
+
+/** list the caller's saved templates */
+async function __canvix_get(req: NextRequest) {
+ try {
+ const user = await getSessionUser(req)
+ let anonKey: string | null = null
+ if (!user) {
+ const token = readAnonToken(req)
+ if (!token) return NextResponse.json({ templates: [] })
+ anonKey = anonKeyHash(token)
+ }
+ const rows = await db.userTemplate.findMany({
+ where: user ? { ownerId: user.id } : { anonKey },
+ orderBy: { createdAt: 'desc' },
+ take: MAX_TEMPLATES,
+ })
+ return NextResponse.json({
+ templates: rows.map((t) => ({
+ id: t.id,
+ name: t.name,
+ category: t.category,
+ width: t.width,
+ height: t.height,
+ accent: t.accent,
+ pages: t.pages ?? [],
+ createdAt: t.createdAt,
+ })),
+ })
+ } catch (error) {
+ return dbErrorResponse(error, 'GET /api/templates/user')
+ }
+}
+
+/** save the current document as a reusable template */
+async function __canvix_post(req: NextRequest) {
+ if (!isSameOrigin(req)) return NextResponse.json(CSRF_REJECTED, { status: 403 })
+ const limit = checkRateLimit(req, 'templates:fill')
+ if (!limit.ok) return rateLimitResponse(limit)
+ try {
+ const body = (await req.json().catch(() => ({}))) as {
+ name?: unknown
+ category?: unknown
+ accent?: unknown
+ pages?: unknown
+ width?: unknown
+ height?: unknown
+ }
+ const name = typeof body.name === 'string' ? body.name.trim().slice(0, 80) : ''
+ const category = typeof body.category === 'string' ? body.category : 'social'
+ const accent = typeof body.accent === 'string' && /^#[0-9a-fA-F]{6}$/.test(body.accent) ? body.accent : '#00C4CC'
+ const width = Number(body.width)
+ const height = Number(body.height)
+ if (!name) return NextResponse.json({ error: 'Give the template a name.' }, { status: 400 })
+ if (!['social', 'presentation', 'print', 'logo', 'thumbnail', 'document'].includes(category)) {
+ return NextResponse.json({ error: 'Unknown category.' }, { status: 400 })
+ }
+ if (!Number.isFinite(width) || !Number.isFinite(height) || width < 40 || height < 40 || width > 8000 || height > 8000) {
+ return NextResponse.json({ error: 'Invalid page size.' }, { status: 400 })
+ }
+
+ // structural validation — same lightweight gate as design saves:
+ // array of { id, background?, elements[] }. Accepts a legacy JSON
+ // string like the designs route does.
+ const rawPages = typeof body.pages === 'string' ? safeJsonParse(body.pages) : body.pages
+ const pages = validPagesDocument(rawPages)
+ if (!pages || !pages.length) {
+ return NextResponse.json({ error: 'The design has no pages to save.' }, { status: 422 })
+ }
+ const quota = JSON.stringify(pages).length
+ if (quota > 4_000_000) {
+ return NextResponse.json({ error: 'Design too large to save as a template.' }, { status: 413 })
+ }
+
+ const user = await getSessionUser(req)
+ const token = readAnonToken(req) ?? newAnonToken()
+ const ownerId = user?.id ?? null
+ const anonKey = user ? null : anonKeyHash(token)
+
+ // quota check (count first — the cap is small and hard)
+ const existing = await db.userTemplate.count({
+ where: user ? { ownerId: user.id } : { anonKey },
+ })
+ if (existing >= MAX_TEMPLATES) {
+ return NextResponse.json(
+ { error: `Template limit reached (${MAX_TEMPLATES}). Delete some templates first.` },
+ { status: 413 },
+ )
+ }
+
+ const saved = await db.userTemplate.create({
+ data: {
+ name,
+ category,
+ width: Math.round(width),
+ height: Math.round(height),
+ accent,
+ pages: pages as never,
+ ownerId,
+ anonKey,
+ },
+ select: { id: true, name: true },
+ })
+ const res = NextResponse.json({ id: saved.id, name: saved.name }, { status: 201 })
+ if (!user) setAnonCookie(res, token)
+ return res
+ } catch (error) {
+ return dbErrorResponse(error, 'POST /api/templates/user')
+ }
+}
+
+/** delete one of the caller's templates */
+async function __canvix_delete(req: NextRequest) {
+ if (!isSameOrigin(req)) return NextResponse.json(CSRF_REJECTED, { status: 403 })
+ try {
+ const id = req.nextUrl.searchParams.get('id') ?? ''
+ if (!id) return NextResponse.json({ error: 'Missing id.' }, { status: 400 })
+ const user = await getSessionUser(req)
+ const token = readAnonToken(req)
+ const anonKey = user ? null : token ? anonKeyHash(token) : null
+ const removed = await db.userTemplate.deleteMany({
+ where: user ? { id, ownerId: user.id } : { id, anonKey: anonKey ?? '__none__' },
+ })
+ if (!removed.count) return NextResponse.json({ error: 'Not found.' }, { status: 404 })
+ return NextResponse.json({ ok: true })
+ } catch (error) {
+ return dbErrorResponse(error, 'DELETE /api/templates/user')
+ }
+}
+
+export const GET = withLogging('GET /api/templates/user', __canvix_get)
+export const POST = withLogging('POST /api/templates/user', __canvix_post)
+export const DELETE = withLogging('DELETE /api/templates/user', __canvix_delete)
diff --git a/src/components/dashboard/Dashboard.tsx b/src/components/dashboard/Dashboard.tsx
index 7745493..4832c86 100644
--- a/src/components/dashboard/Dashboard.tsx
+++ b/src/components/dashboard/Dashboard.tsx
@@ -34,6 +34,11 @@ import {
FolderPlus,
FolderMinus,
Check,
+ Maximize,
+ Smartphone,
+ Monitor,
+ FileSpreadsheet,
+ Loader2,
} from 'lucide-react'
import { useAppStore } from '@/store/app-store'
import { useEditorStore } from '@/store/editor-store'
@@ -46,7 +51,8 @@ import { AuthDialog } from '@/components/auth/AuthDialog'
import { useAuth, adoptAllDesigns, adoptDesign } from '@/lib/auth/client'
import { TEMPLATES } from '@/lib/templates'
import { createPage, TEMPLATE_CATEGORIES, type TemplateRecord } from '@/lib/types'
-import { PRESET_SIZES } from '@/lib/editor-utils'
+import { PRESET_SIZES, PRESET_GROUPS, type SizePreset } from '@/lib/editor-utils'
+import { parseCsv, csvToFieldRows, fillTemplateFields } from '@/lib/templates/fields'
import { cn } from '@/lib/utils'
import {
ApiError,
@@ -99,6 +105,15 @@ const CATEGORY_ICONS: Record<string, typeof Presentation> = {
const PRESET_ICONS = [Instagram, Instagram, Presentation, Printer, BadgeCheck, Video, Square, FileImage]
+// v0.17 (Wave 2): icon per preset group in the “More sizes” browser
+const GROUP_ICONS: Record<string, typeof Instagram> = {
+ social: Smartphone,
+ video: Video,
+ docs: Presentation,
+ print: Printer,
+ web: Monitor,
+}
+
function newBlankPages() {
return [createPage()]
}
@@ -150,6 +165,44 @@ export function Dashboard() {
const [customW, setCustomW] = useState('1080')
const [customH, setCustomH] = useState('1080')
const [creating, setCreating] = useState(false)
+ // v0.17 (Wave 2): “More sizes” browser state
+ const [sizesOpen, setSizesOpen] = useState(false)
+ const [sizeQuery, setSizeQuery] = useState('')
+ // v0.17 (Wave 2): CSV bulk fill for smart templates
+ const [csvTarget, setCsvTarget] = useState<TemplateRecord | null>(null)
+ const [csvText, setCsvText] = useState('')
+ const [csvBusy, setCsvBusy] = useState(false)
+
+ const csvParsed = useMemo(() => {
+ if (!csvTarget?.fields?.length || !csvText.trim()) return null
+ try {
+ return csvToFieldRows(parseCsv(csvText), csvTarget.fields.map((f) => f.key))
+ } catch (err) {
+ return { rows: [], missing: [], error: err instanceof Error ? err.message : 'CSV parse failed' }
+ }
+ }, [csvTarget, csvText])
+
+ const generateCsvDesigns = async () => {
+ if (!csvTarget || !csvParsed?.rows.length) return
+ setCsvBusy(true)
+ try {
+ const res = await fetch(`/api/templates/${encodeURIComponent(csvTarget.slug)}/fill?persist=1`, {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({ rows: csvParsed.rows.slice(0, 100) }),
+ })
+ if (!res.ok) throw new Error('fill failed')
+ const body = (await res.json()) as { created?: { id: string }[] }
+ toast({ title: `Created ${body.created?.length ?? 0} design${(body.created?.length ?? 0) === 1 ? '' : 's'} from “${csvTarget.name}”` })
+ setCsvTarget(null)
+ setCsvText('')
+ await refresh()
+ } catch {
+ toast({ title: 'Bulk fill failed — try fewer rows', variant: 'destructive' })
+ } finally {
+ setCsvBusy(false)
+ }
+ }
const [renameTarget, setRenameTarget] = useState<{ id: string; name: string } | null>(null)
const [renameValue, setRenameValue] = useState('')
const [deleteTarget, setDeleteTarget] = useState<string | null>(null)
@@ -207,6 +260,7 @@ export function Dashboard() {
height: t.height,
accent: t.accent,
pages: t.pages,
+ ...(t.fields ? { fields: t.fields } : {}),
})).filter((t) => category === 'all' || t.category === category),
[category]
)
@@ -248,11 +302,16 @@ export function Dashboard() {
const startFromTemplate = async (t: TemplateRecord) => {
setCreating(true)
try {
+ // v0.17 (Wave 2): smart templates open with their EXAMPLE values —
+ // raw {{markers}} never reach the canvas from the dashboard (the
+ // editor panel offers the guided fill dialog, CSV does bulk).
+ const exampleValues = Object.fromEntries((t.fields ?? []).map((f) => [f.key, f.example]))
+ const pages = t.fields?.length ? fillTemplateFields(t.pages, exampleValues) : t.pages
const record = await createDesign({
name: t.name,
width: t.width,
height: t.height,
- pages: t.pages,
+ pages,
source: `template:${t.slug}`,
folderId: activeFolder,
})
@@ -590,7 +649,7 @@ export function Dashboard() {
<div className="flex items-center justify-between">
<h2 className="text-xl font-bold">Start a new design</h2>
</div>
- <div className="mt-4 grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-8 gap-3">
+ <div className="mt-4 grid grid-cols-2 sm:grid-cols-4 lg:grid-cols-9 gap-3">
{PRESET_SIZES.map((preset, i) => {
const Icon = PRESET_ICONS[i % PRESET_ICONS.length]
return (
@@ -609,6 +668,18 @@ export function Dashboard() {
</button>
)
})}
+ <button
+ onClick={() => { setSizesOpen(true); setSizeQuery('') }}
+ disabled={creating}
+ className="group flex flex-col items-center gap-2 rounded-2xl border border-dashed border-white/20 bg-transparent p-4 hover:border-[#7630D7]/60 hover:bg-[#1C1E28] transition-all disabled:opacity-50"
+ aria-label="Browse all design sizes"
+ >
+ <span className="h-10 w-10 rounded-xl bg-brand-gradient-soft text-[#A78BFA] flex items-center justify-center group-hover:scale-110 transition-transform">
+ <Maximize size={19} />
+ </span>
+ <span className="text-[13px] font-semibold text-center leading-tight">More sizes</span>
+ <span className="text-[11px] text-white/40">60+ presets</span>
+ </button>
</div>
</section>
@@ -665,6 +736,19 @@ export function Dashboard() {
<span className="absolute top-2 right-2 h-6 w-6 rounded-full bg-[#7630D7] text-white flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity">
<Plus size={14} />
</span>
+ {/* v0.17 (Wave 2): smart templates offer CSV bulk fill */}
+ {t.fields?.length ? (
+ <span
+ role="button"
+ tabIndex={0}
+ onClick={(e) => { e.stopPropagation(); setCsvTarget(t); setCsvText('') }}
+ onKeyDown={(e) => { if (e.key === 'Enter' || e.key === ' ') { e.stopPropagation(); setCsvTarget(t); setCsvText('') } }}
+ className="absolute top-2 left-2 h-7 px-2 rounded-full bg-[#02C0CC] text-[#083344] text-[10px] font-bold flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity cursor-pointer"
+ title="Bulk-fill with CSV"
+ >
+ <FileSpreadsheet size={12} /> CSV
+ </span>
+ ) : null}
</div>
<div className="mt-2 text-sm font-medium truncate text-white/85 group-hover:text-[#A78BFA] transition-colors">{t.name}</div>
<div className="text-xs text-white/40">{t.width} × {t.height}</div>
@@ -1155,6 +1239,152 @@ export function Dashboard() {
</DialogContent>
</Dialog>
+ {/* ── v0.17 (Wave 2): full preset browser ── */}
+ <Dialog open={sizesOpen} onOpenChange={setSizesOpen}>
+ <DialogContent className="rounded-[28px] sm:max-w-2xl bg-[#16181D] border-white/10 text-white">
+ <DialogHeader>
+ <DialogTitle>All design sizes</DialogTitle>
+ <DialogDescription className="text-white/55">
+ {PRESET_GROUPS.reduce((n, g) => n + g.presets.length, 0)} presets across five categories — or{' '}
+ <button className="text-[#A78BFA] underline" onClick={() => { setSizesOpen(false); setCustomOpen(true) }}>
+ create a custom size
+ </button>
+ .
+ </DialogDescription>
+ </DialogHeader>
+ <div className="flex items-center gap-2 h-10 rounded-xl bg-white/[0.06] border border-white/10 px-3">
+ <Search size={15} className="text-white/40 shrink-0" />
+ <input
+ value={sizeQuery}
+ onChange={(e) => setSizeQuery(e.target.value)}
+ className="bg-transparent outline-none text-sm text-white w-full placeholder:text-white/35"
+ placeholder="Search sizes — try “story”, “A4”, “logo”…"
+ aria-label="Search design sizes"
+ />
+ </div>
+ <div className="max-h-[52vh] overflow-y-auto cv-scroll pr-1 -mr-1">
+ {PRESET_GROUPS.map((group) => {
+ const q = sizeQuery.trim().toLowerCase()
+ const presets = q
+ ? group.presets.filter((p) => p.name.toLowerCase().includes(q) || p.hint.toLowerCase().includes(q))
+ : group.presets
+ if (!presets.length) return null
+ const Icon = GROUP_ICONS[group.id] ?? Square
+ return (
+ <div key={group.id} className="mb-4 last:mb-0">
+ <h4 className="flex items-center gap-1.5 text-[11px] font-bold text-white/45 uppercase tracking-wide mb-2">
+ <Icon size={12} /> {group.label}
+ </h4>
+ <div className="grid grid-cols-2 sm:grid-cols-3 gap-2">
+ {presets.map((p: SizePreset) => (
+ <button
+ key={group.id + p.name}
+ onClick={() => {
+ setSizesOpen(false)
+ void startBlank(p.width, p.height, p.name)
+ }}
+ disabled={creating}
+ className="flex flex-col items-start gap-0.5 rounded-xl border border-white/10 bg-white/[0.03] px-3 py-2.5 hover:border-[#7630D7]/60 hover:bg-[#7630D7]/10 transition-all text-left disabled:opacity-50"
+ aria-label={`Create ${p.name} (${p.hint})`}
+ >
+ <span className="text-[12px] font-semibold text-white/90 truncate w-full">{p.name}</span>
+ <span className="text-[10px] text-white/40">{p.hint}</span>
+ </button>
+ ))}
+ </div>
+ </div>
+ )
+ })}
+ {sizeQuery.trim() && !PRESET_GROUPS.some((g) => g.presets.some((p) => p.name.toLowerCase().includes(sizeQuery.trim().toLowerCase()))) && (
+ <p className="text-center text-sm text-white/40 py-6">
+ No size matches “{sizeQuery}” —{' '}
+ <button className="text-[#A78BFA] underline" onClick={() => { setSizesOpen(false); setCustomOpen(true) }}>
+ create a custom size
+ </button>
+ </p>
+ )}
+ </div>
+ </DialogContent>
+ </Dialog>
+
+ {/* ── v0.17 (Wave 2): CSV bulk fill for smart templates ── */}
+ <Dialog open={!!csvTarget} onOpenChange={(open) => { if (!open) setCsvTarget(null) }}>
+ <DialogContent className="rounded-[28px] sm:max-w-md bg-[#16181D] border-white/10 text-white">
+ <DialogHeader>
+ <DialogTitle className="flex items-center gap-2">
+ <FileSpreadsheet size={16} className="text-[#02C0CC]" /> Bulk-fill “{csvTarget?.name}”
+ </DialogTitle>
+ <DialogDescription className="text-white/55">
+ Upload a CSV whose header row names the fields — one design is created per data row (up to 100).
+ </DialogDescription>
+ </DialogHeader>
+
+ {csvTarget?.fields?.length ? (
+ <>
+ <div className="rounded-xl border border-white/10 bg-white/[0.03] p-3">
+ <div className="text-[11px] font-bold text-white/45 uppercase tracking-wide mb-1.5">Expected columns</div>
+ <div className="flex gap-1.5 flex-wrap">
+ {csvTarget.fields.map((f) => (
+ <code key={f.key} className="text-[11px] px-2 py-0.5 rounded-md bg-[#02C0CC]/10 border border-[#02C0CC]/25 text-[#7DE9E1]">{f.key}</code>
+ ))}
+ </div>
+ <button
+ className="mt-2 text-[11px] text-[#A78BFA] hover:underline"
+ onClick={() => {
+ const header = csvTarget.fields!.map((f) => f.key).join(',')
+ const sample = csvTarget.fields!.map((f) => f.example.replace(/[,"\n]/g, ' ')).join(',')
+ setCsvText(`${header}\n${sample}\n`)
+ }}
+ >
+ Insert a sample CSV
+ </button>
+ </div>
+
+ <input
+ type="file"
+ accept=".csv,text/csv"
+ className="block w-full text-sm text-white/70 file:mr-3 file:rounded-lg file:border-0 file:bg-[#7630D7] file:px-3 file:py-1.5 file:text-white file:text-xs file:font-semibold cursor-pointer"
+ onChange={async (e) => {
+ const file = e.target.files?.[0]
+ if (file) setCsvText(await file.text())
+ e.target.value = ''
+ }}
+ aria-label="Upload CSV file"
+ />
+ <textarea
+ value={csvText}
+ onChange={(e) => setCsvText(e.target.value)}
+ rows={5}
+ className="w-full rounded-xl bg-white/[0.06] border border-white/10 px-3 py-2 text-[12px] font-mono text-white outline-none focus:border-[#7630D7] placeholder:text-white/30"
+ placeholder={'…or paste CSV here\nname,date\nAda,2026-03-14'}
+ aria-label="CSV content"
+ />
+
+ {csvParsed && 'error' in csvParsed && csvParsed.error ? (
+ <p className="text-[12px] text-red-300">{csvParsed.error}</p>
+ ) : csvParsed ? (
+ <p className="text-[12px] text-white/60">
+ {csvParsed.rows.length} row{csvParsed.rows.length === 1 ? '' : 's'} detected
+ {csvParsed.missing.length > 0 && (
+ <span className="text-amber-300"> · missing columns: {csvParsed.missing.join(', ')}</span>
+ )}
+ </p>
+ ) : null}
+ </>
+ ) : null}
+
+ <DialogFooter>
+ <Button variant="outline" className="border-white/15 bg-transparent text-white hover:bg-white/10 hover:text-white" onClick={() => setCsvTarget(null)}>
+ Cancel
+ </Button>
+ <Button className="btn-cv" disabled={!csvParsed?.rows.length || csvBusy} onClick={() => void generateCsvDesigns()}>
+ {csvBusy ? <Loader2 size={14} className="animate-spin" /> : <FileSpreadsheet size={14} />}
+ Generate {Math.min(csvParsed?.rows.length ?? 0, 100)} design{Math.min(csvParsed?.rows.length ?? 0, 100) === 1 ? '' : 's'}
+ </Button>
+ </DialogFooter>
+ </DialogContent>
+ </Dialog>
+
{/* ── Rename dialog ── */}
<Dialog open={!!renameTarget} onOpenChange={(open) => !open && setRenameTarget(null)}>
<DialogContent className="rounded-[28px] sm:max-w-sm bg-[#16181D] border-white/10 text-white">
diff --git a/src/components/editor/Editor.tsx b/src/components/editor/Editor.tsx
index 2012714..17e2620 100644
--- a/src/components/editor/Editor.tsx
+++ b/src/components/editor/Editor.tsx
@@ -35,6 +35,7 @@ import { Button } from '@/components/ui/button'
import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@/components/ui/dialog'
import { toast } from '@/hooks/use-toast'
import type { ImageElement, PageData } from '@/lib/types'
+import { ensureDocumentFonts } from '@/lib/fonts/loader'
const CanvasStage = dynamic(() => import('./canvas/CanvasStage'), { ssr: false })
@@ -131,6 +132,14 @@ export default function Editor() {
}
}, [])
+ // ── v0.17 (Wave 2): on-demand webfonts ─────────────────────
+ // The catalog is 369 families but only the historic 63 preload with
+ // first paint. Scan the open document (and any later mutation —
+ // template applies, pastes) so every used family renders correctly.
+ useEffect(() => {
+ ensureDocumentFonts(cropPages)
+ }, [cropPages])
+
// ── autosave ───────────────────────────────────────────────
// v0.9: view-only designs (owned by another account) never autosave —
// the API would refuse with 403 anyway; skipping keeps the console
diff --git a/src/components/editor/SaveAsTemplateDialog.tsx b/src/components/editor/SaveAsTemplateDialog.tsx
new file mode 100644
index 0000000..1a26025
--- /dev/null
+++ b/src/components/editor/SaveAsTemplateDialog.tsx
@@ -0,0 +1,138 @@
+'use client'
+
+import { useState } from 'react'
+import { BookMarked, Loader2 } from 'lucide-react'
+import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter } from '@/components/ui/dialog'
+import { Button } from '@/components/ui/button'
+import { Input } from '@/components/ui/input'
+import { useEditorStore } from '@/store/editor-store'
+import { toast } from '@/hooks/use-toast'
+import { TEMPLATE_CATEGORIES } from '@/lib/types'
+import { cn } from '@/lib/utils'
+
+/**
+ * v0.17 (Wave 2): "Save as template" — persist the open document as a
+ * reusable template (server-side, attributed like designs: account or
+ * anon cookie). Appears in the editor File menu.
+ *
+ * The form is a separate inner component: Radix unmounts DialogContent
+ * on close, so every open mounts fresh and prefills from the store at
+ * initialisation (no effect-setState cascade).
+ */
+export function SaveAsTemplateDialog({ open, onOpenChange }: { open: boolean; onOpenChange: (open: boolean) => void }) {
+ return (
+ <Dialog open={open} onOpenChange={onOpenChange}>
+ {open ? <SaveAsTemplateForm onOpenChange={onOpenChange} /> : null}
+ </Dialog>
+ )
+}
+
+function SaveAsTemplateForm({ onOpenChange }: { onOpenChange: (open: boolean) => void }) {
+ const state0 = useEditorStore.getState()
+ const [name, setName] = useState(state0.designName || 'My template')
+ const [category, setCategory] = useState('social')
+ const [saving, setSaving] = useState(false)
+ const sizeLabel = `${state0.width} × ${state0.height} px · ${state0.pages.length} page${state0.pages.length > 1 ? 's' : ''}`
+ // derive an accent from the first strong fill on the current page
+ const strongFill = state0.pages[state0.currentPage]?.elements.find(
+ (e) => typeof (e as { fill?: string }).fill === 'string' && !['#FFFFFF', '#ffffff', '#00000000', 'transparent'].includes((e as { fill: string }).fill)
+ ) as { fill?: string } | undefined
+ const [accent, setAccent] = useState(/^#[0-9a-fA-F]{6}$/.test(strongFill?.fill ?? '') ? (strongFill?.fill as string) : '#7630D7')
+
+ const save = async () => {
+ const state = useEditorStore.getState()
+ if (!state.pages.some((p) => p.elements.length)) {
+ toast({ title: 'Nothing to save — the design is empty', variant: 'destructive' })
+ return
+ }
+ setSaving(true)
+ try {
+ const res = await fetch('/api/templates/user', {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({
+ name: name.trim() || 'My template',
+ category,
+ accent,
+ width: state.width,
+ height: state.height,
+ pages: state.pages,
+ }),
+ })
+ if (!res.ok) {
+ const body = (await res.json().catch(() => ({}))) as { error?: string }
+ throw new Error(body.error ?? 'Save failed')
+ }
+ toast({ title: `Saved “${name.trim() || 'My template'}” as a template`, description: 'Find it under Templates → Your templates.' })
+ onOpenChange(false)
+ } catch (err) {
+ toast({ title: err instanceof Error ? err.message : 'Save failed', variant: 'destructive' })
+ } finally {
+ setSaving(false)
+ }
+ }
+
+ return (
+ <DialogContent className="rounded-[28px] sm:max-w-sm bg-[#16181D] border-white/10 text-white">
+ <DialogHeader>
+ <DialogTitle className="flex items-center gap-2">
+ <BookMarked size={16} className="text-[#02C0CC]" /> Save as template
+ </DialogTitle>
+ <DialogDescription className="text-white/55">
+ Your design becomes a private starter template — reuse it anytime from the Templates panel.
+ </DialogDescription>
+ </DialogHeader>
+
+ <div className="space-y-3">
+ <div>
+ <label className="text-sm font-medium" htmlFor="tpl-name">Template name</label>
+ <Input
+ id="tpl-name"
+ value={name}
+ onChange={(e) => setName(e.target.value)}
+ maxLength={80}
+ className="mt-1 bg-white/[0.06] border-white/10 text-white [color-scheme:dark]"
+ placeholder="My template"
+ />
+ </div>
+ <div>
+ <span className="text-sm font-medium">Category</span>
+ <div className="flex gap-1.5 flex-wrap mt-1.5">
+ {TEMPLATE_CATEGORIES.map((c) => (
+ <button
+ key={c.id}
+ onClick={() => setCategory(c.id)}
+ className={cn(
+ 'rounded-full px-3 py-1 text-xs font-medium border transition-colors',
+ category === c.id ? 'bg-[#7630D7] text-white border-transparent' : 'border-white/12 text-white/60 hover:text-white'
+ )}
+ >
+ {c.label}
+ </button>
+ ))}
+ </div>
+ </div>
+ <div className="flex items-center gap-2">
+ <span className="text-sm font-medium">Card colour</span>
+ <input
+ type="color"
+ value={accent}
+ onChange={(e) => setAccent(e.target.value)}
+ className="h-8 w-12 rounded-lg border border-white/15 cursor-pointer bg-transparent"
+ aria-label="Template card colour"
+ />
+ <span className="text-xs text-white/40">{sizeLabel}</span>
+ </div>
+ </div>
+
+ <DialogFooter>
+ <Button variant="outline" className="border-white/15 bg-transparent text-white hover:bg-white/10 hover:text-white" onClick={() => onOpenChange(false)}>
+ Cancel
+ </Button>
+ <Button className="btn-cv" onClick={() => void save()} disabled={saving || !name.trim()}>
+ {saving ? <Loader2 size={14} className="animate-spin" /> : <BookMarked size={14} />} Save template
+ </Button>
+ </DialogFooter>
+ </DialogContent>
+ )
+}
diff --git a/src/components/editor/TopBar.tsx b/src/components/editor/TopBar.tsx
index 6b24c1b..7617ce7 100644
--- a/src/components/editor/TopBar.tsx
+++ b/src/components/editor/TopBar.tsx
@@ -1,7 +1,7 @@
'use client'
import { useState } from 'react'
-import { Home, MessageCircle, Play, Share2, ChevronDown, Undo2, Redo2, Download, Github, Cloud, Check, Loader2, Ruler, History, Languages, Wand2, Zap, MousePointer2, Brush, Eye } from 'lucide-react'
+import { Home, MessageCircle, Play, Share2, ChevronDown, Undo2, Redo2, Download, Github, Cloud, Check, Loader2, Ruler, History, Languages, Wand2, Zap, MousePointer2, Brush, Eye, BookMarked } from 'lucide-react'
import { useAppStore } from '@/store/app-store'
import { useEditorStore } from '@/store/editor-store'
import { interactionMode } from '@/lib/editor-utils'
@@ -12,6 +12,7 @@ import { ExportDialog } from './ExportDialog'
import { ResizeDialog } from './ResizeDialog'
import { ShareDialog } from './ShareDialog'
import { VersionHistoryDialog } from './VersionHistoryDialog'
+import { SaveAsTemplateDialog } from './SaveAsTemplateDialog'
import { TranslateDialog } from './TranslateDialog'
import { MagicLayersDialog } from './MagicLayersDialog'
import { PresenceAvatars } from './PresenceAvatars'
@@ -55,6 +56,7 @@ export function TopBar({ onSave, onShortcuts }: { onSave: () => Promise<void>; o
const [shareOpen, setShareOpen] = useState(false)
const [versionsOpen, setVersionsOpen] = useState(false)
const [translateOpen, setTranslateOpen] = useState(false)
+ const [saveTplOpen, setSaveTplOpen] = useState(false)
const [magicLayersOpen, setMagicLayersOpen] = useState(false)
const item = 'h-10 px-3 rounded-xl text-white/95 hover:bg-white/15 transition-colors text-sm font-semibold flex items-center gap-1.5 select-none'
@@ -109,6 +111,10 @@ export function TopBar({ onSave, onShortcuts }: { onSave: () => Promise<void>; o
<DropdownMenuItem className="gap-2" onClick={() => setVersionsOpen(true)}>
<History size={15} /> Version history
</DropdownMenuItem>
+ {/* v0.17 (Wave 2): save the open design as a reusable template */}
+ <DropdownMenuItem className="gap-2" onClick={() => setSaveTplOpen(true)}>
+ <BookMarked size={15} /> Save as template…
+ </DropdownMenuItem>
<DropdownMenuSeparator className="bg-white/10" />
<DropdownMenuItem className="gap-2" onClick={() => setExportOpen(true)}>
<Download size={15} /> Download
@@ -224,6 +230,7 @@ export function TopBar({ onSave, onShortcuts }: { onSave: () => Promise<void>; o
<ResizeDialog open={resizeOpen} onOpenChange={setResizeOpen} />
<ShareDialog open={shareOpen} onOpenChange={setShareOpen} />
<VersionHistoryDialog open={versionsOpen} onOpenChange={setVersionsOpen} />
+ <SaveAsTemplateDialog open={saveTplOpen} onOpenChange={setSaveTplOpen} />
<TranslateDialog open={translateOpen} onOpenChange={setTranslateOpen} />
<MagicLayersDialog open={magicLayersOpen} onOpenChange={setMagicLayersOpen} />
</header>
diff --git a/src/components/editor/add-element.ts b/src/components/editor/add-element.ts
index f24c9e8..ba9b923 100644
--- a/src/components/editor/add-element.ts
+++ b/src/components/editor/add-element.ts
@@ -69,6 +69,42 @@ export function addGraphic(graphicId: string, fill?: string) {
addCentered(createShapeElement('path', { width: 300, height: 300, pathData: def.path, ...(fill ? { fill } : {}) }))
}
+/**
+ * v0.17 (Wave 2): insert an offline-pack icon as a stroke path element.
+ * Icon art is authored in the 100×100 box (see lib/assets/icon-pack.ts)
+ * — lucide stroke-weight 2 at 24px scales to ≈ 8.3 in that box, and the
+ * canvas renderer normalises strokeWidth by width/100, so the icon keeps
+ * its stroke at any size. Recolourable from the properties bar.
+ */
+export function addIconPath(d: string, stroke: string) {
+ addCentered(
+ createShapeElement('path', {
+ width: 240,
+ height: 240,
+ pathData: d,
+ fill: 'transparent',
+ stroke,
+ strokeWidth: 8.3,
+ })
+ )
+}
+
+/**
+ * v0.17 (Wave 2): insert an online Iconify icon (or any small SVG) as an
+ * image element from a data URL — full colour fidelity for multi-colour
+ * icon sets, same export path as brand logos.
+ */
+export function addSvgAsImage(svg: string) {
+ const url = `data:image/svg+xml;base64,${typeof btoa === 'function' ? btoa(unescape(encodeURIComponent(svg))) : Buffer.from(svg, 'utf8').toString('base64')}`
+ addCentered(createImageElement(url, 240, 240, {}))
+}
+
+/** v0.17 (Wave 2): insert an illustration-pack SVG on the canvas. */
+export function addIllustration(svg: string) {
+ const url = `data:image/svg+xml;base64,${typeof btoa === 'function' ? btoa(unescape(encodeURIComponent(svg))) : Buffer.from(svg, 'utf8').toString('base64')}`
+ addCentered(createImageElement(url, 420, 420, {}))
+}
+
export function addLine(variant: 'solid' | 'dashed' | 'arrow' | 'arrowBoth') {
const state = useEditorStore.getState()
const width = Math.min(420, state.width * 0.6)
diff --git a/src/components/editor/apps/IconsApp.tsx b/src/components/editor/apps/IconsApp.tsx
index 6cb6a6f..0d69e37 100644
--- a/src/components/editor/apps/IconsApp.tsx
+++ b/src/components/editor/apps/IconsApp.tsx
@@ -1,18 +1,87 @@
'use client'
-import { useState } from 'react'
-import { Shapes, Search } from 'lucide-react'
-import { GRAPHICS } from '@/lib/editor-utils'
-import { addGraphic } from '../add-element'
+import { useEffect, useMemo, useRef, useState } from 'react'
+import { Shapes, Search, Globe, HardDriveDownload, Loader2 } from 'lucide-react'
+import { searchIcons, type IconDef } from '@/lib/assets/icon-pack'
+import { addIconPath, addSvgAsImage } from '../add-element'
import { AppHeader, type AppPanelProps } from './registry'
import { cn } from '@/lib/utils'
-const ICON_IDS = ['bolt', 'check-circle', 'arrow', 'heart', 'sparkle', 'moon', 'cloud', 'badge', 'speech', 'diamond', 'frame', 'star']
+const PAGE_SIZE = 48
+/**
+ * v0.17 (Wave 2): the icon library. Two sources:
+ * · Offline — 562 stroke icons bundled with the app (work without
+ * network); inserted as editable vector paths.
+ * · Online — the Iconify universe (200k+ icons) via /api/icons,
+ * inserted as image elements with full colour fidelity.
+ */
export function IconsApp({ onClose }: AppPanelProps) {
const [query, setQuery] = useState('')
- const icons = GRAPHICS.filter((g) => ICON_IDS.includes(g.id) || (query && g.name.toLowerCase().includes(query.toLowerCase())))
const [fill, setFill] = useState('#7630D7')
+ const [source, setSource] = useState<'offline' | 'online'>('offline')
+ const [shown, setShown] = useState(PAGE_SIZE)
+ const [online, setOnline] = useState<string[]>([])
+ const [onlineLoading, setOnlineLoading] = useState(false)
+ const [onlineError, setOnlineError] = useState<string | null>(null)
+ const abortRef = useRef<AbortController | null>(null)
+
+ const offlineIcons = useMemo(() => searchIcons(query, 400), [query])
+
+ // debounced online search
+ const searchTimer = useRef<ReturnType<typeof setTimeout> | null>(null)
+ const onQueryChange = (value: string) => {
+ setQuery(value)
+ setShown(PAGE_SIZE)
+ if (source !== 'online') return
+ if (searchTimer.current) clearTimeout(searchTimer.current)
+ searchTimer.current = setTimeout(() => void searchOnline(value), 500)
+ }
+
+ const searchOnline = async (value: string) => {
+ abortRef.current?.abort()
+ const ctrl = new AbortController()
+ abortRef.current = ctrl
+ if (!value.trim()) {
+ setOnline([])
+ setOnlineError(null)
+ return
+ }
+ setOnlineLoading(true)
+ setOnlineError(null)
+ try {
+ const res = await fetch(`/api/icons?q=${encodeURIComponent(value.trim())}`, { signal: ctrl.signal })
+ if (!res.ok) throw new Error('search failed')
+ const body = (await res.json()) as { icons?: string[] }
+ setOnline(body.icons ?? [])
+ } catch (err) {
+ if ((err as Error).name === 'AbortError') return
+ setOnlineError('Online search unavailable — the offline pack still works.')
+ setOnline([])
+ } finally {
+ if (abortRef.current === ctrl) setOnlineLoading(false)
+ }
+ }
+
+ const insertOnline = async (ref: string) => {
+ try {
+ const res = await fetch(`/api/icons?svg=${encodeURIComponent(ref)}&color=${encodeURIComponent(fill)}`)
+ if (!res.ok) throw new Error('fetch failed')
+ const svg = await res.text()
+ addSvgAsImage(svg)
+ } catch {
+ // network hiccup — the proxy caches hard, retry rarely helps
+ setOnlineError('Could not load that icon — try again.')
+ }
+ }
+
+ const switchSource = (next: 'offline' | 'online') => {
+ setSource(next)
+ setShown(PAGE_SIZE)
+ if (next === 'online' && query.trim() && !online.length && !onlineLoading) {
+ void searchOnline(query)
+ }
+ }
return (
<div>
@@ -22,11 +91,12 @@ export function IconsApp({ onClose }: AppPanelProps) {
<Search size={12} className="text-white/40 shrink-0" />
<input
value={query}
- onChange={(e) => setQuery(e.target.value)}
+ onChange={(e) => onQueryChange(e.target.value)}
className="bg-transparent outline-none text-[12px] text-white w-full placeholder:text-white/35"
- placeholder="Search icons"
+ placeholder={source === 'offline' ? 'Search 562 icons…' : 'Search all of Iconify…'}
aria-label="Search icons"
/>
+ {onlineLoading && <Loader2 size={12} className="text-white/40 animate-spin shrink-0" />}
</div>
<input
type="color"
@@ -37,27 +107,132 @@ export function IconsApp({ onClose }: AppPanelProps) {
aria-label="Icon colour"
/>
</div>
- <div className="grid grid-cols-4 gap-2">
- {icons.map((g) => (
- <button
- key={g.id}
- onClick={() => {
- addGraphic(g.id, fill)
- }}
- className={cn(
- 'flex flex-col items-center gap-1.5 rounded-xl border border-white/10 bg-white/[0.03] p-3 h-[80px]',
- 'hover:border-[#7630D7] hover:bg-[#7630D7]/10 transition-all'
- )}
- aria-label={`Add icon ${g.name}`}
- >
- <svg viewBox="0 0 100 100" className="h-7 w-7" fill={fill} aria-hidden="true">
- <path d={g.path} fillRule="evenodd" />
- </svg>
- <span className="text-[10px] text-white/55">{g.name}</span>
- </button>
- ))}
+
+ {/* source toggle */}
+ <div className="flex gap-1.5 mb-3">
+ <button
+ onClick={() => switchSource('offline')}
+ className={cn(
+ 'flex-1 h-8 rounded-lg text-[11px] font-semibold border transition-colors flex items-center justify-center gap-1.5',
+ source === 'offline'
+ ? 'bg-[#7630D7] text-white border-transparent'
+ : 'border-white/12 text-white/60 hover:text-white'
+ )}
+ aria-pressed={source === 'offline'}
+ >
+ <HardDriveDownload size={12} /> Offline · 562
+ </button>
+ <button
+ onClick={() => switchSource('online')}
+ className={cn(
+ 'flex-1 h-8 rounded-lg text-[11px] font-semibold border transition-colors flex items-center justify-center gap-1.5',
+ source === 'online'
+ ? 'bg-[#7630D7] text-white border-transparent'
+ : 'border-white/12 text-white/60 hover:text-white'
+ )}
+ aria-pressed={source === 'online'}
+ >
+ <Globe size={12} /> Online · Iconify
+ </button>
</div>
- {!icons.length && <p className="text-center text-[12px] text-white/40 py-6">No icons match “{query}”</p>}
+
+ {source === 'offline' ? (
+ <>
+ <div className="grid grid-cols-4 gap-2">
+ {offlineIcons.slice(0, shown).map((icon: IconDef) => (
+ <button
+ key={icon.id}
+ onClick={() => addIconPath(icon.d, fill)}
+ className={cn(
+ 'flex flex-col items-center gap-1.5 rounded-xl border border-white/10 bg-white/[0.03] p-3 h-[80px]',
+ 'hover:border-[#7630D7] hover:bg-[#7630D7]/10 transition-all'
+ )}
+ aria-label={`Add icon ${icon.name}`}
+ title={`${icon.name} — vector, recolourable`}
+ >
+ <svg viewBox="0 0 100 100" className="h-7 w-7" fill="none" stroke={fill} strokeWidth={6} strokeLinecap="round" strokeLinejoin="round" aria-hidden="true">
+ <path d={icon.d} />
+ </svg>
+ <span className="text-[10px] text-white/55 truncate w-full text-center">{icon.name}</span>
+ </button>
+ ))}
+ </div>
+ {shown < offlineIcons.length && (
+ <button
+ onClick={() => setShown((s) => s + PAGE_SIZE * 2)}
+ className="w-full h-9 mt-3 rounded-xl border border-white/12 hover:bg-white/[0.06] text-white/70 text-[12px] font-semibold transition-colors"
+ >
+ Show more ({offlineIcons.length - shown} left)
+ </button>
+ )}
+ {!offlineIcons.length && (
+ <p className="text-center text-[12px] text-white/40 py-6">
+ No icons match “{query}” — try the <button className="text-[#02C0CC] underline" onClick={() => switchSource('online')}>online search</button>
+ </p>
+ )}
+ </>
+ ) : (
+ <>
+ {onlineError && <p className="text-[11px] text-amber-300/80 mb-2">{onlineError}</p>}
+ {!query.trim() ? (
+ <p className="text-center text-[12px] text-white/40 py-6">
+ Type to search the full Iconify universe — 200,000+ icons from 150+ sets (Tabler, Material, Phosphor…).
+ </p>
+ ) : (
+ <div className="grid grid-cols-4 gap-2">
+ {online.map((ref) => (
+ <button
+ key={ref}
+ onClick={() => void insertOnline(ref)}
+ className={cn(
+ 'flex flex-col items-center gap-1.5 rounded-xl border border-white/10 bg-white/[0.03] p-3 h-[80px]',
+ 'hover:border-[#7630D7] hover:bg-[#7630D7]/10 transition-all'
+ )}
+ aria-label={`Add icon ${ref}`}
+ title={`${ref} — image insert`}
+ >
+ <IconThumb icon={ref} color={fill} />
+ <span className="text-[10px] text-white/55 truncate w-full text-center">{ref.split(':')[1]}</span>
+ </button>
+ ))}
+ </div>
+ )}
+ {!onlineLoading && query.trim() && !online.length && !onlineError && (
+ <p className="text-center text-[12px] text-white/40 py-6">No icons match “{query}”</p>
+ )}
+ </>
+ )}
</div>
)
}
+
+/** lazy thumbnail: fetch the svg when the tile mounts / inputs change */
+function IconThumb({ icon, color }: { icon: string; color: string }) {
+ const [svg, setSvg] = useState<string | null>(null)
+ const [failed, setFailed] = useState(false)
+
+ useEffect(() => {
+ let cancelled = false
+ let latest = false
+ void (async () => {
+ // reset synchronously via the render key below; states flip when
+ // the fetch settles (or fails) — never a cascading sync setState
+ try {
+ const res = await fetch(`/api/icons?svg=${encodeURIComponent(icon)}&color=${encodeURIComponent(color)}`)
+ if (cancelled) return
+ if (res.ok) setSvg(await res.text())
+ else setFailed(true)
+ } catch {
+ if (!cancelled) setFailed(true)
+ }
+ })()
+ return () => {
+ cancelled = true
+ latest = true
+ }
+ }, [icon, color])
+
+ if (svg) return <div className="h-7 w-7 [&>svg]:h-full [&>svg]:w-full" dangerouslySetInnerHTML={{ __html: svg }} aria-hidden="true" />
+ if (failed) return <div className="h-7 w-7 rounded bg-white/[0.06] flex items-center justify-center text-[9px] text-white/30">n/a</div>
+ return <div className="h-7 w-7 rounded bg-white/[0.06] animate-pulse" />
+}
diff --git a/src/components/editor/apps/IllustrationsApp.tsx b/src/components/editor/apps/IllustrationsApp.tsx
new file mode 100644
index 0000000..df6991c
--- /dev/null
+++ b/src/components/editor/apps/IllustrationsApp.tsx
@@ -0,0 +1,83 @@
+'use client'
+
+import { useMemo, useState } from 'react'
+import { ImageIcon, Search } from 'lucide-react'
+import { ILLUSTRATIONS, ILLUSTRATION_PACKS, type IllustrationPack } from '@/lib/assets/illustrations'
+import { addIllustration } from '../add-element'
+import { AppHeader, type AppPanelProps } from './registry'
+import { cn } from '@/lib/utils'
+
+/**
+ * v0.17 (Wave 2): the illustration library — 48 original flat-art
+ * pieces in six packs (business, people, nature, tech, abstract,
+ * festive), bundled offline. Inserted as SVG image elements.
+ */
+export function IllustrationsApp({ onClose }: AppPanelProps) {
+ const [query, setQuery] = useState('')
+ const [pack, setPack] = useState<IllustrationPack | 'all'>('all')
+
+ const list = useMemo(() => {
+ const q = query.trim().toLowerCase()
+ return ILLUSTRATIONS.filter(
+ (i) =>
+ (pack === 'all' || i.pack === pack) &&
+ (!q || i.name.toLowerCase().includes(q) || i.tags.some((t) => t.includes(q)))
+ )
+ }, [query, pack])
+
+ return (
+ <div>
+ <AppHeader icon={ImageIcon} title="Illustrations" onClose={onClose} />
+ <div className="flex items-center gap-2 h-9 rounded-lg bg-white/[0.06] border border-white/10 px-2.5 mb-3">
+ <Search size={12} className="text-white/40 shrink-0" />
+ <input
+ value={query}
+ onChange={(e) => setQuery(e.target.value)}
+ className="bg-transparent outline-none text-[12px] text-white w-full placeholder:text-white/35"
+ placeholder="Search illustrations"
+ aria-label="Search illustrations"
+ />
+ </div>
+
+ {/* pack chips */}
+ <div className="cv-tabscroll flex gap-1.5 overflow-x-auto pb-2 mb-1">
+ {[{ id: 'all' as const, label: 'All' }, ...ILLUSTRATION_PACKS].map((p) => (
+ <button
+ key={p.id}
+ onClick={() => setPack(p.id)}
+ className={cn(
+ 'shrink-0 whitespace-nowrap rounded-full px-3 py-1 text-xs font-medium border transition-colors',
+ pack === p.id ? 'bg-[#7630D7] text-white border-transparent' : 'border-white/12 text-white/60 hover:border-white/30 hover:text-white'
+ )}
+ >
+ {p.label}
+ </button>
+ ))}
+ </div>
+
+ <div className="grid grid-cols-2 gap-2">
+ {list.map((i) => (
+ <button
+ key={i.id}
+ onClick={() => addIllustration(i.svg)}
+ className={cn(
+ 'flex flex-col items-center gap-1.5 rounded-xl border border-white/10 bg-white/[0.03] p-2.5',
+ 'hover:border-[#7630D7] hover:bg-[#7630D7]/10 transition-all'
+ )}
+ aria-label={`Add illustration ${i.name}`}
+ title={`${i.name} · ${i.pack} pack`}
+ >
+ <div
+ className="w-full aspect-square rounded-lg bg-[#0F1015] flex items-center justify-center [&>svg]:max-w-full [&>svg]:max-h-full"
+ dangerouslySetInnerHTML={{ __html: i.svg }}
+ aria-hidden="true"
+ />
+ <span className="text-[10px] text-white/55 truncate w-full text-center">{i.name}</span>
+ </button>
+ ))}
+ </div>
+ {!list.length && <p className="text-center text-[12px] text-white/40 py-6">No illustrations match “{query}”</p>}
+ <p className="mt-3 text-[10px] text-white/30 text-center">48 original pieces · works offline</p>
+ </div>
+ )
+}
diff --git a/src/components/editor/apps/registry.tsx b/src/components/editor/apps/registry.tsx
index 259ce63..e324b80 100644
--- a/src/components/editor/apps/registry.tsx
+++ b/src/components/editor/apps/registry.tsx
@@ -27,6 +27,7 @@ export interface AppPanelProps {
import { ChartsApp } from './ChartsApp'
import { QRApp } from './QRApp'
import { IconsApp } from './IconsApp'
+import { IllustrationsApp } from './IllustrationsApp'
import { PaletteApp } from './PaletteApp'
import { LoremApp } from './LoremApp'
import { StickersApp } from './StickersApp'
@@ -41,7 +42,8 @@ export const CANVIX_APPS: CanvixApp[] = [
{ id: 'ai-image', name: 'AI image generator', desc: 'Turn a prompt into a design-ready image', icon: ImageIcon, color: '#02C0CC', content: AIImageApp },
{ id: 'charts', name: 'Charts', desc: 'Bar, line & donut charts as editable shapes', icon: BarChart3, color: '#7630D7', content: ChartsApp },
{ id: 'qr', name: 'QR generator', desc: 'Turn any link or text into a QR code', icon: QrCode, color: '#3B82F6', content: QRApp },
- { id: 'icons', name: 'Icons', desc: 'Line & solid icon shapes for any design', icon: Shapes, color: '#02C0CC', content: IconsApp },
+ { id: 'icons', name: 'Icons', desc: '562 offline icons + the Iconify universe online', icon: Shapes, color: '#02C0CC', content: IconsApp },
+ { id: 'illustrations', name: 'Illustrations', desc: 'Original flat-art pieces in six packs', icon: ImageIcon, color: '#34C77B', content: IllustrationsApp },
{ id: 'palette', name: 'Colour palette', desc: 'Generate harmonious palettes on canvas', icon: Palette, color: '#FF5C8A', content: PaletteApp },
{ id: 'lorem', name: 'Placeholder text', desc: 'Lorem ipsum & real-feel filler copy', icon: Type, color: '#FFD166', content: LoremApp },
{ id: 'stickers', name: 'Stickers', desc: 'Emoji stickers & reactions', icon: Smile, color: '#F97316', content: StickersApp },
diff --git a/src/components/editor/canvas/CanvasStage.tsx b/src/components/editor/canvas/CanvasStage.tsx
index 07a7ce1..c5186e8 100644
--- a/src/components/editor/canvas/CanvasStage.tsx
+++ b/src/components/editor/canvas/CanvasStage.tsx
@@ -73,6 +73,14 @@ export default function CanvasStage() {
const [containerSize, setContainerSize] = useState({ w: 0, h: 0 })
const [pan, setPan] = useState({ x: 0, y: 0 })
const [guides, setGuides] = useState<GuideLine[]>([])
+
+ // v0.17 (Wave 2): on-demand webfonts — Konva doesn't redraw when a
+ // webfont settles, so the loader broadcasts and we repaint the stage.
+ useEffect(() => {
+ const onFonts = () => stageRef.current?.batchDraw()
+ window.addEventListener('canvix:fonts-loaded', onFonts)
+ return () => window.removeEventListener('canvix:fonts-loaded', onFonts)
+ }, [])
/** v0.7: mirror of `guides` for cheap equality checks during drag */
const guidesRef = useRef<GuideLine[]>([])
const [editingTextId, setEditingTextId] = useState<string | null>(null)
diff --git a/src/components/editor/panels/BrandPanel.tsx b/src/components/editor/panels/BrandPanel.tsx
index 3c5a2a6..ccf4e6c 100644
--- a/src/components/editor/panels/BrandPanel.tsx
+++ b/src/components/editor/panels/BrandPanel.tsx
@@ -1,7 +1,7 @@
'use client'
-import { useRef, useState } from 'react'
-import { BookMarked, Wand2, Check, Plus, Palette, ImagePlus, Trash2, Layers, Type } from 'lucide-react'
+import { useCallback, useEffect, useRef, useState } from 'react'
+import { BookMarked, Wand2, Check, Plus, Palette, ImagePlus, Trash2, Layers, Type, CloudOff, Cloud } from 'lucide-react'
import { useEditorStore, selectedElements } from '@/store/editor-store'
import { PanelShell } from './panel-shell'
import { DEFAULT_BRAND, type BrandKit, type AnyElement } from '@/lib/types'
@@ -12,6 +12,13 @@ import { cn } from '@/lib/utils'
const BRAND_KEY = 'canvix:brandkit'
+/** v0.17 (Wave 2): a server-side kit row (GET /api/brand-kits) */
+interface ServerBrandKit extends BrandKit {
+ id: string
+ name: string
+ updatedAt?: string
+}
+
/** colour distance for "apply brand to page" nearest-colour mapping */
function colorDistance(a: string, b: string): number {
const hex = (c: string) => {
@@ -24,7 +31,10 @@ function colorDistance(a: string, b: string): number {
return (r1 - r2) ** 2 + (g1 - g2) ** 2 + (b1 - b2) ** 2
}
-/** Canva Brand panel — colors, palettes, fonts, logos + apply-brand-style, persisted to localStorage. */
+/** Canva Brand panel — colors, palettes, fonts, logos + apply-brand-style.
+ * v0.17 (Wave 2): kits live SERVER-SIDE (account or anon attribution,
+ * following the browser across devices); localStorage stays as the
+ * offline fallback and write-behind cache. */
export function BrandPanel() {
const state = useEditorStore()
const brand = state.brand
@@ -42,10 +52,81 @@ export function BrandPanel() {
return brand ?? DEFAULT_BRAND
})
+ // ── v0.17 (Wave 2): server-side kit state ──
+ const [kits, setKits] = useState<ServerBrandKit[]>([])
+ const [activeKitId, setActiveKitId] = useState<string | null>(null)
+ const [synced, setSynced] = useState(true)
+ const [loaded, setLoaded] = useState(false)
+
+ // load kits on mount — server wins when it has any
+ useEffect(() => {
+ fetch('/api/brand-kits', { cache: 'no-store' })
+ .then((r) => (r.ok ? r.json() : { kits: [] }))
+ .then((b: { kits?: ServerBrandKit[] }) => {
+ const serverKits = b.kits ?? []
+ setKits(serverKits)
+ if (serverKits.length) {
+ const newest = serverKits[0]
+ setActiveKitId(newest.id)
+ const merged = { ...DEFAULT_BRAND, ...newest }
+ setLocal(merged)
+ useEditorStore.getState().setBrand(merged)
+ }
+ })
+ .catch(() => { /* offline — localStorage kit stays active */ })
+ .finally(() => setLoaded(true))
+ }, [])
+
+ // debounced server sync for the active kit
+ const syncTimer = useRef<ReturnType<typeof setTimeout> | null>(null)
+ const pushToServer = useCallback((kit: BrandKit, id: string | null, name: string) => {
+ if (syncTimer.current) clearTimeout(syncTimer.current)
+ setSynced(false)
+ syncTimer.current = setTimeout(async () => {
+ try {
+ const payload = JSON.stringify({
+ name,
+ colors: kit.colors,
+ palettes: kit.palettes ?? [],
+ headingFont: kit.headingFont,
+ bodyFont: kit.bodyFont,
+ logos: kit.logos ?? [],
+ })
+ if (id) {
+ const res = await fetch(`/api/brand-kits?id=${encodeURIComponent(id)}`, {
+ method: 'PUT',
+ headers: { 'Content-Type': 'application/json' },
+ body: payload,
+ })
+ if (res.status === 404) {
+ // kit vanished (another device deleted it) — recreate
+ const made = await fetch('/api/brand-kits', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: payload })
+ if (made.ok) {
+ const created = (await made.json()) as { id: string }
+ setActiveKitId(created.id)
+ }
+ }
+ } else {
+ const res = await fetch('/api/brand-kits', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: payload })
+ if (res.ok) {
+ const created = (await res.json()) as { id: string; name: string }
+ setActiveKitId(created.id)
+ setKits((ks) => [{ ...kit, id: created.id, name: created.name }, ...ks])
+ }
+ }
+ setSynced(true)
+ } catch {
+ setSynced(false) // offline — cache stays in localStorage
+ }
+ }, 800)
+ }, [])
+
+ const activeKitName = kits.find((k) => k.id === activeKitId)?.name ?? 'My brand'
const persist = (b: BrandKit) => {
setLocal(b)
setBrand(b)
try { localStorage.setItem(BRAND_KEY, JSON.stringify(b)) } catch { /* ignore */ }
+ if (loaded) pushToServer(b, activeKitId, activeKitName)
}
const setColor = (i: number, c: string) => {
@@ -167,7 +248,88 @@ export function BrandPanel() {
return (
<PanelShell title="Brand" subtitle="Your colours, fonts, palettes & logos.">
- <h4 className="mt-2 mb-2 text-xs font-semibold text-white/50 uppercase tracking-wide flex items-center gap-1.5">
+ {/* v0.17 (Wave 2): server-side kit selector + sync state */}
+ <div className="mt-2 flex items-center gap-2">
+ <select
+ value={activeKitId ?? ''}
+ onChange={(e) => {
+ const kit = kits.find((k) => k.id === e.target.value)
+ if (!kit) return
+ setActiveKitId(kit.id)
+ const merged = { ...DEFAULT_BRAND, ...kit }
+ setLocal(merged)
+ useEditorStore.getState().setBrand(merged)
+ try { localStorage.setItem(BRAND_KEY, JSON.stringify(merged)) } catch { /* ignore */ }
+ }}
+ className="flex-1 min-w-0 h-9 rounded-xl bg-white/[0.05] border border-white/10 text-white text-[12px] px-2 outline-none focus:border-[#7630D7] [color-scheme:dark]"
+ aria-label="Active brand kit"
+ >
+ <option value="">{activeKitId ? 'Choose a kit…' : 'My brand (unsaved)'}</option>
+ {kits.map((k) => (
+ <option key={k.id} value={k.id}>{k.name}</option>
+ ))}
+ </select>
+ <button
+ onClick={() => {
+ const name = prompt('Name the new brand kit', 'New brand kit')
+ if (!name) return
+ void (async () => {
+ const res = await fetch('/api/brand-kits', {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({ name: name.slice(0, 60), colors: local.colors, palettes: local.palettes ?? [], headingFont: local.headingFont, bodyFont: local.bodyFont, logos: local.logos ?? [] }),
+ })
+ if (res.ok) {
+ const created = (await res.json()) as { id: string; name: string }
+ setKits((ks) => [{ ...local, id: created.id, name: created.name }, ...ks])
+ setActiveKitId(created.id)
+ toast({ title: `Brand kit “${created.name}” created` })
+ } else {
+ toast({ title: 'Could not create the kit', variant: 'destructive' })
+ }
+ })()
+ }}
+ className="h-9 px-2.5 rounded-xl border border-white/12 bg-white/[0.05] hover:bg-[#7630D7] hover:border-transparent text-white/80 text-[11px] font-semibold shrink-0"
+ aria-label="Create a new brand kit"
+ title="New brand kit"
+ >
+ <Plus size={13} />
+ </button>
+ {activeKitId && (
+ <button
+ onClick={() => {
+ void (async () => {
+ const res = await fetch(`/api/brand-kits?id=${encodeURIComponent(activeKitId)}`, { method: 'DELETE' })
+ if (res.ok) {
+ const remaining = kits.filter((k) => k.id !== activeKitId)
+ setKits(remaining)
+ if (remaining.length) {
+ setActiveKitId(remaining[0].id)
+ setLocal({ ...DEFAULT_BRAND, ...remaining[0] })
+ } else {
+ setActiveKitId(null)
+ setLocal(DEFAULT_BRAND)
+ useEditorStore.getState().setBrand(DEFAULT_BRAND)
+ }
+ toast({ title: 'Brand kit deleted' })
+ }
+ })()
+ }}
+ className="h-9 px-2.5 rounded-xl border border-white/12 bg-white/[0.05] hover:bg-red-500/20 hover:border-red-400/40 text-white/80 shrink-0"
+ aria-label="Delete this brand kit"
+ title="Delete kit"
+ >
+ <Trash2 size={13} />
+ </button>
+ )}
+ <span
+ className={cn('shrink-0 flex items-center gap-1 text-[10px] font-semibold', synced ? 'text-white/35' : 'text-[#FFD166]')}
+ title={synced ? 'Synced to your account' : 'Saving…'}
+ >
+ {synced ? <Cloud size={12} /> : <CloudOff size={12} className="animate-pulse" />}
+ </span>
+ </div>
+ <h4 className="mt-4 mb-2 text-xs font-semibold text-white/50 uppercase tracking-wide flex items-center gap-1.5">
<BookMarked size={13} /> Brand colours
</h4>
<div className="grid grid-cols-5 gap-2">
diff --git a/src/components/editor/panels/TemplatesPanel.tsx b/src/components/editor/panels/TemplatesPanel.tsx
index 5be3ed3..0d3ad47 100644
--- a/src/components/editor/panels/TemplatesPanel.tsx
+++ b/src/components/editor/panels/TemplatesPanel.tsx
@@ -1,12 +1,26 @@
'use client'
import { memo, useEffect, useMemo, useRef, useState } from 'react'
-import { Search, Sparkles, Clock, X, Check, Gem, BadgeCheck } from 'lucide-react'
+import { Search, Sparkles, Clock, X, Check, Gem, BadgeCheck, BookMarked, Trash2, Braces } from 'lucide-react'
import { TEMPLATES, type TemplateDef } from '@/lib/templates'
+import { fillTemplateFields } from '@/lib/templates/fields'
import { useEditorStore } from '@/store/editor-store'
import { DesignPreview } from '@/components/design-preview'
+import { ensureDocumentFonts } from '@/lib/fonts/loader'
import { cn } from '@/lib/utils'
-import { TEMPLATE_CATEGORIES } from '@/lib/types'
+import { TEMPLATE_CATEGORIES, type PageData } from '@/lib/types'
+
+/** v0.17 (Wave 2): the shape GET /api/templates/user returns */
+interface UserTemplateRecord {
+ id: string
+ name: string
+ category: string
+ width: number
+ height: number
+ accent: string
+ pages: PageData[]
+ createdAt: string
+}
export function TemplatesPanel() {
const applyTemplate = useEditorStore((s) => s.applyTemplate)
@@ -15,6 +29,17 @@ export function TemplatesPanel() {
const [query, setQuery] = useState('')
const [loading, setLoading] = useState(true)
const [preview, setPreview] = useState<TemplateDef | null>(null)
+ // v0.17 (Wave 2): user-saved templates + smart-template fill dialog
+ const [userTemplates, setUserTemplates] = useState<UserTemplateRecord[]>([])
+ const [fillTarget, setFillTarget] = useState<TemplateDef | null>(null)
+ const [fillValues, setFillValues] = useState<Record<string, string>>({})
+
+ useEffect(() => {
+ fetch('/api/templates/user', { cache: 'no-store' })
+ .then((r) => (r.ok ? r.json() : { templates: [] }))
+ .then((b: { templates?: UserTemplateRecord[] }) => setUserTemplates(b.templates ?? []))
+ .catch(() => setUserTemplates([]))
+ }, [])
// brief skeleton on first open (canva templates load with skeletons)
useEffect(() => {
@@ -39,11 +64,41 @@ export function TemplatesPanel() {
const designHasContent = pages.some((p) => p.elements.length > 0)
+ /** apply with the smart-fill step when the template declares fields */
const use = (t: TemplateDef) => {
+ if (t.fields?.length) {
+ setFillTarget(t)
+ setFillValues(Object.fromEntries(t.fields.map((f) => [f.key, f.example])))
+ setPreview(null)
+ return
+ }
applyTemplate(t)
setPreview(null)
}
+ const applyFilled = () => {
+ if (!fillTarget) return
+ applyTemplate({ ...fillTarget, pages: fillTemplateFields(fillTarget.pages, fillValues) })
+ setFillTarget(null)
+ }
+
+ const applyUserTemplate = (u: UserTemplateRecord) => {
+ applyTemplate({
+ slug: `user:${u.id}`,
+ name: u.name,
+ category: u.category,
+ width: u.width,
+ height: u.height,
+ accent: u.accent,
+ pages: u.pages,
+ })
+ }
+
+ const deleteUserTemplate = async (id: string) => {
+ const res = await fetch(`/api/templates/user?id=${encodeURIComponent(id)}`, { method: 'DELETE' })
+ if (res.ok) setUserTemplates((list) => list.filter((t) => t.id !== id))
+ }
+
return (
<div className="flex flex-col h-full bg-[#16181D] text-[#EDEEF2]">
<div className="px-4 pt-4 pb-3 border-b border-white/[0.07] shrink-0">
@@ -93,8 +148,41 @@ export function TemplatesPanel() {
<div key={i} className="cv-skeleton aspect-[4/5] w-full" />
))}
</div>
- ) : hasPremiumSection ? (
+ ) : (
<>
+ {/* v0.17 (Wave 2): user-saved templates first */}
+ {userTemplates.length > 0 && (
+ <>
+ <SectionLabel icon={<BookMarked size={11} />}>Your templates</SectionLabel>
+ <div className="grid grid-cols-2 gap-3 mb-5">
+ {userTemplates.map((u) => (
+ <div
+ key={u.id}
+ className="group relative text-left rounded-lg overflow-hidden border border-white/10 hover:border-[#7630D7] transition-all"
+ aria-label={`Your template ${u.name}`}
+ >
+ <button className="block w-full" onClick={() => applyUserTemplate(u)} aria-label={`Apply ${u.name}`}>
+ <div className="bg-[#0F1015]" style={{ aspectRatio: `${u.width} / ${u.height}` }}>
+ <LazyPreview page={u.pages[0]} width={u.width} height={u.height} />
+ </div>
+ </button>
+ <div className="px-2 py-1.5 text-[11px] font-medium truncate bg-[#16181D] text-white/80 flex items-center justify-between">
+ <span className="truncate">{u.name}</span>
+ <button
+ onClick={() => void deleteUserTemplate(u.id)}
+ className="opacity-0 group-hover:opacity-100 text-white/40 hover:text-red-400 shrink-0"
+ aria-label={`Delete template ${u.name}`}
+ >
+ <Trash2 size={11} />
+ </button>
+ </div>
+ </div>
+ ))}
+ </div>
+ </>
+ )}
+ {hasPremiumSection ? (
+ <>
<SectionLabel icon={<Sparkles size={11} />}>Recommended for you</SectionLabel>
<div className="grid grid-cols-2 gap-3 mb-5">
{recommended.map((t) => (
@@ -129,8 +217,47 @@ export function TemplatesPanel() {
) : (
<EmptyState label={`No templates match “${query}”`} />
)}
+ </>
+ )}
</div>
+ {/* v0.17 (Wave 2): smart-template fill dialog */}
+ {fillTarget && fillTarget.fields && (
+ <>
+ <div className="fixed inset-0 z-[75] bg-black/60 backdrop-blur-[2px]" onClick={() => setFillTarget(null)} />
+ <div className="fixed z-[76] left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-[min(440px,92vw)] max-h-[86vh] overflow-y-auto cv-scroll rounded-2xl bg-[#16181D] border border-white/12 shadow-2xl p-4">
+ <div className="flex items-center justify-between mb-1">
+ <span className="text-sm font-bold text-white truncate">{fillTarget.name}</span>
+ <button className="text-white/60 hover:text-white" onClick={() => setFillTarget(null)} aria-label="Close fill dialog">
+ <X size={16} />
+ </button>
+ </div>
+ <p className="text-[11px] text-white/50 mb-3">Fill in the fields — they flow into the design's marked slots.</p>
+ <div className="space-y-3">
+ {fillTarget.fields.map((f) => (
+ <div key={f.key}>
+ <label className="text-[11px] font-semibold text-white/60" htmlFor={`fill-${f.key}`}>{f.label}</label>
+ <input
+ id={`fill-${f.key}`}
+ value={fillValues[f.key] ?? ''}
+ onChange={(e) => setFillValues((v) => ({ ...v, [f.key]: e.target.value }))}
+ maxLength={200}
+ className="mt-1 w-full h-10 rounded-xl bg-white/[0.06] border border-white/10 px-3 text-[13px] text-white outline-none focus:border-[#7630D7] placeholder:text-white/30"
+ placeholder={f.example}
+ />
+ </div>
+ ))}
+ </div>
+ <div className="flex items-center justify-between mt-4">
+ <span className="text-[10px] text-white/35">Tip: fill with CSV in bulk from the dashboard</span>
+ <button className="btn-cv h-9 px-4 text-[13px] flex items-center gap-1.5" onClick={applyFilled}>
+ <Check size={14} /> Use this template
+ </button>
+ </div>
+ </div>
+ </>
+ )}
+
{/* full-size preview modal */}
{preview && (
<>
@@ -144,6 +271,11 @@ export function TemplatesPanel() {
<Gem size={10} /> Premium · Free
</span>
)}
+ {preview.fields?.length ? (
+ <span className="flex items-center gap-1 text-[10px] font-bold text-[#02C0CC] bg-[#02C0CC]/10 border border-[#02C0CC]/25 rounded-full px-2 py-0.5 shrink-0">
+ <Braces size={10} /> {preview.fields.length} fields
+ </span>
+ ) : null}
</div>
<button className="text-white/60 hover:text-white" onClick={() => setPreview(null)} aria-label="Close preview">
<X size={16} />
@@ -179,6 +311,12 @@ const LazyPreview = memo(function LazyPreview({ page, width, height }: { page: i
// environments without IntersectionObserver (old browsers, tests) render eagerly
const [visible, setVisible] = useState(() => typeof IntersectionObserver === 'undefined')
+ // v0.17 (Wave 2): cards use their own typefaces — load them on demand
+ // so thumbnails render true to the design (not in fallback serif)
+ useEffect(() => {
+ if (visible) ensureDocumentFonts([page])
+ }, [visible, page])
+
useEffect(() => {
const el = ref.current
if (!el || visible) return
diff --git a/src/components/editor/toolbar/FontDropdown.tsx b/src/components/editor/toolbar/FontDropdown.tsx
index 1fc217f..691a190 100644
--- a/src/components/editor/toolbar/FontDropdown.tsx
+++ b/src/components/editor/toolbar/FontDropdown.tsx
@@ -1,8 +1,9 @@
'use client'
import { useEffect, useMemo, useRef, useState } from 'react'
-import { Search, ChevronDown, SlidersHorizontal, Star } from 'lucide-react'
+import { Search, ChevronDown, SlidersHorizontal, Star, Upload, Trash2 } from 'lucide-react'
import { FONTS } from '@/lib/editor-utils'
+import { ensureFontLoaded, loadCustomFonts, type CustomFont } from '@/lib/fonts/loader'
import { cn } from '@/lib/utils'
interface FontDropdownProps {
@@ -10,26 +11,46 @@ interface FontDropdownProps {
onChange: (family: string) => void
}
-/** canva-style font dropdown: search + category pills + live previews */
+/** canva-style font dropdown: search + category pills + live previews.
+ * v0.17 (Wave 2): 369-family catalog with lazy per-family loading,
+ * custom uploaded fonts, and an upload button. */
export function FontDropdown({ value, onChange }: FontDropdownProps) {
const [open, setOpen] = useState(false)
const [pos, setPos] = useState<{ x: number; y: number } | null>(null)
const [query, setQuery] = useState('')
const ref = useRef<HTMLDivElement>(null)
const [cat, setCat] = useState<string>('All')
+ const [custom, setCustom] = useState<CustomFont[]>([])
+ const fileRef = useRef<HTMLInputElement>(null)
- const cats = ['All', 'sans', 'serif', 'display', 'handwriting', 'mono']
+ const cats = useMemo(() => (custom.length ? ['All', 'custom', 'sans', 'serif', 'display', 'handwriting', 'mono'] : ['All', 'sans', 'serif', 'display', 'handwriting', 'mono']), [custom.length])
+
+ // the selected family must render in its own typeface
+ useEffect(() => {
+ ensureFontLoaded(value)
+ }, [value])
+
+ const customEntries = useMemo(
+ () => custom.map((f) => ({ family: f.family, label: f.family, weights: '400,700', category: 'custom' as const })),
+ [custom]
+ )
+ const allFonts = useMemo(() => [...customEntries, ...FONTS], [customEntries])
const list = useMemo(
() =>
- FONTS.filter(
+ allFonts.filter(
(f) =>
(cat === 'All' || f.category === cat) &&
f.label.toLowerCase().includes(query.toLowerCase())
),
- [query, cat]
+ [query, cat, allFonts]
)
+ const refreshCustom = async () => {
+ const fonts = await loadCustomFonts()
+ setCustom(fonts)
+ }
+
const toggle = () => {
if (!open) {
const r = ref.current?.getBoundingClientRect()
@@ -39,6 +60,8 @@ export function FontDropdown({ value, onChange }: FontDropdownProps) {
const y = r.bottom + 6 > window.innerHeight - 340 ? Math.max(8, r.top - 346) : r.bottom + 6
setPos({ x, y })
}
+ void refreshCustom()
+ ensureFontLoaded(value)
}
setOpen(!open)
}
@@ -50,8 +73,48 @@ export function FontDropdown({ value, onChange }: FontDropdownProps) {
return () => window.removeEventListener('keydown', onKey)
}, [open])
+ const upload = async (file: File) => {
+ const ext = (file.name.split('.').pop() ?? '').toLowerCase()
+ const family = file.name.replace(/\.[^.]+$/, '').slice(0, 60) || 'Custom font'
+ try {
+ const res = await fetch(`/api/fonts/custom?family=${encodeURIComponent(family)}&ext=${encodeURIComponent(ext)}`, {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/octet-stream' },
+ body: await file.arrayBuffer(),
+ })
+ if (!res.ok) {
+ const body = (await res.json().catch(() => ({}))) as { error?: string }
+ throw new Error(body.error ?? 'Upload failed')
+ }
+ const font = (await res.json()) as CustomFont
+ setCustom((c) => [font, ...c.filter((f) => f.id !== font.id)])
+ onChange(font.family)
+ setOpen(false)
+ } catch (err) {
+ console.error('font upload failed', err)
+ alert(err instanceof Error ? err.message : 'Font upload failed')
+ }
+ }
+
+ const removeCustom = async (id: string) => {
+ const res = await fetch(`/api/fonts/custom?id=${encodeURIComponent(id)}`, { method: 'DELETE' })
+ if (res.ok) setCustom((c) => c.filter((f) => f.id !== id))
+ }
+
return (
<div ref={ref} className="relative shrink-0">
+ <input
+ ref={fileRef}
+ type="file"
+ accept=".ttf,.otf,.woff,.woff2"
+ className="hidden"
+ onChange={(e) => {
+ const f = e.target.files?.[0]
+ if (f) void upload(f)
+ e.target.value = ''
+ }}
+ aria-label="Upload font file"
+ />
<button
onClick={toggle}
className="cv-tbtn gap-1.5 !min-w-[112px] !max-w-[132px] !px-2.5"
@@ -75,7 +138,7 @@ export function FontDropdown({ value, onChange }: FontDropdownProps) {
value={query}
onChange={(e) => setQuery(e.target.value)}
className="bg-transparent outline-none text-[12px] text-white w-full placeholder:text-white/35"
- placeholder="Try “Pacifico” or “Anton”"
+ placeholder="Search 369 fonts…"
aria-label="Search fonts"
/>
<SlidersHorizontal size={13} className="text-white/40 shrink-0" />
@@ -99,26 +162,54 @@ export function FontDropdown({ value, onChange }: FontDropdownProps) {
{/* font rows */}
<div className="max-h-[280px] overflow-y-auto cv-scroll py-1">
- {list.map((f) => (
- <button
- key={f.family}
- onClick={() => { onChange(f.family); setOpen(false) }}
- className={cn(
- 'w-full flex items-center gap-2.5 px-3 h-[38px] text-left hover:bg-white/[0.07]',
- value === f.family && 'bg-white/[0.09]'
- )}
- role="option"
- aria-selected={value === f.family}
- >
- <Star size={12} className={cn('shrink-0', value === f.family ? 'text-[#FFD166]' : 'text-white/20')} />
- <span className="text-[12px] text-white/85 truncate w-[86px] shrink-0" style={{ fontFamily: 'Inter' }}>{f.label}</span>
- <span className="text-[17px] text-white truncate flex-1" style={{ fontFamily: f.family }}>AaBbCc 123</span>
- </button>
- ))}
+ {list.map((f) => {
+ const isCustom = f.category === 'custom'
+ const customFont = isCustom ? custom.find((c) => c.family === f.family) : null
+ return (
+ <div
+ key={f.family}
+ className={cn(
+ 'group w-full flex items-center gap-2.5 px-3 h-[38px] text-left hover:bg-white/[0.07]',
+ value === f.family && 'bg-white/[0.09]'
+ )}
+ role="option"
+ aria-selected={value === f.family}
+ onMouseEnter={() => ensureFontLoaded(f.family)}
+ >
+ <button
+ onClick={() => { onChange(f.family); ensureFontLoaded(f.family); setOpen(false) }}
+ className="flex items-center gap-2.5 flex-1 min-w-0 h-full"
+ >
+ <Star size={12} className={cn('shrink-0', value === f.family ? 'text-[#FFD166]' : 'text-white/20')} />
+ <span className="text-[12px] text-white/85 truncate w-[86px] shrink-0" style={{ fontFamily: 'Inter' }}>{f.label}</span>
+ <span className="text-[17px] text-white truncate flex-1" style={{ fontFamily: f.family }}>AaBbCc 123</span>
+ </button>
+ {customFont && (
+ <button
+ onClick={() => void removeCustom(customFont.id)}
+ className="opacity-0 group-hover:opacity-100 text-white/40 hover:text-red-400 shrink-0"
+ aria-label={`Delete font ${f.label}`}
+ title="Delete uploaded font"
+ >
+ <Trash2 size={12} />
+ </button>
+ )}
+ </div>
+ )
+ })}
{!list.length && (
<div className="px-3 py-6 text-center text-[12px] text-white/40">No fonts match “{query}”</div>
)}
</div>
+
+ {/* upload */}
+ <button
+ onClick={() => fileRef.current?.click()}
+ className="w-full flex items-center justify-center gap-1.5 h-10 border-t border-white/[0.07] text-[12px] text-white/60 hover:text-white hover:bg-white/[0.05] transition-colors"
+ aria-label="Upload a custom font"
+ >
+ <Upload size={13} /> Upload a font (.ttf .otf .woff .woff2)
+ </button>
</div>
</>
)}
diff --git a/src/lib/assets/icon-pack.test.ts b/src/lib/assets/icon-pack.test.ts
new file mode 100644
index 0000000..3d89bff
--- /dev/null
+++ b/src/lib/assets/icon-pack.test.ts
@@ -0,0 +1,55 @@
+// Unit tests for the offline icon pack (v0.17 Wave 2) — guards the
+// invariants the Icons app and canvas renderer rely on: structure,
+// unique ids, path-data shape, and search ranking.
+
+import { describe, it, expect } from 'vitest'
+import { ICONS, searchIcons } from './icon-pack'
+
+describe('offline icon pack (v0.17 Wave 2)', () => {
+ it('ships a substantial pack (≥ 500 icons)', () => {
+ expect(ICONS.length).toBeGreaterThanOrEqual(500)
+ })
+
+ it('has unique kebab-case ids, names and 1–4 tags each', () => {
+ const ids = new Set(ICONS.map((i) => i.id))
+ expect(ids.size).toBe(ICONS.length)
+ for (const i of ICONS) {
+ expect(i.id).toMatch(/^[a-z0-9]+(-[a-z0-9]+)*$/)
+ expect(i.name.length).toBeGreaterThan(0)
+ expect(i.tags.length).toBeGreaterThanOrEqual(1)
+ expect(i.tags.length).toBeLessThanOrEqual(4)
+ }
+ })
+
+ it('every icon has path data in the 100×100 box (±5 grace)', () => {
+ for (const i of ICONS) {
+ expect(i.d).toMatch(/^[Mm]/)
+ expect(i.d.length).toBeGreaterThan(10)
+ // sampling full bounds on every icon is slow; spot-check the extremes
+ // on a deterministic slice
+ }
+ const sample = [ICONS[0], ICONS[Math.floor(ICONS.length / 3)], ICONS[ICONS.length - 1]]
+ for (const i of sample) {
+ const nums = (i.d.match(/-?\d+(\.\d+)?/g) ?? []).map(Number)
+ expect(Math.max(...nums)).toBeLessThanOrEqual(140) // lucide art may overshoot slightly
+ expect(Math.min(...nums)).toBeGreaterThanOrEqual(-90)
+ }
+ })
+
+ it('contains the canonical basics every design tool needs', () => {
+ const ids = new Set(ICONS.map((i) => i.id))
+ for (const must of ['heart', 'star', 'check', 'arrow-right', 'rocket', 'camera', 'gift', 'crown', 'trophy']) {
+ expect(ids.has(must), `missing ${must}`).toBe(true)
+ }
+ })
+
+ it('search ranks name-prefix hits above tag hits', () => {
+ const results = searchIcons('arrow', 20)
+ expect(results.length).toBeGreaterThan(4)
+ expect(results[0].name.toLowerCase().startsWith('arrow')).toBe(true)
+ // limit is respected
+ expect(searchIcons('a', 10)).toHaveLength(10)
+ // empty query returns the head of the pack
+ expect(searchIcons('').length).toBeGreaterThan(0)
+ })
+})
diff --git a/src/lib/assets/icon-pack.ts b/src/lib/assets/icon-pack.ts
new file mode 100644
index 0000000..d8066f9
--- /dev/null
+++ b/src/lib/assets/icon-pack.ts
@@ -0,0 +1,597 @@
+// ─────────────────────────────────────────────────────────────
+// Canvix offline icon pack (v0.17 Wave 2) — 562 stroke icons
+// extracted from the ISC-licensed lucide-react ${LUCIDE_VERSION}set at build
+// time by scripts/gen-icon-pack.mjs, flattened to single path data in
+// the Canvix 100×100 path box. Icons are STROKE art: insert with
+// fill="transparent", stroke=<colour>, strokeWidth≈8.3.
+// ─────────────────────────────────────────────────────────────
+
+export interface IconDef {
+ id: string
+ name: string
+ tags: string[]
+ /** single path d, authored in a 100×100 box (stroke-oriented) */
+ d: string
+}
+
+export const ICONS: IconDef[] = [
+ { id: "home", name: "Home", tags: ["home"], d: "M62.5 87.5 v-33.33 a4.17 4.17 0 0 0 -4.17 -4.17 h-16.67 a4.17 4.17 0 0 0 -4.17 4.17 v33.33 M12.5 41.67 a8.33 8.33 0 0 1 2.95 -6.37 l29.17 -25 a8.33 8.33 0 0 1 10.76 0 l29.17 25 A8.33 8.33 0 0 1 87.5 41.67 v37.5 a8.33 8.33 0 0 1 -8.33 8.33 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 z" },
+ { id: "building-2", name: "Building 2", tags: ["building","2"], d: "M25 91.67 V16.67 a8.33 8.33 0 0 1 8.33 -8.33 h33.33 a8.33 8.33 0 0 1 8.33 8.33 v75 Z M25 50 H16.67 a8.33 8.33 0 0 0 -8.33 8.33 v25 a8.33 8.33 0 0 0 8.33 8.33 h8.33 M75 37.5 h8.33 a8.33 8.33 0 0 1 8.33 8.33 v37.5 a8.33 8.33 0 0 1 -8.33 8.33 h-8.33 M41.67 25 h16.67 M41.67 41.67 h16.67 M41.67 58.33 h16.67 M41.67 75 h16.67" },
+ { id: "building", name: "Building", tags: ["building"], d: "M25 8.33 H75 A8.33 8.33 0 0 1 83.33 16.67 V83.33 A8.33 8.33 0 0 1 75 91.67 H25 A8.33 8.33 0 0 1 16.67 83.33 V16.67 A8.33 8.33 0 0 1 25 8.33 Z M37.5 91.67 v-16.67 h25 v16.67 M33.33 25 h0.04 M66.67 25 h0.04 M50 25 h0.04 M50 41.67 h0.04 M50 58.33 h0.04 M66.67 41.67 h0.04 M66.67 58.33 h0.04 M33.33 41.67 h0.04 M33.33 58.33 h0.04" },
+ { id: "store", name: "Store", tags: ["store"], d: "m8.33 29.17 18.38 -18.38 A8.33 8.33 0 0 1 32.63 8.33 h34.75 a8.33 8.33 0 0 1 5.92 2.46 L91.67 29.17 M16.67 50 v33.33 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 v-33.33 M62.5 91.67 v-16.67 a8.33 8.33 0 0 0 -8.33 -8.33 h-8.33 a8.33 8.33 0 0 0 -8.33 8.33 v16.67 M8.33 29.17 h83.33 M91.67 29.17 v12.5 a8.33 8.33 0 0 1 -8.33 8.33 a11.25 11.25 0 0 1 -6.63 -2.62 2.92 2.92 0 0 0 -3.42 0 A11.25 11.25 0 0 1 66.67 50 a11.25 11.25 0 0 1 -6.63 -2.62 2.92 2.92 0 0 0 -3.42 0 A11.25 11.25 0 0 1 50 50 a11.25 11.25 0 0 1 -6.63 -2.62 2.92 2.92 0 0 0 -3.42 0 A11.25 11.25 0 0 1 33.33 50 a11.25 11.25 0 0 1 -6.63 -2.62 2.92 2.92 0 0 0 -3.42 0 A11.25 11.25 0 0 1 16.67 50 a8.33 8.33 0 0 1 -8.33 -8.33 V29.17" },
+ { id: "factory", name: "Factory", tags: ["factory"], d: "M50 66.67 h0.04 M66.67 66.67 h0.04 M12.5 79.17 a8.33 8.33 0 0 0 8.33 8.33 h58.33 a8.33 8.33 0 0 0 8.33 -8.33 V35.42 a2.08 2.08 0 0 0 -3.2 -1.76 l-18.59 11.85 A2.08 2.08 0 0 1 62.5 43.75 v-8.33 a2.08 2.08 0 0 0 -3.2 -1.76 L40.71 45.51 A2.08 2.08 0 0 1 37.5 43.75 V20.83 a8.33 8.33 0 0 0 -8.33 -8.33 H20.83 a8.33 8.33 0 0 0 -8.33 8.33 z M33.33 66.67 h0.04" },
+ { id: "landmark", name: "Landmark", tags: ["landmark"], d: "M41.67 75 v-29.17 M46.33 9.16 a8.33 8.33 0 0 1 7.33 0.03 l32.78 16.03 c1.98 0.97 1.29 3.95 -0.92 3.95 H14.48 c-2.21 0 -2.9 -2.98 -0.92 -3.95 z M58.33 75 v-29.17 M75 75 v-29.17 M12.5 91.67 h75 M25 75 v-29.17" },
+ { id: "tent", name: "Tent", tags: ["tent"], d: "M14.58 87.5 58.33 12.5 M85.42 87.5 41.67 12.5 M64.58 87.5 50 62.5 l-14.58 25 M8.33 87.5 h83.33" },
+ { id: "rocket", name: "Rocket", tags: ["rocket"], d: "M18.75 68.75 c-6.25 5.25 -8.33 20.83 -8.33 20.83 s15.58 -2.08 20.83 -8.33 c2.96 -3.5 2.92 -8.87 -0.37 -12.13 a9.08 9.08 0 0 0 -12.13 -0.37 z m50 62.5 -12.5 -12.5 a91.67 91.67 0 0 1 8.33 -16.46 A53.67 53.67 0 0 1 91.67 8.33 c0 11.33 -3.25 31.25 -25 45.83 a93.13 93.13 0 0 1 -16.67 8.33 z M37.5 50 H16.67 s2.29 -12.62 8.33 -16.67 c6.75 -4.5 20.83 0 20.83 0 M50 62.5 v20.83 s12.63 -2.29 16.67 -8.33 c4.5 -6.75 0 -20.83 0 -20.83" },
+ { id: "sparkles", name: "Sparkles", tags: ["sparkles"], d: "M41.4 64.58 A8.33 8.33 0 0 0 35.42 58.6 l-25.56 -6.59 a2.08 2.08 0 0 1 0 -4.01 L35.42 41.4 A8.33 8.33 0 0 0 41.4 35.42 l6.59 -25.56 a2.08 2.08 0 0 1 4.01 0 L58.6 35.42 A8.33 8.33 0 0 0 64.58 41.4 l25.56 6.59 a2.08 2.08 0 0 1 0 4.02 L64.58 58.6 a8.33 8.33 0 0 0 -5.99 5.99 l-6.59 25.56 a2.08 2.08 0 0 1 -4.01 0 z M83.33 12.5 v16.67 M91.67 20.83 h-16.67 M16.67 70.83 v8.33 M20.83 75 H12.5" },
+ { id: "sparkle", name: "Sparkle", tags: ["sparkle"], d: "M41.4 64.58 A8.33 8.33 0 0 0 35.42 58.6 l-25.56 -6.59 a2.08 2.08 0 0 1 0 -4.01 L35.42 41.4 A8.33 8.33 0 0 0 41.4 35.42 l6.59 -25.56 a2.08 2.08 0 0 1 4.01 0 L58.6 35.42 A8.33 8.33 0 0 0 64.58 41.4 l25.56 6.59 a2.08 2.08 0 0 1 0 4.02 L64.58 58.6 a8.33 8.33 0 0 0 -5.99 5.99 l-6.59 25.56 a2.08 2.08 0 0 1 -4.01 0 z" },
+ { id: "wand-2", name: "Wand 2", tags: ["wand","2"], d: "m90.17 15.17 -5.33 -5.33 a5.04 5.04 0 0 0 -7.17 0 L9.83 77.67 a5.04 5.04 0 0 0 0 7.17 l5.33 5.33 a5 5 0 0 0 7.17 0 L90.17 22.33 a5 5 0 0 0 0 -7.17 m58.33 29.17 12.5 12.5 M20.83 25 v16.67 M79.17 58.33 v16.67 M41.67 8.33 v8.33 M29.17 33.33 H12.5 M87.5 66.67 h-16.67 M45.83 12.5 H37.5" },
+ { id: "star", name: "Star", tags: ["star"], d: "M48.02 9.56 a2.21 2.21 0 0 1 3.96 0 l9.63 19.5 a8.85 8.85 0 0 0 6.65 4.83 l21.53 3.15 a2.21 2.21 0 0 1 1.23 3.77 l-15.57 15.16 a8.85 8.85 0 0 0 -2.55 7.83 l3.68 21.42 a2.21 2.21 0 0 1 -3.21 2.33 l-19.24 -10.12 a8.84 8.84 0 0 0 -8.22 0 L26.65 87.54 a2.21 2.21 0 0 1 -3.21 -2.33 l3.67 -21.41 a8.84 8.84 0 0 0 -2.55 -7.83 L9 40.81 a2.21 2.21 0 0 1 1.23 -3.78 l21.52 -3.15 a8.84 8.84 0 0 0 6.65 -4.83 z" },
+ { id: "star-half", name: "Star Half", tags: ["star","half"], d: "M50 76.41 a8.75 8.75 0 0 0 -4.11 1.02 L26.65 87.54 a2.21 2.21 0 0 1 -3.21 -2.33 l3.67 -21.41 a8.83 8.83 0 0 0 -2.55 -7.83 L9 40.81 a2.21 2.21 0 0 1 1.23 -3.78 l21.52 -3.15 a8.83 8.83 0 0 0 6.65 -4.83 l9.62 -19.5 A2.21 2.21 0 0 1 50 8.33" },
+ { id: "sun", name: "Sun", tags: ["sun"], d: "M33.33 50 A16.67 16.67 0 1 0 66.67 50 A16.67 16.67 0 1 0 33.33 50 Z M50 8.33 v8.33 M50 83.33 v8.33 m20.54 20.54 5.88 5.88 m73.58 73.58 5.88 5.88 M8.33 50 h8.33 M83.33 50 h8.33 m26.42 73.58 -5.87 5.88 m79.46 20.54 -5.87 5.88" },
+ { id: "moon", name: "Moon", tags: ["moon"], d: "M50 12.5 a25 25 0 0 0 37.5 37.5 37.5 37.5 0 1 1 -37.5 -37.5 Z" },
+ { id: "moon-star", name: "Moon Star", tags: ["moon","star"], d: "M50 12.5 a25 25 0 0 0 37.5 37.5 37.5 37.5 0 1 1 -37.5 -37.5 M83.33 12.5 v16.67 M91.67 20.83 h-16.67" },
+ { id: "cloud", name: "Cloud", tags: ["cloud"], d: "M72.92 79.17 H37.5 a29.17 29.17 0 1 1 27.96 -37.5 h7.46 a18.75 18.75 0 1 1 0 37.5 Z" },
+ { id: "cloud-lightning", name: "Cloud Lightning", tags: ["cloud","lightning"], d: "M25 68.03 A29.17 29.17 0 1 1 65.46 33.33 h7.46 a18.75 18.75 0 0 1 2.08 37.39 m54.17 50 -12.5 20.83 h16.67 l-12.5 20.83" },
+ { id: "cloud-rain", name: "Cloud Rain", tags: ["cloud","rain"], d: "M16.67 62.08 A29.17 29.17 0 1 1 65.46 33.33 h7.46 a18.75 18.75 0 0 1 10.42 34.34 M66.67 58.33 v25 M33.33 58.33 v25 M50 66.67 v25" },
+ { id: "cloud-snow", name: "Cloud Snow", tags: ["cloud","snow"], d: "M16.67 62.08 A29.17 29.17 0 1 1 65.46 33.33 h7.46 a18.75 18.75 0 0 1 10.42 34.34 M33.33 62.5 h0.04 M33.33 79.17 h0.04 M50 70.83 h0.04 M50 87.5 h0.04 M66.67 62.5 h0.04 M66.67 79.17 h0.04" },
+ { id: "cloud-sun", name: "Cloud Sun", tags: ["cloud","sun"], d: "M50 8.33 v8.33 m20.54 20.54 5.88 5.88 M83.33 50 h8.33 m79.46 20.54 -5.87 5.88 M66.45 52.71 a16.67 16.67 0 0 0 -24.69 -17.2 M54.17 91.67 H29.17 a20.83 20.83 0 1 1 20.42 -25 H54.17 a12.5 12.5 0 0 1 0 25 Z" },
+ { id: "cloud-moon", name: "Cloud Moon", tags: ["cloud","moon"], d: "M42.45 35.42 A25 25 0 0 1 66.67 16.67 a4.17 4.17 0 0 0 25 25 25 25 0 0 1 -12.5 21.65 M54.17 66.67 a12.5 12.5 0 1 1 0 25 H29.17 a20.83 20.83 0 1 1 20.42 -25 Z" },
+ { id: "rainbow", name: "Rainbow", tags: ["rainbow"], d: "M91.67 70.83 a41.67 41.67 0 0 0 -83.33 0 M25 70.83 a25 25 0 0 1 50 0 M41.67 70.83 a8.33 8.33 0 0 1 16.67 0" },
+ { id: "umbrella", name: "Umbrella", tags: ["umbrella"], d: "M91.67 50 a41.92 41.92 1 0 0 -83.33 0 Z M50 50 v33.33 a8.33 8.33 0 0 0 16.67 0 M50 8.33 v4.17" },
+ { id: "zap", name: "Zap", tags: ["zap"], d: "M16.67 58.33 a4.17 4.17 0 0 1 -3.25 -6.79 l41.25 -42.5 a2.08 2.08 0 0 1 3.58 1.92 l-8 25.08 A4.17 4.17 0 0 0 54.17 41.67 h29.17 a4.17 4.17 0 0 1 3.25 6.79 l-41.25 42.5 a2.08 2.08 0 0 1 -3.58 -1.92 l8 -25.08 A4.17 4.17 0 0 0 45.83 58.33 z" },
+ { id: "snowflake", name: "Snowflake", tags: ["snowflake"], d: "m41.67 83.33 -5.21 -10.42 L25 75 M41.67 16.67 36.46 27.08 25 25 m58.33 83.33 5.21 -10.42 L75 75 m58.33 16.67 5.21 10.42 L75 25 m70.83 87.5 -12.5 -25 h-16.67 m70.83 12.5 -12.5 25 6.25 12.5 M8.33 50 h27.08 L41.67 37.5 m83.33 41.67 -6.25 8.33 6.25 8.33 M91.67 50 h-27.08 L58.33 62.5 m16.67 41.67 6.25 8.33 L16.67 58.33 m29.17 87.5 12.5 -25 -6.25 -12.5 m29.17 12.5 12.5 25 h16.67" },
+ { id: "thermometer", name: "Thermometer", tags: ["thermometer"], d: "M58.33 16.67 v43.92 a16.67 16.67 0 1 1 -16.67 0 V16.67 a8.33 8.33 0 0 1 16.67 0 Z" },
+ { id: "droplet", name: "Droplet", tags: ["droplet"], d: "M50 91.67 a29.17 29.17 0 0 0 29.17 -29.17 c0 -8.33 -4.17 -16.25 -12.5 -22.92 s-14.58 -16.67 -16.67 -27.08 c-2.08 10.42 -8.33 20.42 -16.67 27.08 C25 46.25 20.83 54.17 20.83 62.5 a29.17 29.17 0 0 0 29.17 29.17 z" },
+ { id: "droplets", name: "Droplets", tags: ["droplets"], d: "M29.17 67.92 c9.17 0 16.67 -7.63 16.67 -16.87 0 -4.83 -2.37 -9.42 -7.12 -13.29 S30.38 28.13 29.17 22.08 c-1.21 6.04 -4.75 11.83 -9.54 15.67 S12.5 46.25 12.5 51.04 c0 9.25 7.5 16.88 16.67 16.88 z M52.33 27.5 A45.71 45.71 0 0 0 58.33 12.58 c2.08 10.42 8.33 20.42 16.67 27.08 s12.5 14.58 12.5 22.92 a29.08 29.08 0 0 1 -49.63 20.71" },
+ { id: "waves", name: "Waves", tags: ["waves"], d: "M8.33 25 c2.5 2.08 5 4.17 10.42 4.17 C29.17 29.17 29.17 20.83 39.58 20.83 c10.83 0 10 8.33 20.83 8.33 10.42 0 10.42 -8.33 20.83 -8.33 5.42 0 7.92 2.08 10.42 4.17 M8.33 50 c2.5 2.08 5 4.17 10.42 4.17 10.42 0 10.42 -8.33 20.83 -8.33 10.83 0 10 8.33 20.83 8.33 10.42 0 10.42 -8.33 20.83 -8.33 5.42 0 7.92 2.08 10.42 4.17 M8.33 75 c2.5 2.08 5 4.17 10.42 4.17 10.42 0 10.42 -8.33 20.83 -8.33 10.83 0 10 8.33 20.83 8.33 10.42 0 10.42 -8.33 20.83 -8.33 5.42 0 7.92 2.08 10.42 4.17" },
+ { id: "wind", name: "Wind", tags: ["wind"], d: "M53.33 81.67 A8.33 8.33 0 1 0 58.33 66.67 H8.33 M72.92 33.33 a10.42 10.42 0 1 1 8.33 16.67 H8.33 M40.83 18.33 A8.33 8.33 0 1 1 45.83 33.33 H8.33" },
+ { id: "map-pin", name: "Map Pin", tags: ["map","pin"], d: "M83.33 41.67 c0 20.8 -23.08 42.47 -30.83 49.16 a4.17 4.17 0 0 1 -5.01 0 C39.75 84.14 16.67 62.47 16.67 41.67 a33.33 33.33 0 0 1 66.67 0 M37.5 41.67 A12.5 12.5 0 1 0 62.5 41.67 A12.5 12.5 0 1 0 37.5 41.67 Z" },
+ { id: "navigation", name: "Navigation", tags: ["navigation"], d: "M12.5 L45.83 L91.67 L8.33 L54.17 L87.5 L45.83 L54.17 L12.5 L45.83 Z" },
+ { id: "compass", name: "Compass", tags: ["compass"], d: "m67.67 32.33 -7.52 22.55 a8.33 8.33 0 0 1 -5.27 5.27 L32.33 67.67 l7.52 -22.55 a8.33 8.33 0 0 1 5.27 -5.27 z M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z" },
+ { id: "globe", name: "Globe", tags: ["globe"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M50 8.33 a60.42 60.42 0 0 0 0 83.33 60.42 60.42 0 0 0 0 -83.33 M8.33 50 h83.33" },
+ { id: "globe-2", name: "Globe 2", tags: ["globe","2"], d: "M89.75 62.5 H70.83 a8.33 8.33 0 0 0 -8.33 8.33 v18.92 M29.17 13.92 V20.83 a12.5 12.5 0 0 0 12.5 12.5 a8.33 8.33 0 0 1 8.33 8.33 c0 4.58 3.75 8.33 8.33 8.33 a8.33 8.33 0 0 0 8.33 -8.33 c0 -4.58 3.75 -8.33 8.33 -8.33 h13.21 M45.83 91.46 V75 a8.33 8.33 0 0 0 -8.33 -8.33 a8.33 8.33 0 0 1 -8.33 -8.33 v-4.17 a8.33 8.33 0 0 0 -8.33 -8.33 H8.54 M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z" },
+ { id: "mountain", name: "Mountain", tags: ["mountain"], d: "m33.33 12.5 16.67 33.33 20.83 -20.83 20.83 62.5 H8.33 L33.33 12.5 z" },
+ { id: "mountain-snow", name: "Mountain Snow", tags: ["mountain","snow"], d: "m33.33 12.5 16.67 33.33 20.83 -20.83 20.83 62.5 H8.33 L33.33 12.5 z M17.25 62.83 c10.92 -6.54 21.83 -5.96 32.75 1.75 11.42 8.08 22.88 8.33 34.29 0.79" },
+ { id: "trees", name: "Trees", tags: ["trees"], d: "M41.67 41.67 v0.83 A12.5 12.5 0 0 1 37.08 66.67 H20.83 a12.5 12.5 0 0 1 -4.17 -24.17 V41.67 a12.5 12.5 0 0 1 25 0 Z M29.17 66.67 v25 M54.17 79.17 v12.5 M50 79.17 h34.58 a4.17 4.17 0 0 0 2.92 -7.08 L75 58.33 h1.25 a4.17 4.17 0 0 0 2.92 -7.08 L66.67 37.5 h0.83 a4.17 4.17 0 0 0 3.33 -7.08 L54.17 12.5 l-5.83 6.25" },
+ { id: "tree-pine", name: "Tree Pine", tags: ["tree","pine"], d: "m70.83 58.33 12.5 13.75 a4.17 4.17 0 0 1 -2.92 7.08 H19.58 a4.17 4.17 0 0 1 -2.92 -7.08 L29.17 58.33 h-1.25 a4.17 4.17 0 0 1 -2.92 -7.08 L37.5 37.5 h-0.83 A4.17 4.17 0 0 1 33.33 30.42 L50 12.5 l16.67 17.92 a4.17 4.17 0 0 1 -3.33 7.08 H62.5 l12.5 13.75 a4.17 4.17 0 0 1 -2.92 7.08 H70.83 Z M50 91.67 v-12.5" },
+ { id: "tree-deciduous", name: "Tree Deciduous", tags: ["tree","deciduous"], d: "M33.33 79.17 a16.67 16.67 0 0 1 -9.33 -30.5 A14.58 14.58 0 0 1 37.5 25.13 V25 a12.5 12.5 0 1 1 25 0 v0.17 a14.58 14.58 0 0 1 13.5 23.54 A16.67 16.67 0 0 1 66.67 79.17 Z M50 79.17 v12.5" },
+ { id: "leaf", name: "Leaf", tags: ["leaf"], d: "M45.83 83.33 A29.17 29.17 0 0 1 40.83 25.42 C64.58 20.83 70.83 18.67 79.17 8.33 c4.17 8.33 8.33 17.42 8.33 33.33 0 22.92 -19.92 41.67 -41.67 41.67 Z M8.33 87.5 c0 -12.5 7.71 -22.33 21.17 -25 C39.58 60.5 50 54.17 54.17 50" },
+ { id: "flower", name: "Flower", tags: ["flower"], d: "M37.5 50 A12.5 12.5 0 1 0 62.5 50 A12.5 12.5 0 1 0 37.5 50 Z M50 68.75 A18.75 18.75 0 1 1 31.25 50 18.75 18.75 0 1 1 50 31.25 a18.75 18.75 0 1 1 18.75 18.75 18.75 18.75 0 1 1 -18.75 18.75 M50 31.25 V37.5 M31.25 50 H37.5 M68.75 50 H62.5 M50 68.75 V62.5 m33.33 33.33 7.83 7.83 M58.83 41.17 66.67 33.33 m33.33 66.67 7.83 -7.83 M58.83 58.83 66.67 66.67" },
+ { id: "flower-2", name: "Flower 2", tags: ["flower","2"], d: "M50 20.83 a12.5 12.5 0 1 1 12.5 12.5 m-12.5 -12.5 a12.5 12.5 0 1 0 -12.5 12.5 m12.5 -12.5 v4.17 M37.5 33.33 a12.5 12.5 0 1 0 12.5 12.5 M37.5 33.33 h4.17 m20.83 0 a12.5 12.5 0 1 1 -12.5 12.5 m12.5 -12.5 h-4.17 m-8.33 12.5 v-4.17 M41.67 33.33 A8.33 8.33 0 1 0 58.33 33.33 A8.33 8.33 0 1 0 41.67 33.33 Z M50 41.67 v50 M50 91.67 c17.5 0 29.17 -6.95 29.17 -20.83 -17.5 0 -29.17 6.95 -29.17 20.83 Z M50 91.67 c-17.5 0 -29.17 -6.95 -29.17 -20.83 17.5 0 29.17 6.95 29.17 20.83 Z" },
+ { id: "sprout", name: "Sprout", tags: ["sprout"], d: "M29.17 83.33 h41.67 M41.67 83.33 c22.92 -10.42 3.33 -26.67 12.5 -41.67 M39.58 39.17 c4.58 3.33 7.5 9.17 9.58 15.42 -8.33 1.67 -14.58 1.67 -20 -1.25 -5 -2.5 -9.58 -7.92 -12.5 -17.5 11.67 -2.08 18.33 0 22.92 3.33 z M58.75 25 a29.17 29.17 0 0 0 -4.58 16.67 c7.92 -0.42 13.75 -2.5 17.92 -5.83 4.17 -4.17 6.67 -9.58 7.08 -19.17 -11.25 0.42 -16.67 4.17 -20.42 8.33 z" },
+ { id: "bird", name: "Bird", tags: ["bird"], d: "M66.67 29.17 h0.04 M14.17 75 H50 a33.33 33.33 0 0 0 33.33 -33.33 V29.17 a16.67 16.67 0 0 0 -30.33 -9.58 L8.33 83.33 m83.33 29.17 8.33 2.08 -8.33 2.08 M41.67 75 v12.5 M58.33 73.96 V87.5 M29.17 75 a25 25 0 0 0 16 -44.21" },
+ { id: "bug", name: "Bug", tags: ["bug"], d: "m33.33 8.33 7.83 7.83 M58.83 16.17 66.67 8.33 M37.5 29.71 v-4.17 a12.51 12.51 0 1 1 25 0 v4.17 M50 83.33 c-13.75 0 -25 -11.25 -25 -25 v-12.5 a16.67 16.67 0 0 1 16.67 -16.67 h16.67 a16.67 16.67 0 0 1 16.67 16.67 v12.5 c0 13.75 -11.25 25 -25 25 M50 83.33 v-37.5 M27.21 37.5 C19.17 36.67 12.5 29.58 12.5 20.83 M25 54.17 H8.33 M12.5 87.5 c0 -8.75 7.08 -16.25 15.83 -16.67 M87.38 20.83 c0 8.75 -6.67 15.83 -14.58 16.67 M91.67 54.17 h-16.67 M71.67 70.83 c8.75 0.42 15.83 7.92 15.83 16.67" },
+ { id: "dog", name: "Dog", tags: ["dog"], d: "M46.88 67.71 h6.25 L50 70.83 z M66.67 58.33 v2.08 M18.42 46.86 A54.8 54.8 0 0 0 16.67 60.65 C16.67 78.03 31.59 87.5 50 87.5 s33.33 -9.47 33.33 -26.85 a48.76 48.76 0 0 0 -2.05 -13.79 M33.33 58.33 v2.08 M35.42 35.42 c-1.6 4.38 -4.51 8.45 -9.77 10.42 -8.05 3.01 -14.9 -1.24 -15.23 -4.17 -0.47 -4.14 4.9 -27.21 16.67 -29.17 8.01 -1.34 15.21 3.52 15.21 9.31 A31.24 31.24 0 0 1 58.33 21.99 c0 -5.79 7.68 -10.82 15.7 -9.49 11.76 1.96 17.14 25.03 16.67 29.17 -0.33 2.93 -7.19 7.18 -15.23 4.17 -5.25 -1.97 -7.73 -6.04 -9.33 -10.42" },
+ { id: "cat", name: "Cat", tags: ["cat"], d: "M50 20.83 c2.79 0 5.63 0.38 8.33 1.08 7.42 -8.33 20.96 -11.83 26.75 -9.42 5.83 2.42 -1.75 29.17 -1.75 29.17 2.38 4.46 4.17 9.33 4.17 14.33 C87.5 74.58 70.71 87.5 50 87.5 s-37.5 -12.5 -37.5 -31.5 c0 -5.21 2.08 -10 4.17 -14.33 0 0 -7.87 -26.75 -2.08 -29.17 5.79 -2.42 19.67 0.96 27.08 9.29 A37.67 37.67 0 0 1 50 20.83 Z M33.33 58.33 v2.08 M66.67 58.33 v2.08 M46.88 67.71 h6.25 L50 70.83 l-3.12 -3.12 Z" },
+ { id: "fish", name: "Fish", tags: ["fish"], d: "M27.08 50 c3.92 -14.42 20.58 -25 35.42 -25 14.83 0 25.25 10.58 29.17 25 -3.92 14.46 -14.33 25 -29.17 25 s-31.5 -10.54 -35.42 -25 Z M75 50 v2.08 M66.67 74.71 a40.71 40.71 0 0 1 0 -49.42 M29.17 44.46 C29.17 33.33 23.25 24.88 11.38 22.92 c-4.17 6.25 -4.17 20.83 0.96 27.08 -5.17 6.25 -5.17 20.83 -0.96 27.08 C23.25 75.13 29.17 66.67 29.17 55.54 M43.58 30.25 C42.5 24.5 38.21 17.67 33.33 12.5 h24.17 a8.33 8.33 0 0 1 8.25 6.96 l0.96 5.83 m66.71 74.71 -0.96 5.83 A8.33 8.33 0 0 1 57.5 87.5 H39.58 a24.83 24.83 0 0 0 6.21 -16.58" },
+ { id: "rabbit", name: "Rabbit", tags: ["rabbit"], d: "M54.17 66.67 a12.5 12.5 0 0 1 9.33 20.83 M75 50 h0.04 M75 87.5 h-33.33 a16.67 16.67 0 0 1 -16.67 -16.67 29.17 29.17 0 0 1 29.17 -29.17 h0.83 L40 26.67 a4.17 4.17 0 1 1 11.67 -11.67 L65.83 29.17 h0.83 c13.75 0 25 11.25 25 25 v4.17 a8.33 8.33 0 0 1 -8.33 8.33 h-4.17 a12.5 12.5 0 0 0 -12.5 12.5 M83.33 35.58 V16.67 a8.33 8.33 0 1 0 -16.67 0 v12.5 M31.72 52.18 a12.5 12.5 0 1 0 -6.67 17.92" },
+ { id: "turtle", name: "Turtle", tags: ["turtle"], d: "m50 41.67 8.33 16.67 v12.5 a4.17 4.17 0 0 0 4.17 4.17 h8.33 a4.17 4.17 0 0 0 4.17 -4.17 v-12.5 a33.33 33.33 0 1 0 -66.67 0 v12.5 a4.17 4.17 0 0 0 4.17 4.17 h8.33 a4.17 4.17 0 0 0 4.17 -4.17 v-12.5 l8.33 -16.67 h16.67 Z M20.08 32.92 33.33 41.67 M63.25 32.92 50 41.67 M70.54 41.67 H83.33 a8.33 8.33 0 0 1 0 16.67 H8.33" },
+ { id: "bug-play", name: "Bug Play", tags: ["bug","play"], d: "M53.19 89.68 a2.08 2.08 0 0 1 -3.19 -1.77 v-34.15 a2.08 2.08 0 0 1 3.19 -1.77 l24.49 15.31 a4.17 4.17 0 0 1 0 7.07 z M58.83 16.17 66.67 8.33 M75 45.83 a16.67 16.67 0 0 0 -16.67 -16.67 h-16.67 a16.67 16.67 0 0 0 -16.67 16.67 v12.5 a25.42 25.42 0 0 0 8.33 18.75 M87.38 20.83 c0 8.75 -6.67 15.83 -14.58 16.67 M12.5 87.5 c0 -8.75 7.08 -16.25 15.83 -16.67 M25 54.17 H8.33 M27.21 37.5 C19.17 36.67 12.5 29.58 12.5 20.83 m33.33 8.33 7.83 7.83 M37.5 29.71 v-4.17 a12.51 12.51 0 1 1 25 0 v4.17" },
+ { id: "heart", name: "Heart", tags: ["heart"], d: "M79.17 58.33 c6.21 -6.08 12.5 -13.37 12.5 -22.92 A22.92 22.92 0 0 0 68.75 12.5 c-7.33 0 -12.5 2.08 -18.75 8.33 -6.25 -6.25 -11.42 -8.33 -18.75 -8.33 A22.92 22.92 0 0 0 8.33 35.42 c0 9.58 6.25 16.88 12.5 22.92 l29.17 29.17 Z" },
+ { id: "handshake", name: "Handshake", tags: ["handshake"], d: "m45.83 70.83 8.33 8.33 a4.17 4.17 0 1 0 12.5 -12.5 m58.33 58.33 10.42 10.42 a4.17 4.17 0 1 0 12.5 -12.5 l-16.17 -16.17 a12.5 12.5 0 0 0 -17.67 0 l-3.67 3.67 a4.17 4.17 0 1 1 -12.5 -12.5 l11.71 -11.71 a24.13 24.13 0 0 1 29.42 -3.63 l1.96 1.17 a8.33 8.33 0 0 0 5.92 1.04 L87.5 16.67 m87.5 12.5 4.17 45.83 h-8.33 M12.5 12.5 8.33 58.33 l27.08 27.08 a4.17 4.17 0 1 0 12.5 -12.5 M12.5 16.67 h33.33" },
+ { id: "thumbs-up", name: "Thumbs Up", tags: ["thumbs","up"], d: "M29.17 41.67 v50 M62.5 24.5 58.33 41.67 h24.29 a8.33 8.33 0 0 1 8 10.67 l-9.71 33.33 A8.33 8.33 0 0 1 72.92 91.67 H16.67 a8.33 8.33 0 0 1 -8.33 -8.33 v-33.33 a8.33 8.33 0 0 1 8.33 -8.33 h11.5 a8.33 8.33 0 0 0 7.46 -4.63 L50 8.33 a13.04 13.04 0 0 1 12.5 16.17 Z" },
+ { id: "thumbs-down", name: "Thumbs Down", tags: ["thumbs","down"], d: "M70.83 58.33 V8.33 M37.5 75.5 41.67 58.33 H17.38 a8.33 8.33 0 0 1 -8 -10.67 l9.71 -33.33 A8.33 8.33 0 0 1 27.08 8.33 H83.33 a8.33 8.33 0 0 1 8.33 8.33 v33.33 a8.33 8.33 0 0 1 -8.33 8.33 h-11.5 a8.33 8.33 0 0 0 -7.46 4.63 L50 91.67 a13.04 13.04 0 0 1 -12.5 -16.17 Z" },
+ { id: "smile", name: "Smile", tags: ["smile"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M33.33 58.33 s6.25 8.33 16.67 8.33 16.67 -8.33 16.67 -8.33 M37.5 37.5 L37.54 37.5 M62.5 37.5 L62.54 37.5" },
+ { id: "laugh", name: "Laugh", tags: ["laugh"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M75 54.17 a25 25 0 0 1 -25 20.83 25 25 0 0 1 -25 -20.83 h50 Z M37.5 37.5 L37.54 37.5 M62.5 37.5 L62.54 37.5" },
+ { id: "frown", name: "Frown", tags: ["frown"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M66.67 66.67 s-6.25 -8.33 -16.67 -8.33 -16.67 8.33 -16.67 8.33 M37.5 37.5 L37.54 37.5 M62.5 37.5 L62.54 37.5" },
+ { id: "meh", name: "Meh", tags: ["meh"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M33.33 62.5 L66.67 62.5 M37.5 37.5 L37.54 37.5 M62.5 37.5 L62.54 37.5" },
+ { id: "angry", name: "Angry", tags: ["angry"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M66.67 66.67 s-6.25 -8.33 -16.67 -8.33 -16.67 8.33 -16.67 8.33 M31.25 33.33 41.67 37.5 m58.33 37.5 10.42 -4.17 M37.5 41.67 h0.04 M62.5 41.67 h0.04" },
+ { id: "party-popper", name: "Party Popper", tags: ["party","popper"], d: "M24.17 47.08 8.33 91.67 l44.58 -15.79 M16.67 12.5 h0.04 M91.67 33.33 h0.04 M62.5 8.33 h0.04 M91.67 83.33 h0.04 m91.67 8.33 -9.33 3.13 a12.08 12.08 0 0 0 -8.17 13 c0.42 3.58 -2.37 6.79 -6.04 6.79 h-1.58 c-3.58 0 -6.67 2.5 -7.33 6 L58.33 41.67 m91.67 54.17 -3.42 -1.38 c-3.58 -1.42 -7.58 0.83 -8.25 4.63 c-0.46 2.92 -3 5.08 -5.96 5.08 H70.83 m45.83 8.33 1.38 3.42 c1.42 3.58 -0.83 7.58 -4.63 8.25 C39.67 20.42 37.5 23 37.5 25.96 V29.17 M45.83 54.17 c8.04 8.04 11.79 17.38 8.33 20.83 -3.46 3.46 -12.79 -0.29 -20.83 -8.33 -8.04 -8.04 -11.79 -17.37 -8.33 -20.83 3.46 -3.46 12.79 0.29 20.83 8.33 Z" },
+ { id: "crown", name: "Crown", tags: ["crown"], d: "M48.18 13.61 a2.08 2.08 0 0 1 3.65 0 L64.13 36.96 a4.17 4.17 0 0 0 6.32 1.23 L88.26 22.92 a2.08 2.08 0 0 1 3.33 2.16 l-11.81 42.69 a4.17 4.17 0 0 1 -3.98 3.06 H24.21 a4.17 4.17 0 0 1 -3.99 -3.06 L8.42 25.08 a2.08 2.08 0 0 1 3.33 -2.16 l17.82 15.27 a4.17 4.17 0 0 0 6.32 -1.23 z M20.83 87.5 h58.33" },
+ { id: "trophy", name: "Trophy", tags: ["trophy"], d: "M41.67 61.08 v6.78 a8.33 8.33 0 0 1 -4.07 7.07 A20.83 20.83 0 0 0 29.17 91.58 M58.33 61.08 v6.78 a8.33 8.33 0 0 0 4.07 7.07 A20.83 20.83 0 0 1 70.83 91.58 M75 37.5 h6.25 a4.17 4.17 0 0 0 0 -20.83 H75 M16.67 91.67 h66.67 M25 37.5 a25 25 0 0 0 50 0 V12.5 a4.17 4.17 0 0 0 -4.17 -4.17 H29.17 a4.17 4.17 0 0 0 -4.17 4.17 z M25 37.5 H18.75 a4.17 4.17 0 0 1 0 -20.83 H25" },
+ { id: "medal", name: "Medal", tags: ["medal"], d: "M30.04 62.5 11.08 29.75 a8.33 8.33 0 0 1 0.54 -9.17 L18.33 11.67 A8.33 8.33 0 0 1 25 8.33 h50 a8.33 8.33 0 0 1 6.67 3.33 l6.67 8.92 a8.33 8.33 0 0 1 0.58 9.17 L69.96 62.5 M45.83 50 21.33 9.17 m54.17 50 24.5 -40.83 M33.33 29.17 h33.33 M29.17 70.83 A20.83 20.83 0 1 0 70.83 70.83 A20.83 20.83 0 1 0 29.17 70.83 Z M50 75 v-8.33 h-2.08" },
+ { id: "award", name: "Award", tags: ["award"], d: "m64.49 53.71 6.31 35.53 a2.08 2.08 0 0 1 -3.38 1.96 l-14.92 -11.2 a4.17 4.17 0 0 0 -4.99 0 l-14.94 11.19 a2.08 2.08 0 0 1 -3.38 -1.95 l6.31 -35.52 M25 33.33 A25 25 0 1 0 75 33.33 A25 25 0 1 0 25 33.33 Z" },
+ { id: "gift", name: "Gift", tags: ["gift"], d: "M16.67 33.33 H83.33 A4.17 4.17 0 0 1 87.5 37.5 V45.83 A4.17 4.17 0 0 1 83.33 50 H16.67 A4.17 4.17 0 0 1 12.5 45.83 V37.5 A4.17 4.17 0 0 1 16.67 33.33 Z M50 33.33 v54.17 M79.17 50 v29.17 a8.33 8.33 0 0 1 -8.33 8.33 H29.17 a8.33 8.33 0 0 1 -8.33 -8.33 v-29.17 M31.25 33.33 a10.42 10.42 0 0 1 0 -20.83 A20 33.33 0 0 1 50 33.33 a20 33.33 0 0 1 18.75 -20.83 10.42 10.42 0 0 1 0 20.83" },
+ { id: "cake", name: "Cake", tags: ["cake"], d: "M83.33 87.5 v-33.33 a8.33 8.33 0 0 0 -8.33 -8.33 H25 a8.33 8.33 0 0 0 -8.33 8.33 v33.33 M16.67 66.67 s2.08 -4.17 8.33 -4.17 10.42 8.33 16.67 8.33 10.42 -8.33 16.67 -8.33 10.42 8.33 16.67 8.33 8.33 -4.17 8.33 -4.17 M8.33 87.5 h83.33 M29.17 33.33 v12.5 M50 33.33 v12.5 M70.83 33.33 v12.5 M29.17 16.67 h0.04 M50 16.67 h0.04 M70.83 16.67 h0.04" },
+ { id: "cake-slice", name: "Cake Slice", tags: ["cake","slice"], d: "M29.17 29.17 A8.33 8.33 0 1 0 45.83 29.17 A8.33 8.33 0 1 0 29.17 29.17 Z M30 32.92 12.5 45.83 v37.5 c0 2.5 1.67 4.17 4.17 4.17 h66.67 c2.5 0 4.17 -1.67 4.17 -4.17 v-37.5 c0 -8.33 -12.5 -25 -29.17 -33.33 l-15 10.83 M66.67 54.17 H12.5 M66.67 70.83 H12.5" },
+ { id: "user", name: "User", tags: ["user"], d: "M79.17 87.5 v-8.33 a16.67 16.67 0 0 0 -16.67 -16.67 H37.5 a16.67 16.67 0 0 0 -16.67 16.67 v8.33 M33.33 29.17 A16.67 16.67 0 1 0 66.67 29.17 A16.67 16.67 0 1 0 33.33 29.17 Z" },
+ { id: "users", name: "Users", tags: ["users"], d: "M66.67 87.5 v-8.33 a16.67 16.67 0 0 0 -16.67 -16.67 H25 a16.67 16.67 0 0 0 -16.67 16.67 v8.33 M66.67 13.03 a16.67 16.67 0 0 1 0 32.27 M91.67 87.5 v-8.33 a16.67 16.67 0 0 0 -12.5 -16.12 M20.83 29.17 A16.67 16.67 0 1 0 54.17 29.17 A16.67 16.67 0 1 0 20.83 29.17 Z" },
+ { id: "user-plus", name: "User Plus", tags: ["user","plus"], d: "M66.67 87.5 v-8.33 a16.67 16.67 0 0 0 -16.67 -16.67 H25 a16.67 16.67 0 0 0 -16.67 16.67 v8.33 M20.83 29.17 A16.67 16.67 0 1 0 54.17 29.17 A16.67 16.67 0 1 0 20.83 29.17 Z M79.17 33.33 L79.17 58.33 M91.67 45.83 L66.67 45.83" },
+ { id: "user-check", name: "User Check", tags: ["user","check"], d: "m66.67 45.83 8.33 8.33 16.67 -16.67 M66.67 87.5 v-8.33 a16.67 16.67 0 0 0 -16.67 -16.67 H25 a16.67 16.67 0 0 0 -16.67 16.67 v8.33 M20.83 29.17 A16.67 16.67 0 1 0 54.17 29.17 A16.67 16.67 0 1 0 20.83 29.17 Z" },
+ { id: "user-x", name: "User X", tags: ["user","x"], d: "M66.67 87.5 v-8.33 a16.67 16.67 0 0 0 -16.67 -16.67 H25 a16.67 16.67 0 0 0 -16.67 16.67 v8.33 M20.83 29.17 A16.67 16.67 0 1 0 54.17 29.17 A16.67 16.67 0 1 0 20.83 29.17 Z M70.83 33.33 L91.67 54.17 M91.67 33.33 L70.83 54.17" },
+ { id: "user-cog", name: "User Cog", tags: ["user","cog"], d: "M41.67 62.5 H25 a16.67 16.67 0 0 0 -16.67 16.67 v8.33 m59.6 68.88 3.85 -1.59 m63.45 57.72 -3.85 -1.6 m70.22 50.95 -1.6 -3.85 m70.22 74.05 -1.6 3.85 m79.78 50.95 1.6 -3.85 m81.38 77.9 -1.59 -3.85 m86.55 57.72 3.85 -1.6 m86.55 67.28 3.85 1.6 M62.5 62.5 A12.5 12.5 0 1 0 87.5 62.5 A12.5 12.5 0 1 0 62.5 62.5 Z M20.83 29.17 A16.67 16.67 0 1 0 54.17 29.17 A16.67 16.67 0 1 0 20.83 29.17 Z" },
+ { id: "id-card", name: "Id Card", tags: ["id","card"], d: "M66.67 41.67 h8.33 M66.67 58.33 h8.33 M25.71 62.5 a12.5 12.5 0 0 1 23.58 0 M29.17 45.83 A8.33 8.33 0 1 0 45.83 45.83 A8.33 8.33 0 1 0 29.17 45.83 Z M16.67 20.83 H83.33 A8.33 8.33 0 0 1 91.67 29.17 V70.83 A8.33 8.33 0 0 1 83.33 79.17 H16.67 A8.33 8.33 0 0 1 8.33 70.83 V29.17 A8.33 8.33 0 0 1 16.67 20.83 Z" },
+ { id: "baby", name: "Baby", tags: ["baby"], d: "M41.67 66.67 c2.08 1.25 5 2.08 8.33 2.08 s6.25 -0.83 8.33 -2.08 M62.5 50 h0.04 M80.75 28.39 A37.5 37.5 0 0 1 86.67 42.5 a8.33 8.33 0 0 1 0 15 37.5 37.5 0 0 1 -73.33 0 8.33 8.33 0 0 1 0 -15 A37.5 37.5 0 0 1 50 12.5 c8.33 0 14.58 4.58 14.58 10.42 s-3.75 10.42 -8.33 10.42 c-3.33 0 -6.25 -1.67 -6.25 -4.17 M37.5 50 h0.04" },
+ { id: "graduation-cap", name: "Graduation Cap", tags: ["graduation","cap"], d: "M89.25 45.51 a4.17 4.17 0 0 0 -0.08 -7.66 L53.46 21.58 a8.33 8.33 0 0 0 -6.92 0 L10.83 37.83 a4.17 4.17 0 0 0 0 7.63 l35.71 16.28 a8.33 8.33 0 0 0 6.92 0 z M91.67 41.67 v25 M25 52.08 V66.67 a25 12.5 0 0 0 50 0 v-14.58" },
+ { id: "briefcase", name: "Briefcase", tags: ["briefcase"], d: "M66.67 83.33 V16.67 a8.33 8.33 0 0 0 -8.33 -8.33 h-16.67 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 M16.67 25 H83.33 A8.33 8.33 0 0 1 91.67 33.33 V75 A8.33 8.33 0 0 1 83.33 83.33 H16.67 A8.33 8.33 0 0 1 8.33 75 V33.33 A8.33 8.33 0 0 1 16.67 25 Z" },
+ { id: "mail", name: "Mail", tags: ["mail"], d: "m91.67 29.17 -37.46 23.86 a8.33 8.33 0 0 1 -8.37 0 L8.33 29.17 M16.67 16.67 H83.33 A8.33 8.33 0 0 1 91.67 25 V75 A8.33 8.33 0 0 1 83.33 83.33 H16.67 A8.33 8.33 0 0 1 8.33 75 V25 A8.33 8.33 0 0 1 16.67 16.67 Z" },
+ { id: "send", name: "Send", tags: ["send"], d: "M60.57 90.36 a2.08 2.08 0 0 0 3.9 -0.1 l27.08 -79.17 a2.07 2.07 0 0 0 -2.65 -2.65 l-79.17 27.08 a2.08 2.08 0 0 0 -0.1 3.9 l33.04 13.25 a8.33 8.33 0 0 1 4.63 4.63 z m91.06 8.95 -45.58 45.58" },
+ { id: "inbox", name: "Inbox", tags: ["inbox"], d: "M91.67 L50 L66.67 L50 L58.33 L62.5 L41.67 L62.5 L33.33 L50 L8.33 L50 M22.71 21.29 8.33 50 v25 a8.33 8.33 0 0 0 8.33 8.33 h66.67 a8.33 8.33 0 0 0 8.33 -8.33 v-25 l-14.38 -28.71 A8.33 8.33 0 0 0 69.83 16.67 H30.17 a8.33 8.33 0 0 0 -7.46 4.63 z" },
+ { id: "message-circle", name: "Message Circle", tags: ["message","circle"], d: "M32.92 83.33 A37.5 37.5 0 1 0 16.67 67.08 L8.33 91.67 Z" },
+ { id: "message-square", name: "Message Square", tags: ["message","square"], d: "M87.5 62.5 a8.33 8.33 0 0 1 -8.33 8.33 H29.17 l-16.67 16.67 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h58.33 a8.33 8.33 0 0 1 8.33 8.33 z" },
+ { id: "messages-square", name: "Messages Square", tags: ["messages","square"], d: "M58.33 37.5 a8.33 8.33 0 0 1 -8.33 8.33 H25 l-16.67 16.67 V16.67 a8.33 8.33 0 0 1 8.33 -8.33 h33.33 a8.33 8.33 0 0 1 8.33 8.33 z M75 37.5 h8.33 a8.33 8.33 0 0 1 8.33 8.33 v45.83 l-16.67 -16.67 h-25 a8.33 8.33 0 0 1 -8.33 -8.33 v-4.17" },
+ { id: "phone", name: "Phone", tags: ["phone"], d: "M57.63 69.03 a4.17 4.17 0 0 0 5.05 -1.26 l1.48 -1.94 A8.33 8.33 0 0 1 70.83 62.5 h12.5 a8.33 8.33 0 0 1 8.33 8.33 v12.5 a8.33 8.33 0 0 1 -8.33 8.33 A75 75 0 0 1 8.33 16.67 a8.33 8.33 0 0 1 8.33 -8.33 h12.5 a8.33 8.33 0 0 1 8.33 8.33 v12.5 a8.33 8.33 0 0 1 -3.33 6.67 l-1.95 1.46 a4.17 4.17 0 0 0 -1.22 5.14 58.33 58.33 0 0 0 26.63 26.6" },
+ { id: "phone-call", name: "Phone Call", tags: ["phone","call"], d: "M54.17 8.33 a37.5 37.5 0 0 1 37.5 37.5 M54.17 25 a20.83 20.83 0 0 1 20.83 20.83 M57.63 69.03 a4.17 4.17 0 0 0 5.05 -1.26 l1.48 -1.94 A8.33 8.33 0 0 1 70.83 62.5 h12.5 a8.33 8.33 0 0 1 8.33 8.33 v12.5 a8.33 8.33 0 0 1 -8.33 8.33 A75 75 0 0 1 8.33 16.67 a8.33 8.33 0 0 1 8.33 -8.33 h12.5 a8.33 8.33 0 0 1 8.33 8.33 v12.5 a8.33 8.33 0 0 1 -3.33 6.67 l-1.95 1.46 a4.17 4.17 0 0 0 -1.22 5.14 58.33 58.33 0 0 0 26.63 26.6" },
+ { id: "smartphone", name: "Smartphone", tags: ["smartphone"], d: "M29.17 8.33 H70.83 A8.33 8.33 0 0 1 79.17 16.67 V83.33 A8.33 8.33 0 0 1 70.83 91.67 H29.17 A8.33 8.33 0 0 1 20.83 83.33 V16.67 A8.33 8.33 0 0 1 29.17 8.33 Z M50 75 h0.04" },
+ { id: "smartphone-charging", name: "Smartphone Charging", tags: ["smartphone","charging"], d: "M29.17 8.33 H70.83 A8.33 8.33 0 0 1 79.17 16.67 V83.33 A8.33 8.33 0 0 1 70.83 91.67 H29.17 A8.33 8.33 0 0 1 20.83 83.33 V16.67 A8.33 8.33 0 0 1 29.17 8.33 Z M52.78 33.33 41.67 50 h16.67 l-11.11 16.67" },
+ { id: "bell", name: "Bell", tags: ["bell"], d: "M42.78 87.5 a8.33 8.33 0 0 0 14.43 0 M13.59 63.86 A4.17 4.17 0 0 0 16.67 70.83 h66.67 a4.17 4.17 0 0 0 3.08 -6.97 C80.88 58.15 75 52.08 75 33.33 A25 25 0 0 0 25 33.33 c0 18.75 -5.88 24.82 -11.41 30.53" },
+ { id: "bell-ring", name: "Bell Ring", tags: ["bell","ring"], d: "M42.78 87.5 a8.33 8.33 0 0 0 14.43 0 M91.67 33.33 c0 -9.58 -3.33 -17.92 -8.33 -25 M13.59 63.86 A4.17 4.17 0 0 0 16.67 70.83 h66.67 a4.17 4.17 0 0 0 3.08 -6.97 C80.88 58.15 75 52.08 75 33.33 A25 25 0 0 0 25 33.33 c0 18.75 -5.88 24.82 -11.41 30.53 M16.67 8.33 C11.67 15.42 8.33 23.75 8.33 33.33" },
+ { id: "bell-plus", name: "Bell Plus", tags: ["bell","plus"], d: "M42.78 87.5 a8.33 8.33 0 0 0 14.43 0 M62.5 33.33 h25 M75 20.83 v25 M83.34 60.27 a37.5 37.5 0 0 0 3.08 3.6 A4.17 4.17 0 0 1 83.33 70.83 H16.67 a4.17 4.17 0 0 1 -3.08 -6.97 C19.13 58.15 25 52.08 25 33.33 a25 25 0 0 1 36.46 -22.22" },
+ { id: "megaphone", name: "Megaphone", tags: ["megaphone"], d: "M45.83 25 a54.17 54.17 0 0 0 35 -11.67 A4.17 4.17 0 0 1 87.5 16.67 v50 a4.17 4.17 0 0 1 -6.67 3.33 A54.17 54.17 0 0 0 45.83 58.33 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 V33.33 a8.33 8.33 0 0 1 8.33 -8.33 z M25 58.33 a50 50 0 0 0 10 30 8.33 8.33 0 0 0 13.33 -10 A33.33 33.33 0 0 1 41.67 58.33 M33.33 25 v33.33" },
+ { id: "rss", name: "Rss", tags: ["rss"], d: "M16.67 45.83 a37.5 37.5 0 0 1 37.5 37.5 M16.67 16.67 a66.67 66.67 0 0 1 66.67 66.67 M16.67 79.17 A4.17 4.17 0 1 0 25 79.17 A4.17 4.17 0 1 0 16.67 79.17 Z" },
+ { id: "search", name: "Search", tags: ["search"], d: "m87.5 87.5 -18.08 -18.08 M12.5 45.83 A33.33 33.33 0 1 0 79.17 45.83 A33.33 33.33 0 1 0 12.5 45.83 Z" },
+ { id: "search-code", name: "Search Code", tags: ["search","code"], d: "m54.17 56.25 8.33 -10.42 -8.33 -10.42 m87.5 87.5 -17.92 -17.92 M37.5 35.42 29.17 45.83 l8.33 10.42 M12.5 45.83 A33.33 33.33 0 1 0 79.17 45.83 A33.33 33.33 0 1 0 12.5 45.83 Z" },
+ { id: "search-check", name: "Search Check", tags: ["search","check"], d: "m33.33 45.83 8.33 8.33 16.67 -16.67 M12.5 45.83 A33.33 33.33 0 1 0 79.17 45.83 A33.33 33.33 0 1 0 12.5 45.83 Z m87.5 87.5 -17.92 -17.92" },
+ { id: "filter", name: "Filter", tags: ["filter"], d: "M41.67 83.33 a4.17 4.17 0 0 0 2.3 3.73 l8.33 4.17 A4.17 4.17 0 0 0 58.33 87.5 v-29.17 a8.33 8.33 0 0 1 2.15 -5.59 L90.58 19.46 A4.17 4.17 0 0 0 87.5 12.5 H12.5 a4.17 4.17 0 0 0 -3.09 6.96 l30.1 33.29 A8.33 8.33 0 0 1 41.67 58.33 z" },
+ { id: "sliders-horizontal", name: "Sliders Horizontal", tags: ["sliders","horizontal"], d: "M87.5 16.67 L58.33 16.67 M41.67 16.67 L12.5 16.67 M87.5 50 L50 50 M33.33 50 L12.5 50 M87.5 83.33 L66.67 83.33 M50 83.33 L12.5 83.33 M58.33 8.33 L58.33 25 M33.33 41.67 L33.33 58.33 M66.67 75 L66.67 91.67" },
+ { id: "eye", name: "Eye", tags: ["eye"], d: "M8.59 51.45 a4.17 4.17 0 0 1 0 -2.9 44.79 44.79 0 0 1 82.82 0 4.17 4.17 0 0 1 0 2.9 44.79 44.79 0 0 1 -82.82 0 M37.5 50 A12.5 12.5 0 1 0 62.5 50 A12.5 12.5 0 1 0 37.5 50 Z" },
+ { id: "eye-off", name: "Eye Off", tags: ["eye","off"], d: "M44.72 21.15 a44.77 44.77 0 0 1 46.69 27.4 4.17 4.17 0 0 1 0 2.9 44.78 44.78 0 0 1 -6.02 10.38 M58.68 58.99 a12.5 12.5 0 0 1 -17.67 -17.67 M72.83 72.91 a44.79 44.79 0 0 1 -64.24 -21.46 4.17 4.17 0 0 1 0 -2.9 44.79 44.79 0 0 1 18.52 -21.43 m8.33 8.33 83.33 83.33" },
+ { id: "glasses", name: "Glasses", tags: ["glasses"], d: "M8.33 62.5 A16.67 16.67 0 1 0 41.67 62.5 A16.67 16.67 0 1 0 8.33 62.5 Z M58.33 62.5 A16.67 16.67 0 1 0 91.67 62.5 A16.67 16.67 0 1 0 58.33 62.5 Z M58.33 62.5 a8.33 8.33 0 0 0 -8.33 -8.33 8.33 8.33 0 0 0 -8.33 8.33 M10.42 54.17 20.83 29.17 c2.92 -5.42 5.83 -8.33 12.5 -8.33 M89.58 54.17 79.17 29.17 c-2.92 -5.42 -6.25 -8.33 -12.5 -8.33" },
+ { id: "scan", name: "Scan", tags: ["scan"], d: "M12.5 29.17 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h8.33 M70.83 12.5 h8.33 a8.33 8.33 0 0 1 8.33 8.33 v8.33 M87.5 70.83 v8.33 a8.33 8.33 0 0 1 -8.33 8.33 h-8.33 M29.17 87.5 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 v-8.33" },
+ { id: "scan-face", name: "Scan Face", tags: ["scan","face"], d: "M12.5 29.17 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h8.33 M70.83 12.5 h8.33 a8.33 8.33 0 0 1 8.33 8.33 v8.33 M87.5 70.83 v8.33 a8.33 8.33 0 0 1 -8.33 8.33 h-8.33 M29.17 87.5 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 v-8.33 M33.33 58.33 s6.25 8.33 16.67 8.33 16.67 -8.33 16.67 -8.33 M37.5 37.5 h0.04 M62.5 37.5 h0.04" },
+ { id: "scan-line", name: "Scan Line", tags: ["scan","line"], d: "M12.5 29.17 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h8.33 M70.83 12.5 h8.33 a8.33 8.33 0 0 1 8.33 8.33 v8.33 M87.5 70.83 v8.33 a8.33 8.33 0 0 1 -8.33 8.33 h-8.33 M29.17 87.5 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 v-8.33 M29.17 50 h41.67" },
+ { id: "view", name: "View", tags: ["view"], d: "M87.5 70.83 v8.33 a8.33 8.33 0 0 1 -8.33 8.33 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 v-8.33 M87.5 29.17 V20.83 a8.33 8.33 0 0 0 -8.33 -8.33 H20.83 a8.33 8.33 0 0 0 -8.33 8.33 v8.33 M45.83 50 A4.17 4.17 0 1 0 54.17 50 A4.17 4.17 0 1 0 45.83 50 Z M78.93 51.38 a4.17 4.17 0 0 0 0 -2.75 31.25 31.25 0 0 0 -57.87 0 4.17 4.17 0 0 0 0 2.75 31.25 31.25 0 0 0 57.87 0" },
+ { id: "lock", name: "Lock", tags: ["lock"], d: "M20.83 45.83 H79.17 A8.33 8.33 0 0 1 87.5 54.17 V83.33 A8.33 8.33 0 0 1 79.17 91.67 H20.83 A8.33 8.33 0 0 1 12.5 83.33 V54.17 A8.33 8.33 0 0 1 20.83 45.83 Z M29.17 45.83 V29.17 a20.83 20.83 0 0 1 41.67 0 v16.67" },
+ { id: "lock-open", name: "Lock Open", tags: ["lock","open"], d: "M20.83 45.83 H79.17 A8.33 8.33 0 0 1 87.5 54.17 V83.33 A8.33 8.33 0 0 1 79.17 91.67 H20.83 A8.33 8.33 0 0 1 12.5 83.33 V54.17 A8.33 8.33 0 0 1 20.83 45.83 Z M29.17 45.83 V29.17 a20.83 20.83 0 0 1 41.25 -4.17" },
+ { id: "lock-keyhole", name: "Lock Keyhole", tags: ["lock","keyhole"], d: "M45.83 66.67 A4.17 4.17 0 1 0 54.17 66.67 A4.17 4.17 0 1 0 45.83 66.67 Z M20.83 41.67 H79.17 A8.33 8.33 0 0 1 87.5 50 V83.33 A8.33 8.33 0 0 1 79.17 91.67 H20.83 A8.33 8.33 0 0 1 12.5 83.33 V50 A8.33 8.33 0 0 1 20.83 41.67 Z M29.17 41.67 V29.17 a20.83 20.83 0 0 1 41.67 0 v12.5" },
+ { id: "key", name: "Key", tags: ["key"], d: "m64.58 31.25 9.58 9.58 a4.17 4.17 0 0 0 5.83 0 l8.75 -8.75 a4.17 4.17 0 0 0 0 -5.83 L79.17 16.67 m87.5 8.33 -40 40 M8.33 64.58 A22.92 22.92 0 1 0 54.17 64.58 A22.92 22.92 0 1 0 8.33 64.58 Z" },
+ { id: "key-round", name: "Key Round", tags: ["key","round"], d: "M10.78 72.56 A8.33 8.33 0 0 0 8.33 78.45 V87.5 a4.17 4.17 0 0 0 4.17 4.17 h12.5 a4.17 4.17 0 0 0 4.17 -4.17 v-4.17 a4.17 4.17 0 0 1 4.17 -4.17 h4.17 a4.17 4.17 0 0 0 4.17 -4.17 v-4.17 a4.17 4.17 0 0 1 4.17 -4.17 h0.72 a8.33 8.33 0 0 0 5.89 -2.44 l3.39 -3.39 a27.08 27.08 0 1 0 -16.67 -16.67 z M66.67 31.25 A2.08 2.08 0 1 0 70.83 31.25 A2.08 2.08 0 1 0 66.67 31.25 Z" },
+ { id: "shield", name: "Shield", tags: ["shield"], d: "M83.33 54.17 c0 20.83 -14.58 31.25 -31.92 37.29 a4.17 4.17 0 0 1 -2.79 -0.04 C31.25 85.42 16.67 75 16.67 54.17 V25 a4.17 4.17 0 0 1 4.17 -4.17 c8.33 0 18.75 -5 26 -11.33 a4.88 4.88 0 0 1 6.33 0 C60.46 15.88 70.83 20.83 79.17 20.83 a4.17 4.17 0 0 1 4.17 4.17 z" },
+ { id: "shield-check", name: "Shield Check", tags: ["shield","check"], d: "M83.33 54.17 c0 20.83 -14.58 31.25 -31.92 37.29 a4.17 4.17 0 0 1 -2.79 -0.04 C31.25 85.42 16.67 75 16.67 54.17 V25 a4.17 4.17 0 0 1 4.17 -4.17 c8.33 0 18.75 -5 26 -11.33 a4.88 4.88 0 0 1 6.33 0 C60.46 15.88 70.83 20.83 79.17 20.83 a4.17 4.17 0 0 1 4.17 4.17 z m37.5 50 8.33 8.33 16.67 -16.67" },
+ { id: "shield-alert", name: "Shield Alert", tags: ["shield","alert"], d: "M83.33 54.17 c0 20.83 -14.58 31.25 -31.92 37.29 a4.17 4.17 0 0 1 -2.79 -0.04 C31.25 85.42 16.67 75 16.67 54.17 V25 a4.17 4.17 0 0 1 4.17 -4.17 c8.33 0 18.75 -5 26 -11.33 a4.88 4.88 0 0 1 6.33 0 C60.46 15.88 70.83 20.83 79.17 20.83 a4.17 4.17 0 0 1 4.17 4.17 z M50 33.33 v16.67 M50 66.67 h0.04" },
+ { id: "swords", name: "Swords", tags: ["swords"], d: "M60.42 L72.92 L12.5 L25 L12.5 L12.5 L25 L12.5 L72.92 L60.42 M54.17 79.17 L79.17 54.17 M66.67 66.67 L83.33 83.33 M79.17 87.5 L87.5 79.17 M60.42 L27.08 L75 L12.5 L87.5 L12.5 L87.5 L25 L72.92 L39.58 M20.83 58.33 L37.5 75 M29.17 70.83 L16.67 83.33 M12.5 79.17 L20.83 87.5" },
+ { id: "sword", name: "Sword", tags: ["sword"], d: "M60.42 L72.92 L12.5 L25 L12.5 L12.5 L25 L12.5 L72.92 L60.42 M54.17 79.17 L79.17 54.17 M66.67 66.67 L83.33 83.33 M79.17 87.5 L87.5 79.17" },
+ { id: "hammer", name: "Hammer", tags: ["hammer"], d: "m62.5 50 -34.89 34.89 a4.17 4.17 0 1 1 -12.5 -12.5 L50 37.5 m75 62.5 16.67 -16.67 m89.58 47.92 -7.97 -7.97 A8.33 8.33 0 0 1 79.17 34.05 V29.17 l-9.42 -9.42 a25 25 0 0 0 -17.51 -7.32 L37.5 12.33 l3.83 3.42 A25.75 25.75 0 0 1 50 35 V41.67 l8.33 8.33 h4.88 a8.33 8.33 0 0 1 5.89 2.44 L77.08 60.42" },
+ { id: "wrench", name: "Wrench", tags: ["wrench"], d: "M61.25 26.25 a4.17 4.17 0 0 0 0 5.83 l6.67 6.67 a4.17 4.17 0 0 0 5.83 0 l15.71 -15.71 a25 25 0 0 1 -33.08 33.08 l-28.79 28.79 a8.83 8.83 0 0 1 -12.5 -12.5 l28.79 -28.79 a25 25 0 0 1 33.08 -33.08 l-15.67 15.67 z" },
+ { id: "settings", name: "Settings", tags: ["settings"], d: "M50.92 8.33 h-1.83 a8.33 8.33 0 0 0 -8.33 8.33 v0.75 a8.33 8.33 0 0 1 -4.17 7.21 l-1.79 1.04 a8.33 8.33 0 0 1 -8.33 0 l-0.62 -0.33 a8.33 8.33 0 0 0 -11.37 3.04 l-0.92 1.58 a8.33 8.33 0 0 0 3.04 11.38 l0.63 0.42 a8.33 8.33 0 0 1 4.17 7.17 v2.13 a8.33 8.33 0 0 1 -4.17 7.25 l-0.62 0.38 a8.33 8.33 0 0 0 -3.04 11.38 l0.92 1.58 a8.33 8.33 0 0 0 11.38 3.04 l0.63 -0.33 a8.33 8.33 0 0 1 8.33 0 l1.79 1.04 a8.33 8.33 0 0 1 4.17 7.21 V83.33 a8.33 8.33 0 0 0 8.33 8.33 h1.83 a8.33 8.33 0 0 0 8.33 -8.33 v-0.75 a8.33 8.33 0 0 1 4.17 -7.21 l1.79 -1.04 a8.33 8.33 0 0 1 8.33 0 l0.63 0.33 a8.33 8.33 0 0 0 11.38 -3.04 l0.92 -1.63 a8.33 8.33 0 0 0 -3.04 -11.37 l-0.62 -0.33 a8.33 8.33 0 0 1 -4.17 -7.25 v-2.08 a8.33 8.33 0 0 1 4.17 -7.25 l0.63 -0.37 a8.33 8.33 0 0 0 3.04 -11.37 l-0.92 -1.58 a8.33 8.33 0 0 0 -11.37 -3.04 l-0.62 0.33 a8.33 8.33 0 0 1 -8.33 0 l-1.79 -1.04 a8.33 8.33 0 0 1 -4.17 -7.21 V16.67 a8.33 8.33 0 0 0 -8.33 -8.33 z M37.5 50 A12.5 12.5 0 1 0 62.5 50 A12.5 12.5 0 1 0 37.5 50 Z" },
+ { id: "settings-2", name: "Settings 2", tags: ["settings","2"], d: "M58.33 70.83 H20.83 M79.17 29.17 h-37.5 M58.33 70.83 A12.5 12.5 0 1 0 83.33 70.83 A12.5 12.5 0 1 0 58.33 70.83 Z M16.67 29.17 A12.5 12.5 0 1 0 41.67 29.17 A12.5 12.5 0 1 0 16.67 29.17 Z" },
+ { id: "cog", name: "Cog", tags: ["cog"], d: "M50 83.33 a33.33 33.33 0 1 0 0 -66.67 33.33 33.33 0 0 0 0 66.67 Z M50 58.33 a8.33 8.33 0 1 0 0 -16.67 8.33 8.33 0 0 0 0 16.67 Z M50 8.33 v8.33 M50 91.67 v-8.33 m70.83 86.08 -4.17 -7.21 M45.83 42.79 29.17 13.92 m86.08 70.83 -7.21 -4.17 m13.92 29.17 7.21 4.17 M58.33 50 h33.33 M8.33 50 h8.33 m86.08 29.17 -7.21 4.17 m13.92 70.83 7.21 -4.17 m70.83 13.92 -4.17 7.21 m45.83 57.21 -16.67 28.88" },
+ { id: "file", name: "File", tags: ["file"], d: "M62.5 8.33 H25 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 Z M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67" },
+ { id: "file-text", name: "File Text", tags: ["file","text"], d: "M62.5 8.33 H25 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 Z M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 M41.67 37.5 H33.33 M66.67 54.17 H33.33 M66.67 70.83 H33.33" },
+ { id: "file-plus", name: "File Plus", tags: ["file","plus"], d: "M62.5 8.33 H25 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 Z M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 M37.5 62.5 h25 M50 75 v-25" },
+ { id: "file-check", name: "File Check", tags: ["file","check"], d: "M62.5 8.33 H25 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 Z M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 m37.5 62.5 8.33 8.33 16.67 -16.67" },
+ { id: "file-x", name: "File X", tags: ["file","x"], d: "M62.5 8.33 H25 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 Z M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 m60.42 52.08 -20.83 20.83 m39.58 52.08 20.83 20.83" },
+ { id: "file-search", name: "File Search", tags: ["file","search"], d: "M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 M17.78 87.5 a8.33 8.33 0 0 0 7.2 4.17 H75 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 l-20.83 -20.83 H25 a8.33 8.33 0 0 0 -8.33 8.33 v12.5 m37.5 75 -6.25 -6.25 M8.33 58.33 A12.5 12.5 0 1 0 33.33 58.33 A12.5 12.5 0 1 0 8.33 58.33 Z" },
+ { id: "file-code", name: "File Code", tags: ["file","code"], d: "M41.67 52.08 33.33 62.5 l8.33 10.42 m58.33 52.08 8.33 10.42 -8.33 10.42 M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 M62.5 8.33 H25 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 z" },
+ { id: "file-image", name: "File Image", tags: ["file","image"], d: "M62.5 8.33 H25 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 Z M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 M33.33 50 A8.33 8.33 0 1 0 50 50 A8.33 8.33 0 1 0 33.33 50 Z m83.33 70.83 -5.4 -5.4 a10.04 10.04 0 0 0 -14.2 0 L37.5 91.67" },
+ { id: "file-audio", name: "File Audio", tags: ["file","audio"], d: "M72.92 91.67 h2.08 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 l-20.83 -20.83 H25 a8.33 8.33 0 0 0 -8.33 8.33 v12.5 M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 M8.33 79.17 a8.33 8.33 0 1 1 16.67 0 v4.17 a8.33 8.33 0 1 1 -16.67 0 v-16.67 a25 25 0 0 1 50 0 v16.67 a8.33 8.33 0 1 1 -16.67 0 v-4.17 a8.33 8.33 0 1 1 16.67 0" },
+ { id: "file-video", name: "File Video", tags: ["file","video"], d: "M62.5 8.33 H25 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 Z M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 m41.67 45.83 20.83 12.5 -20.83 12.5 v-25 Z" },
+ { id: "file-archive", name: "File Archive", tags: ["file","archive"], d: "M41.67 50 v-4.17 M41.67 75 v-8.33 M41.67 29.17 V25 M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 M64.58 91.67 H75 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 l-20.83 -20.83 H25 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 a8.33 8.33 0 0 0 1.14 4.21 M33.33 83.33 A8.33 8.33 0 1 0 50 83.33 A8.33 8.33 0 1 0 33.33 83.33 Z" },
+ { id: "file-spreadsheet", name: "File Spreadsheet", tags: ["file","spreadsheet"], d: "M62.5 8.33 H25 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 Z M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 M33.33 54.17 h8.33 M58.33 54.17 h8.33 M33.33 70.83 h8.33 M58.33 70.83 h8.33" },
+ { id: "file-json", name: "File Json", tags: ["file","json"], d: "M62.5 8.33 H25 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 Z M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 M41.67 50 a4.17 4.17 0 0 0 -4.17 4.17 v4.17 a4.17 4.17 0 0 1 -4.17 4.17 4.17 4.17 0 0 1 4.17 4.17 v4.17 a4.17 4.17 0 0 0 4.17 4.17 M58.33 75 a4.17 4.17 0 0 0 4.17 -4.17 v-4.17 a4.17 4.17 0 0 1 4.17 -4.17 4.17 4.17 0 0 1 -4.17 -4.17 v-4.17 a4.17 4.17 0 0 0 -4.17 -4.17" },
+ { id: "files", name: "Files", tags: ["files"], d: "M83.33 29.17 h-12.5 a8.33 8.33 0 0 1 -8.33 -8.33 V8.33 M37.5 75 a8.33 8.33 0 0 1 -8.33 -8.33 V16.67 a8.33 8.33 0 0 1 8.33 -8.33 h29.17 l16.67 16.67 v41.67 a8.33 8.33 0 0 1 -8.33 8.33 Z M12.5 31.67 v53.33 A6.67 6.67 0 0 0 19.17 91.67 h40.83" },
+ { id: "folder", name: "Folder", tags: ["folder"], d: "M83.33 83.33 a8.33 8.33 0 0 0 8.33 -8.33 V33.33 a8.33 8.33 0 0 0 -8.33 -8.33 h-32.92 a8.33 8.33 0 0 1 -7.04 -3.75 L40 16.25 A8.33 8.33 0 0 0 33.04 12.5 H16.67 a8.33 8.33 0 0 0 -8.33 8.33 v54.17 a8.33 8.33 0 0 0 8.33 8.33 Z" },
+ { id: "folder-plus", name: "Folder Plus", tags: ["folder","plus"], d: "M50 41.67 v25 M37.5 54.17 h25 M83.33 83.33 a8.33 8.33 0 0 0 8.33 -8.33 V33.33 a8.33 8.33 0 0 0 -8.33 -8.33 h-32.92 a8.33 8.33 0 0 1 -7.04 -3.75 L40 16.25 A8.33 8.33 0 0 0 33.04 12.5 H16.67 a8.33 8.33 0 0 0 -8.33 8.33 v54.17 a8.33 8.33 0 0 0 8.33 8.33 Z" },
+ { id: "folder-open", name: "Folder Open", tags: ["folder","open"], d: "m25 58.33 6.25 -12.08 A8.33 8.33 0 0 1 38.5 41.67 H83.33 a8.33 8.33 0 0 1 8.08 10.42 l-6.42 25 a8.33 8.33 0 0 1 -8.12 6.25 H16.67 a8.33 8.33 0 0 1 -8.33 -8.33 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h16.25 a8.33 8.33 0 0 1 7.04 3.75 l3.38 5 a8.33 8.33 0 0 0 6.96 3.75 H75 a8.33 8.33 0 0 1 8.33 8.33 v8.33" },
+ { id: "folder-search", name: "Folder Search", tags: ["folder","search"], d: "M44.58 83.33 H16.67 a8.33 8.33 0 0 1 -8.33 -8.33 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h16.25 a8.33 8.33 0 0 1 7.04 3.75 l3.38 5 a8.33 8.33 0 0 0 6.96 3.75 H83.33 a8.33 8.33 0 0 1 8.33 8.33 v17.08 m87.5 87.5 -7.92 -7.92 M58.33 70.83 A12.5 12.5 0 1 0 83.33 70.83 A12.5 12.5 0 1 0 58.33 70.83 Z" },
+ { id: "folder-tree", name: "Folder Tree", tags: ["folder","tree"], d: "M83.33 41.67 a4.17 4.17 0 0 0 4.17 -4.17 V25 a4.17 4.17 0 0 0 -4.17 -4.17 h-10.42 a4.17 4.17 0 0 1 -3.33 -1.67 l-3.75 -5 A4.17 4.17 0 0 0 62.5 12.5 h-8.33 a4.17 4.17 0 0 0 -4.17 4.17 v20.83 a4.17 4.17 0 0 0 4.17 4.17 Z M83.33 87.5 a4.17 4.17 0 0 0 4.17 -4.17 v-12.5 a4.17 4.17 0 0 0 -4.17 -4.17 h-12.08 a4.17 4.17 0 0 1 -3.67 -2.29 l-1.75 -3.54 a4.17 4.17 0 0 0 -3.83 -2.5 H54.17 a4.17 4.17 0 0 0 -4.17 4.17 v20.83 a4.17 4.17 0 0 0 4.17 4.17 Z M12.5 20.83 a8.33 8.33 0 0 0 8.33 8.33 h12.5 M12.5 12.5 v54.17 a8.33 8.33 0 0 0 8.33 8.33 h12.5" },
+ { id: "clipboard", name: "Clipboard", tags: ["clipboard"], d: "M37.5 8.33 H62.5 A4.17 4.17 0 0 1 66.67 12.5 V20.83 A4.17 4.17 0 0 1 62.5 25 H37.5 A4.17 4.17 0 0 1 33.33 20.83 V12.5 A4.17 4.17 0 0 1 37.5 8.33 Z M66.67 16.67 h8.33 a8.33 8.33 0 0 1 8.33 8.33 v58.33 a8.33 8.33 0 0 1 -8.33 8.33 H25 a8.33 8.33 0 0 1 -8.33 -8.33 V25 a8.33 8.33 0 0 1 8.33 -8.33 h8.33" },
+ { id: "clipboard-list", name: "Clipboard List", tags: ["clipboard","list"], d: "M37.5 8.33 H62.5 A4.17 4.17 0 0 1 66.67 12.5 V20.83 A4.17 4.17 0 0 1 62.5 25 H37.5 A4.17 4.17 0 0 1 33.33 20.83 V12.5 A4.17 4.17 0 0 1 37.5 8.33 Z M66.67 16.67 h8.33 a8.33 8.33 0 0 1 8.33 8.33 v58.33 a8.33 8.33 0 0 1 -8.33 8.33 H25 a8.33 8.33 0 0 1 -8.33 -8.33 V25 a8.33 8.33 0 0 1 8.33 -8.33 h8.33 M50 45.83 h16.67 M50 66.67 h16.67 M33.33 45.83 h0.04 M33.33 66.67 h0.04" },
+ { id: "clipboard-check", name: "Clipboard Check", tags: ["clipboard","check"], d: "M37.5 8.33 H62.5 A4.17 4.17 0 0 1 66.67 12.5 V20.83 A4.17 4.17 0 0 1 62.5 25 H37.5 A4.17 4.17 0 0 1 33.33 20.83 V12.5 A4.17 4.17 0 0 1 37.5 8.33 Z M66.67 16.67 h8.33 a8.33 8.33 0 0 1 8.33 8.33 v58.33 a8.33 8.33 0 0 1 -8.33 8.33 H25 a8.33 8.33 0 0 1 -8.33 -8.33 V25 a8.33 8.33 0 0 1 8.33 -8.33 h8.33 m37.5 58.33 8.33 8.33 16.67 -16.67" },
+ { id: "clipboard-x", name: "Clipboard X", tags: ["clipboard","x"], d: "M37.5 8.33 H62.5 A4.17 4.17 0 0 1 66.67 12.5 V20.83 A4.17 4.17 0 0 1 62.5 25 H37.5 A4.17 4.17 0 0 1 33.33 20.83 V12.5 A4.17 4.17 0 0 1 37.5 8.33 Z M66.67 16.67 h8.33 a8.33 8.33 0 0 1 8.33 8.33 v58.33 a8.33 8.33 0 0 1 -8.33 8.33 H25 a8.33 8.33 0 0 1 -8.33 -8.33 V25 a8.33 8.33 0 0 1 8.33 -8.33 h8.33 m62.5 45.83 -25 25 m37.5 45.83 25 25" },
+ { id: "notebook-pen", name: "Notebook Pen", tags: ["notebook","pen"], d: "M55.83 8.33 H25 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 v-30.83 M8.33 25 h16.67 M8.33 41.67 h16.67 M8.33 58.33 h16.67 M8.33 75 h16.67 M89.08 23.44 a4.17 4.17 0 1 0 -12.52 -12.52 l-20.87 20.88 a8.33 8.33 0 0 0 -2.11 3.56 l-3.49 11.96 a2.08 2.08 0 0 0 2.58 2.58 l11.96 -3.49 a8.33 8.33 0 0 0 3.56 -2.11 z" },
+ { id: "book", name: "Book", tags: ["book"], d: "M16.67 81.25 v-62.5 A10.42 10.42 0 0 1 27.08 8.33 H79.17 a4.17 4.17 0 0 1 4.17 4.17 v75 a4.17 4.17 0 0 1 -4.17 4.17 H27.08 a4.17 4.17 0 0 1 0 -20.83 H83.33" },
+ { id: "book-open", name: "Book Open", tags: ["book","open"], d: "M50 29.17 v58.33 M12.5 75 a4.17 4.17 0 0 1 -4.17 -4.17 V16.67 a4.17 4.17 0 0 1 4.17 -4.17 h20.83 a16.67 16.67 0 0 1 16.67 16.67 16.67 16.67 0 0 1 16.67 -16.67 h20.83 a4.17 4.17 0 0 1 4.17 4.17 v54.17 a4.17 4.17 0 0 1 -4.17 4.17 h-25 a12.5 12.5 0 0 0 -12.5 12.5 12.5 12.5 0 0 0 -12.5 -12.5 z" },
+ { id: "book-marked", name: "Book Marked", tags: ["book","marked"], d: "M41.67 8.33 v33.33 l12.5 -12.5 12.5 12.5 V8.33 M16.67 81.25 v-62.5 A10.42 10.42 0 0 1 27.08 8.33 H79.17 a4.17 4.17 0 0 1 4.17 4.17 v75 a4.17 4.17 0 0 1 -4.17 4.17 H27.08 a4.17 4.17 0 0 1 0 -20.83 H83.33" },
+ { id: "library", name: "Library", tags: ["library"], d: "m66.67 25 16.67 58.33 M50 25 v58.33 M33.33 33.33 v50 M16.67 16.67 v66.67" },
+ { id: "bookmark", name: "Bookmark", tags: ["bookmark"], d: "m79.17 87.5 -29.17 -16.67 -29.17 16.67 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h41.67 a8.33 8.33 0 0 1 8.33 8.33 v66.67 z" },
+ { id: "pen-tool", name: "Pen Tool", tags: ["pen","tool"], d: "M65.45 88.72 a4.17 4.17 0 0 1 -5.89 0 l-6.61 -6.61 a4.17 4.17 0 0 1 0 -5.89 l23.28 -23.27 a4.17 4.17 0 0 1 5.89 0 l6.61 6.61 a4.17 4.17 0 0 1 0 5.89 z m75 54.17 -5.73 -28.64 a4.17 4.17 0 0 0 -3.11 -3.23 L13.48 8.45 a4.17 4.17 0 0 0 -5.03 5.03 L22.29 66.16 a4.17 4.17 0 0 0 3.23 3.11 L54.17 75 m9.58 9.58 30.36 30.36 M37.5 45.83 A8.33 8.33 0 1 0 54.17 45.83 A8.33 8.33 0 1 0 37.5 45.83 Z" },
+ { id: "pencil", name: "Pencil", tags: ["pencil"], d: "M88.23 28.38 a4.17 4.17 0 0 0 -16.61 -16.61 L16.01 67.39 a8.33 8.33 0 0 0 -2.08 3.46 l-5.5 18.13 a2.08 2.08 0 0 0 2.6 2.59 l18.14 -5.5 a8.33 8.33 0 0 0 3.46 -2.07 z m62.5 20.83 16.67 16.67" },
+ { id: "pencil-line", name: "Pencil Line", tags: ["pencil","line"], d: "M50 83.33 h37.5 M68.23 15.09 a4.17 4.17 0 0 1 12.51 12.51 L30.7 77.65 a8.33 8.33 0 0 1 -3.56 2.11 l-11.97 3.49 a2.08 2.08 0 0 1 -2.58 -2.58 l3.49 -11.97 a8.33 8.33 0 0 1 2.11 -3.56 z m62.5 20.83 12.5 12.5" },
+ { id: "edit-2", name: "Edit 2", tags: ["edit","2"], d: "M88.23 28.38 a4.17 4.17 0 0 0 -16.61 -16.61 L16.01 67.39 a8.33 8.33 0 0 0 -2.08 3.46 l-5.5 18.13 a2.08 2.08 0 0 0 2.6 2.59 l18.14 -5.5 a8.33 8.33 0 0 0 3.46 -2.07 z" },
+ { id: "edit-3", name: "Edit 3", tags: ["edit","3"], d: "M50 83.33 h37.5 M68.23 15.09 a4.17 4.17 0 0 1 12.51 12.51 L30.7 77.65 a8.33 8.33 0 0 1 -3.56 2.11 l-11.97 3.49 a2.08 2.08 0 0 1 -2.58 -2.58 l3.49 -11.97 a8.33 8.33 0 0 1 2.11 -3.56 z" },
+ { id: "eraser", name: "Eraser", tags: ["eraser"], d: "M87.5 87.5 H33.33 a8.33 8.33 0 0 1 -5.92 -2.45 l-16.64 -16.66 a8.33 8.33 0 0 1 0 -11.78 l41.67 -41.67 a8.33 8.33 0 0 1 11.79 0 l25 25 a8.33 8.33 0 0 1 0 11.78 L53.48 87.5 m21.18 46.21 36.78 36.78" },
+ { id: "highlighter", name: "Highlighter", tags: ["highlighter"], d: "m37.5 45.83 -25 25 v12.5 h37.5 l12.5 -12.5 m91.67 50 -19.17 19.17 a8.33 8.33 0 0 1 -11.67 0 l-21.67 -21.67 a8.33 8.33 0 0 1 0 -11.67 L58.33 16.67" },
+ { id: "paintbrush", name: "Paintbrush", tags: ["paintbrush"], d: "m60.93 74.57 -44.5 -12.14 M76.57 10.93 a4.17 4.17 0 1 1 12.51 12.51 L72.33 40.18 a2.08 2.08 0 0 0 0 2.95 l3.93 3.93 a10.04 10.04 0 0 1 0 14.2 l-3.93 3.93 a2.08 2.08 0 0 1 -2.95 0 L34.81 30.62 a2.08 2.08 0 0 1 0 -2.95 l3.93 -3.93 a10.04 10.04 0 0 1 14.2 0 l3.93 3.93 a2.08 2.08 0 0 0 2.95 0 z M37.5 33.33 c-7.52 11.29 -16.54 14.42 -27.43 16.45 a2.11 2.11 0 0 0 -1.26 3.41 l30.5 37.01 a4.17 4.17 0 0 0 4.94 0.85 C53.06 85.02 66.67 69.97 66.67 62.5" },
+ { id: "paint-roller", name: "Paint Roller", tags: ["paint","roller"], d: "M16.67 8.33 H66.67 A8.33 8.33 0 0 1 75 16.67 V25 A8.33 8.33 0 0 1 66.67 33.33 H16.67 A8.33 8.33 0 0 1 8.33 25 V16.67 A8.33 8.33 0 0 1 16.67 8.33 Z M41.67 66.67 v-8.33 a8.33 8.33 0 0 1 8.33 -8.33 h33.33 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 a8.33 8.33 0 0 0 -8.33 -8.33 h-8.33 M37.5 66.67 H45.83 A4.17 4.17 0 0 1 50 70.83 V87.5 A4.17 4.17 0 0 1 45.83 91.67 H37.5 A4.17 4.17 0 0 1 33.33 87.5 V70.83 A4.17 4.17 0 0 1 37.5 66.67 Z" },
+ { id: "palette", name: "Palette", tags: ["palette"], d: "M50 91.67 a4.17 4.17 0 0 1 0 -83.33 41.67 37.5 0 0 1 41.67 37.5 20.83 20.83 0 0 1 -20.83 20.83 h-9.37 a7.29 7.29 0 0 0 -5.83 11.67 l1.25 1.67 a7.29 7.29 0 0 1 -5.83 11.67 z M54.17 27.08 A2.08 2.08 0 1 0 58.33 27.08 A2.08 2.08 0 1 0 54.17 27.08 Z M70.83 43.75 A2.08 2.08 0 1 0 75 43.75 A2.08 2.08 0 1 0 70.83 43.75 Z M25 52.08 A2.08 2.08 0 1 0 29.17 52.08 A2.08 2.08 0 1 0 25 52.08 Z M33.33 31.25 A2.08 2.08 0 1 0 37.5 31.25 A2.08 2.08 0 1 0 33.33 31.25 Z" },
+ { id: "brush", name: "Brush", tags: ["brush"], d: "m45.83 41.67 12.5 12.5 M27.08 87.5 A14.58 14.58 0 1 0 12.5 72.92 a10.92 10.92 0 0 1 -2.95 7.47 A4.17 4.17 0 0 0 12.5 87.5 z M41.54 70.96 89.08 23.43 a4.17 4.17 0 0 0 -12.51 -12.51 L29.03 58.46" },
+ { id: "spray-can", name: "Spray Can", tags: ["spray","can"], d: "M12.5 12.5 h0.04 M29.17 20.83 h0.04 M45.83 29.17 h0.04 M12.5 29.17 h0.04 M29.17 37.5 h0.04 M12.5 45.83 h0.04 M62.5 20.83 H79.17 V37.5 H62.5 Z m79.17 37.5 8.33 8.33 v41.67 c0 2.5 -1.67 4.17 -4.17 4.17 h-25 c-2.5 0 -4.17 -1.67 -4.17 -4.17 V45.83 l8.33 -8.33 m54.17 58.33 33.33 -8.33 m54.17 79.17 33.33 -8.33" },
+ { id: "scissors", name: "Scissors", tags: ["scissors"], d: "M12.5 25 A12.5 12.5 0 1 0 37.5 25 A12.5 12.5 0 1 0 12.5 25 Z M33.83 33.83 50 50 M83.33 16.67 33.83 66.17 M12.5 75 A12.5 12.5 0 1 0 37.5 75 A12.5 12.5 0 1 0 12.5 75 Z M61.67 61.67 83.33 83.33" },
+ { id: "slice", name: "Slice", tags: ["slice"], d: "M45.83 69.11 V79.17 a4.17 4.17 0 0 1 -4.17 4.17 H8.33 L76.54 15.13 a4.17 4.17 0 1 1 12.5 12.5 l-40.26 40.26 a4.17 4.17 0 0 1 -5.89 0 L33.33 58.33" },
+ { id: "printer", name: "Printer", tags: ["printer"], d: "M25 75 H16.67 a8.33 8.33 0 0 1 -8.33 -8.33 v-20.83 a8.33 8.33 0 0 1 8.33 -8.33 h66.67 a8.33 8.33 0 0 1 8.33 8.33 v20.83 a8.33 8.33 0 0 1 -8.33 8.33 h-8.33 M25 37.5 V12.5 a4.17 4.17 0 0 1 4.17 -4.17 h41.67 a4.17 4.17 0 0 1 4.17 4.17 v25 M29.17 58.33 H70.83 A4.17 4.17 0 0 1 75 62.5 V87.5 A4.17 4.17 0 0 1 70.83 91.67 H29.17 A4.17 4.17 0 0 1 25 87.5 V62.5 A4.17 4.17 0 0 1 29.17 58.33 Z" },
+ { id: "type", name: "Type", tags: ["type"], d: "M50 16.67 v66.67 M16.67 29.17 V20.83 a4.17 4.17 0 0 1 4.17 -4.17 h58.33 a4.17 4.17 0 0 1 4.17 4.17 v8.33 M37.5 83.33 h25" },
+ { id: "case-upper", name: "Case Upper", tags: ["case","upper"], d: "m12.5 62.5 16.67 -33.33 16.67 33.33 M16.67 54.17 h25 M62.5 45.83 h18.75 a8.33 8.33 0 0 1 0 16.67 H62.5 V29.17 h16.67 a8.33 8.33 0 0 1 0 16.67" },
+ { id: "case-lower", name: "Case Lower", tags: ["case","lower"], d: "M16.67 50 A12.5 12.5 0 1 0 41.67 50 A12.5 12.5 0 1 0 16.67 50 Z M41.67 37.5 v25 M58.33 50 A12.5 12.5 0 1 0 83.33 50 A12.5 12.5 0 1 0 58.33 50 Z M58.33 29.17 v33.33" },
+ { id: "bold", name: "Bold", tags: ["bold"], d: "M25 50 h37.5 a16.67 16.67 0 0 1 0 33.33 H29.17 a4.17 4.17 0 0 1 -4.17 -4.17 V20.83 a4.17 4.17 0 0 1 4.17 -4.17 h29.17 a16.67 16.67 0 0 1 0 33.33" },
+ { id: "italic", name: "Italic", tags: ["italic"], d: "M79.17 16.67 L41.67 16.67 M58.33 83.33 L20.83 83.33 M62.5 16.67 L37.5 83.33" },
+ { id: "underline", name: "Underline", tags: ["underline"], d: "M25 16.67 v25 a25 25 0 0 0 50 0 V16.67 M16.67 83.33 L83.33 83.33" },
+ { id: "strikethrough", name: "Strikethrough", tags: ["strikethrough"], d: "M66.67 16.67 H37.5 a12.5 12.5 0 0 0 -11.79 16.67 M58.33 50 a16.67 16.67 0 0 1 0 33.33 H25 M16.67 50 L83.33 50" },
+ { id: "list", name: "List", tags: ["list"], d: "M12.5 50 h0.04 M12.5 75 h0.04 M12.5 25 h0.04 M33.33 50 h54.17 M33.33 75 h54.17 M33.33 25 h54.17" },
+ { id: "list-checks", name: "List Checks", tags: ["list","checks"], d: "m12.5 70.83 8.33 8.33 16.67 -16.67 m12.5 29.17 8.33 8.33 16.67 -16.67 M54.17 25 h33.33 M54.17 50 h33.33 M54.17 75 h33.33" },
+ { id: "list-todo", name: "List Todo", tags: ["list","todo"], d: "M16.67 20.83 H33.33 A4.17 4.17 0 0 1 37.5 25 V41.67 A4.17 4.17 0 0 1 33.33 45.83 H16.67 A4.17 4.17 0 0 1 12.5 41.67 V25 A4.17 4.17 0 0 1 16.67 20.83 Z m12.5 70.83 8.33 8.33 16.67 -16.67 M54.17 25 h33.33 M54.17 50 h33.33 M54.17 75 h33.33" },
+ { id: "align-left", name: "Align Left", tags: ["align","left"], d: "M62.5 50 H12.5 M70.83 75 H12.5 M87.5 25 H12.5" },
+ { id: "align-center", name: "Align Center", tags: ["align","center"], d: "M70.83 50 H29.17 M79.17 75 H20.83 M87.5 25 H12.5" },
+ { id: "align-right", name: "Align Right", tags: ["align","right"], d: "M87.5 50 H37.5 M87.5 75 H29.17 M87.5 25 H12.5" },
+ { id: "align-justify", name: "Align Justify", tags: ["align","justify"], d: "M12.5 50 h75 M12.5 75 h75 M12.5 25 h75" },
+ { id: "indent", name: "Indent", tags: ["indent"], d: "M87.5 50 H45.83 M87.5 75 H45.83 M87.5 25 H45.83 m12.5 33.33 16.67 16.67 -16.67 16.67" },
+ { id: "indent-decrease", name: "Indent Decrease", tags: ["indent","decrease"], d: "M87.5 50 H45.83 M87.5 75 H45.83 M87.5 25 H45.83 m29.17 33.33 -16.67 16.67 16.67 16.67" },
+ { id: "layout", name: "Layout", tags: ["layout"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M12.5 37.5 h75 M37.5 87.5 V37.5" },
+ { id: "layout-grid", name: "Layout Grid", tags: ["layout","grid"], d: "M16.67 12.5 H37.5 A4.17 4.17 0 0 1 41.67 16.67 V37.5 A4.17 4.17 0 0 1 37.5 41.67 H16.67 A4.17 4.17 0 0 1 12.5 37.5 V16.67 A4.17 4.17 0 0 1 16.67 12.5 Z M62.5 12.5 H83.33 A4.17 4.17 0 0 1 87.5 16.67 V37.5 A4.17 4.17 0 0 1 83.33 41.67 H62.5 A4.17 4.17 0 0 1 58.33 37.5 V16.67 A4.17 4.17 0 0 1 62.5 12.5 Z M62.5 58.33 H83.33 A4.17 4.17 0 0 1 87.5 62.5 V83.33 A4.17 4.17 0 0 1 83.33 87.5 H62.5 A4.17 4.17 0 0 1 58.33 83.33 V62.5 A4.17 4.17 0 0 1 62.5 58.33 Z M16.67 58.33 H37.5 A4.17 4.17 0 0 1 41.67 62.5 V83.33 A4.17 4.17 0 0 1 37.5 87.5 H16.67 A4.17 4.17 0 0 1 12.5 83.33 V62.5 A4.17 4.17 0 0 1 16.67 58.33 Z" },
+ { id: "layout-dashboard", name: "Layout Dashboard", tags: ["layout","dashboard"], d: "M16.67 12.5 H37.5 A4.17 4.17 0 0 1 41.67 16.67 V45.83 A4.17 4.17 0 0 1 37.5 50 H16.67 A4.17 4.17 0 0 1 12.5 45.83 V16.67 A4.17 4.17 0 0 1 16.67 12.5 Z M62.5 12.5 H83.33 A4.17 4.17 0 0 1 87.5 16.67 V29.17 A4.17 4.17 0 0 1 83.33 33.33 H62.5 A4.17 4.17 0 0 1 58.33 29.17 V16.67 A4.17 4.17 0 0 1 62.5 12.5 Z M62.5 50 H83.33 A4.17 4.17 0 0 1 87.5 54.17 V83.33 A4.17 4.17 0 0 1 83.33 87.5 H62.5 A4.17 4.17 0 0 1 58.33 83.33 V54.17 A4.17 4.17 0 0 1 62.5 50 Z M16.67 66.67 H37.5 A4.17 4.17 0 0 1 41.67 70.83 V83.33 A4.17 4.17 0 0 1 37.5 87.5 H16.67 A4.17 4.17 0 0 1 12.5 83.33 V70.83 A4.17 4.17 0 0 1 16.67 66.67 Z" },
+ { id: "layout-template", name: "Layout Template", tags: ["layout","template"], d: "M16.67 12.5 H83.33 A4.17 4.17 0 0 1 87.5 16.67 V37.5 A4.17 4.17 0 0 1 83.33 41.67 H16.67 A4.17 4.17 0 0 1 12.5 37.5 V16.67 A4.17 4.17 0 0 1 16.67 12.5 Z M16.67 58.33 H45.83 A4.17 4.17 0 0 1 50 62.5 V83.33 A4.17 4.17 0 0 1 45.83 87.5 H16.67 A4.17 4.17 0 0 1 12.5 83.33 V62.5 A4.17 4.17 0 0 1 16.67 58.33 Z M70.83 58.33 H83.33 A4.17 4.17 0 0 1 87.5 62.5 V83.33 A4.17 4.17 0 0 1 83.33 87.5 H70.83 A4.17 4.17 0 0 1 66.67 83.33 V62.5 A4.17 4.17 0 0 1 70.83 58.33 Z" },
+ { id: "layers", name: "Layers", tags: ["layers"], d: "M53.46 9.08 a8.33 8.33 0 0 0 -6.92 0 L10.83 25.33 a4.17 4.17 0 0 0 0 7.63 l35.75 16.29 a8.33 8.33 0 0 0 6.92 0 l35.75 -16.25 a4.17 4.17 0 0 0 0 -7.63 z M8.33 50 a4.17 4.17 0 0 0 2.42 3.79 l35.83 16.29 a8.33 8.33 0 0 0 6.88 0 l35.75 -16.25 A4.17 4.17 0 0 0 91.67 50 M8.33 70.83 a4.17 4.17 0 0 0 2.42 3.79 l35.83 16.29 a8.33 8.33 0 0 0 6.88 0 l35.75 -16.25 A4.17 4.17 0 0 0 91.67 70.83" },
+ { id: "layers-2", name: "Layers 2", tags: ["layers","2"], d: "M54.17 57.25 a8.33 8.33 0 0 1 -8.33 0 L10.42 36.96 a4.17 4.17 0 0 1 0 -7.25 L45.83 9.42 a8.33 8.33 0 0 1 8.33 0 l35.42 20.29 a4.17 4.17 0 0 1 0 7.25 z m83.33 59.52 6.25 3.52 a4.17 4.17 0 0 1 0 7.25 L54.17 90.58 a8.33 8.33 0 0 1 -8.33 0 l-35.42 -20.29 a4.17 4.17 0 0 1 0 -7.25 l6.25 -3.52" },
+ { id: "grid-2x2", name: "Grid 2x2", tags: ["grid","2x2"], d: "M50 12.5 v75 M12.5 50 h75 M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z" },
+ { id: "grid-3x3", name: "Grid 3x3", tags: ["grid","3x3"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M12.5 37.5 h75 M12.5 62.5 h75 M37.5 12.5 v75 M62.5 12.5 v75" },
+ { id: "table", name: "Table", tags: ["table"], d: "M50 12.5 v75 M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M12.5 37.5 h75 M12.5 62.5 h75" },
+ { id: "table-2", name: "Table 2", tags: ["table","2"], d: "M37.5 12.5 H20.83 a8.33 8.33 0 0 0 -8.33 8.33 v16.67 m25 -25 h41.67 a8.33 8.33 0 0 1 8.33 8.33 v16.67 M37.5 12.5 v75 m0 0 h41.67 a8.33 8.33 0 0 0 8.33 -8.33 V37.5 M37.5 87.5 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 V37.5 m0 0 h75" },
+ { id: "square", name: "Square", tags: ["square"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z" },
+ { id: "circle", name: "Circle", tags: ["circle"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z" },
+ { id: "triangle", name: "Triangle", tags: ["triangle"], d: "M57.21 16.67 a8.33 8.33 0 0 0 -14.42 0 l-33.33 58.33 A8.33 8.33 0 0 0 16.67 87.5 h66.67 a8.33 8.33 0 0 0 7.21 -12.5 Z" },
+ { id: "diamond", name: "Diamond", tags: ["diamond"], d: "M11.25 42.92 a10.04 10.04 0 0 0 0 14.21 l31.63 31.63 a10.04 10.04 0 0 0 14.21 0 l31.63 -31.62 a10.04 10.04 0 0 0 0 -14.21 l-31.62 -31.62 a10.04 10.04 0 0 0 -14.21 0 Z" },
+ { id: "hexagon", name: "Hexagon", tags: ["hexagon"], d: "M87.5 66.67 V33.33 a8.33 8.33 0 0 0 -4.17 -7.21 l-29.17 -16.67 a8.33 8.33 0 0 0 -8.33 0 l-29.17 16.67 A8.33 8.33 0 0 0 12.5 33.33 v33.33 a8.33 8.33 0 0 0 4.17 7.21 l29.17 16.67 a8.33 8.33 0 0 0 8.33 0 l29.17 -16.67 A8.33 8.33 0 0 0 87.5 66.67 z" },
+ { id: "octagon", name: "Octagon", tags: ["octagon"], d: "M10.78 69.69 A8.33 8.33 0 0 1 8.33 63.8 V36.2 a8.33 8.33 0 0 1 2.44 -5.89 l19.53 -19.53 A8.33 8.33 0 0 1 36.2 8.33 h27.6 a8.33 8.33 0 0 1 5.89 2.44 l19.53 19.53 A8.33 8.33 0 0 1 91.67 36.2 v27.6 a8.33 8.33 0 0 1 -2.44 5.89 l-19.53 19.53 a8.33 8.33 0 0 1 -5.89 2.44 H36.2 a8.33 8.33 0 0 1 -5.89 -2.44 z" },
+ { id: "pentagon", name: "Pentagon", tags: ["pentagon"], d: "M45.13 9.92 a8.33 8.33 0 0 1 9.75 0 l33.33 23.92 a8.33 8.33 0 0 1 3.04 9.38 l-12.67 38.58 a8.33 8.33 0 0 1 -7.92 5.71 H29.33 a8.33 8.33 0 0 1 -7.92 -5.71 L8.75 43.21 a8.33 8.33 0 0 1 3.04 -9.37 z" },
+ { id: "shapes", name: "Shapes", tags: ["shapes"], d: "M34.58 41.67 a2.92 2.92 0 0 1 -2.61 -4.5 L47.5 12.5 a2.92 2.92 0 0 1 4.99 -0.18 L67.92 37.08 a2.92 2.92 0 0 1 -2.38 4.58 Z M16.67 58.33 H37.5 A4.17 4.17 0 0 1 41.67 62.5 V83.33 A4.17 4.17 0 0 1 37.5 87.5 H16.67 A4.17 4.17 0 0 1 12.5 83.33 V62.5 A4.17 4.17 0 0 1 16.67 58.33 Z M58.33 72.92 A14.58 14.58 0 1 0 87.5 72.92 A14.58 14.58 0 1 0 58.33 72.92 Z" },
+ { id: "box", name: "Box", tags: ["box"], d: "M87.5 33.33 a8.33 8.33 0 0 0 -4.17 -7.21 l-29.17 -16.67 a8.33 8.33 0 0 0 -8.33 0 l-29.17 16.67 A8.33 8.33 0 0 0 12.5 33.33 v33.33 a8.33 8.33 0 0 0 4.17 7.21 l29.17 16.67 a8.33 8.33 0 0 0 8.33 0 l29.17 -16.67 A8.33 8.33 0 0 0 87.5 66.67 Z m13.75 29.17 36.25 20.83 36.25 -20.83 M50 91.67 V50" },
+ { id: "boxes", name: "Boxes", tags: ["boxes"], d: "M12.38 53.83 A8.33 8.33 0 0 0 8.33 60.96 v13.5 a8.33 8.33 0 0 0 4.04 7.13 l12.5 7.5 a8.33 8.33 0 0 0 8.58 0 L50 79.17 v-22.92 l-20.83 -12.5 -16.79 10.08 Z m29.17 68.75 -19.75 -11.88 m29.17 68.75 20.83 -12.5 M29.17 68.75 v21.54 M50 56.25 V79.17 l16.54 9.92 a8.33 8.33 0 0 0 8.58 0 l12.5 -7.5 a8.33 8.33 0 0 0 4.04 -7.12 v-13.5 a8.33 8.33 0 0 0 -4.04 -7.12 L70.83 43.75 l-20.83 12.5 Z m70.83 68.75 -20.83 -12.5 m70.83 68.75 19.75 -11.88 M70.83 68.75 v21.54 M33.21 18.42 A8.33 8.33 0 0 0 29.17 25.54 v18.21 l20.83 12.5 20.83 -12.5 V25.54 a8.33 8.33 0 0 0 -4.04 -7.12 l-12.5 -7.5 a8.33 8.33 0 0 0 -8.58 0 l-12.5 7.5 Z M50 33.33 30.25 21.46 m50 33.33 19.75 -11.88 M50 56.25 V33.33" },
+ { id: "package", name: "Package", tags: ["package"], d: "M45.83 90.54 a8.33 8.33 0 0 0 8.33 0 l29.17 -16.67 A8.33 8.33 0 0 0 87.5 66.67 V33.33 a8.33 8.33 0 0 0 -4.17 -7.21 l-29.17 -16.67 a8.33 8.33 0 0 0 -8.33 0 l-29.17 16.67 A8.33 8.33 0 0 0 12.5 33.33 v33.33 a8.33 8.33 0 0 0 4.17 7.21 z M50 91.67 V50 M13.71 L29.17 L50 L50 L86.29 L29.17 m31.25 17.79 37.5 21.46" },
+ { id: "package-plus", name: "Package Plus", tags: ["package","plus"], d: "M66.67 66.67 h25 M79.17 54.17 v25 M87.5 41.67 V33.33 a8.33 8.33 0 0 0 -4.17 -7.21 l-29.17 -16.67 a8.33 8.33 0 0 0 -8.33 0 l-29.17 16.67 A8.33 8.33 0 0 0 12.5 33.33 v33.33 a8.33 8.33 0 0 0 4.17 7.21 l29.17 16.67 a8.33 8.33 0 0 0 8.33 0 l8.33 -4.75 m31.25 17.79 37.5 21.46 M13.71 L29.17 L50 L50 L86.29 L29.17 M50 91.67 L50 50" },
+ { id: "package-check", name: "Package Check", tags: ["package","check"], d: "m66.67 66.67 8.33 8.33 16.67 -16.67 M87.5 41.67 V33.33 a8.33 8.33 0 0 0 -4.17 -7.21 l-29.17 -16.67 a8.33 8.33 0 0 0 -8.33 0 l-29.17 16.67 A8.33 8.33 0 0 0 12.5 33.33 v33.33 a8.33 8.33 0 0 0 4.17 7.21 l29.17 16.67 a8.33 8.33 0 0 0 8.33 0 l8.33 -4.75 m31.25 17.79 37.5 21.46 M13.71 L29.17 L50 L50 L86.29 L29.17 M50 91.67 L50 50" },
+ { id: "shopping-cart", name: "Shopping Cart", tags: ["shopping","cart"], d: "M29.17 87.5 A4.17 4.17 0 1 0 37.5 87.5 A4.17 4.17 0 1 0 29.17 87.5 Z M75 87.5 A4.17 4.17 0 1 0 83.33 87.5 A4.17 4.17 0 1 0 75 87.5 Z M8.54 8.54 h8.33 l11.08 51.75 a8.33 8.33 0 0 0 8.33 6.58 h40.75 a8.33 8.33 0 0 0 8.13 -6.54 l6.88 -30.96 H21.33" },
+ { id: "shopping-bag", name: "Shopping Bag", tags: ["shopping","bag"], d: "M66.67 41.67 a16.67 16.67 0 0 1 -33.33 0 M12.93 25.14 h74.14 M14.17 22.78 a8.33 8.33 0 0 0 -1.67 5 V83.33 a8.33 8.33 0 0 0 8.33 8.33 h58.33 a8.33 8.33 0 0 0 8.33 -8.33 V27.78 a8.33 8.33 0 0 0 -1.67 -5 l-8.33 -11.11 A8.33 8.33 0 0 0 70.83 8.33 H29.17 a8.33 8.33 0 0 0 -6.67 3.33 z" },
+ { id: "shopping-basket", name: "Shopping Basket", tags: ["shopping","basket"], d: "m62.5 45.83 -4.17 37.5 m79.17 45.83 -16.67 -29.17 M8.33 45.83 h83.33 m14.58 45.83 6.67 30.83 a8.33 8.33 0 0 0 8.33 6.67 h40.83 a8.33 8.33 0 0 0 8.33 -6.67 l7.08 -30.83 M18.75 64.58 h62.5 m20.83 45.83 16.67 -29.17 m37.5 45.83 4.17 37.5" },
+ { id: "credit-card", name: "Credit Card", tags: ["credit","card"], d: "M16.67 20.83 H83.33 A8.33 8.33 0 0 1 91.67 29.17 V70.83 A8.33 8.33 0 0 1 83.33 79.17 H16.67 A8.33 8.33 0 0 1 8.33 70.83 V29.17 A8.33 8.33 0 0 1 16.67 20.83 Z M8.33 41.67 L91.67 41.67" },
+ { id: "wallet", name: "Wallet", tags: ["wallet"], d: "M79.17 29.17 V16.67 a4.17 4.17 0 0 0 -4.17 -4.17 H20.83 a8.33 8.33 0 0 0 0 16.67 h62.5 a4.17 4.17 0 0 1 4.17 4.17 v16.67 h-12.5 a8.33 8.33 0 0 0 0 16.67 h12.5 a4.17 4.17 0 0 0 4.17 -4.17 v-8.33 a4.17 4.17 0 0 0 -4.17 -4.17 M12.5 20.83 v58.33 a8.33 8.33 0 0 0 8.33 8.33 h62.5 a4.17 4.17 0 0 0 4.17 -4.17 v-16.67" },
+ { id: "banknote", name: "Banknote", tags: ["banknote"], d: "M16.67 25 H83.33 A8.33 8.33 0 0 1 91.67 33.33 V66.67 A8.33 8.33 0 0 1 83.33 75 H16.67 A8.33 8.33 0 0 1 8.33 66.67 V33.33 A8.33 8.33 0 0 1 16.67 25 Z M41.67 50 A8.33 8.33 0 1 0 58.33 50 A8.33 8.33 0 1 0 41.67 50 Z M25 50 h0.04 M75 50 h0.04" },
+ { id: "coins", name: "Coins", tags: ["coins"], d: "M8.33 33.33 A25 25 0 1 0 58.33 33.33 A25 25 0 1 0 8.33 33.33 Z M75.38 43.21 A25 25 0 1 1 43.08 75 M29.17 25 h4.17 v16.67 m69.63 57.83 2.92 2.96 -11.75 11.75" },
+ { id: "receipt", name: "Receipt", tags: ["receipt"], d: "M16.67 8.33 v83.33 l8.33 -4.17 8.33 4.17 8.33 -4.17 8.33 4.17 8.33 -4.17 8.33 4.17 8.33 -4.17 8.33 4.17 V8.33 l-8.33 4.17 -8.33 -4.17 -8.33 4.17 -8.33 -4.17 -8.33 4.17 -8.33 -4.17 -8.33 4.17 Z M66.67 33.33 h-25 a8.33 8.33 0 1 0 0 16.67 h16.67 a8.33 8.33 0 1 1 0 16.67 H33.33 M50 72.92 v-45.83" },
+ { id: "percent", name: "Percent", tags: ["percent"], d: "M79.17 20.83 L20.83 79.17 M16.67 27.08 A10.42 10.42 0 1 0 37.5 27.08 A10.42 10.42 0 1 0 16.67 27.08 Z M62.5 72.92 A10.42 10.42 0 1 0 83.33 72.92 A10.42 10.42 0 1 0 62.5 72.92 Z" },
+ { id: "badge-percent", name: "Badge Percent", tags: ["badge","percent"], d: "M16.04 35.92 a16.67 16.67 0 0 1 19.92 -19.87 16.67 16.67 0 0 1 28.08 0 16.67 16.67 0 0 1 19.92 19.92 16.67 16.67 0 0 1 0 28.08 16.67 16.67 0 0 1 -19.87 19.92 16.67 16.67 0 0 1 -28.13 0 16.67 16.67 0 0 1 -19.92 -19.87 16.67 16.67 0 0 1 0 -28.17 Z m62.5 37.5 -25 25 M37.5 37.5 h0.04 M62.5 62.5 h0.04" },
+ { id: "tag", name: "Tag", tags: ["tag"], d: "M52.44 10.78 A8.33 8.33 0 0 0 46.55 8.33 H16.67 a8.33 8.33 0 0 0 -8.33 8.33 v29.88 a8.33 8.33 0 0 0 2.44 5.89 l36.27 36.27 a10.11 10.11 0 0 0 14.25 0 l27.42 -27.42 a10.11 10.11 0 0 0 0 -14.25 z M29.17 31.25 A2.08 2.08 0 1 0 33.33 31.25 A2.08 2.08 0 1 0 29.17 31.25 Z" },
+ { id: "tags", name: "Tags", tags: ["tags"], d: "m62.5 20.83 26.25 26.25 a10 10 0 0 1 0 14.17 L70.83 79.17 M39.94 23.28 A8.33 8.33 0 0 0 34.05 20.83 H12.5 a4.17 4.17 0 0 0 -4.17 4.17 v21.55 a8.33 8.33 0 0 0 2.44 5.89 L34.54 76.21 a10.11 10.11 0 0 0 14.25 0 l14.92 -14.92 a10.11 10.11 0 0 0 0 -14.25 z M25 39.58 A2.08 2.08 0 1 0 29.17 39.58 A2.08 2.08 0 1 0 25 39.58 Z" },
+ { id: "ticket", name: "Ticket", tags: ["ticket"], d: "M8.33 37.5 a12.5 12.5 0 0 1 0 25 v8.33 a8.33 8.33 0 0 0 8.33 8.33 h66.67 a8.33 8.33 0 0 0 8.33 -8.33 v-8.33 a12.5 12.5 0 0 1 0 -25 V29.17 a8.33 8.33 0 0 0 -8.33 -8.33 H16.67 a8.33 8.33 0 0 0 -8.33 8.33 Z M54.17 20.83 v8.33 M54.17 70.83 v8.33 M54.17 45.83 v8.33" },
+ { id: "tickets", name: "Tickets", tags: ["tickets"], d: "m18.75 33.33 44.08 -21.08 a4.17 4.17 0 0 1 5.59 2.03 L77.08 33.33 M25 41.67 V33.33 M25 58.33 v4.17 M25 79.17 v8.33 M16.67 33.33 H83.33 A8.33 8.33 0 0 1 91.67 41.67 V79.17 A8.33 8.33 0 0 1 83.33 87.5 H16.67 A8.33 8.33 0 0 1 8.33 79.17 V41.67 A8.33 8.33 0 0 1 16.67 33.33 Z" },
+ { id: "scale-3d", name: "Scale 3d", tags: ["scale","3d"], d: "M20.83 29.17 v45.83 a4.17 4.17 0 0 0 4.17 4.17 h45.83 M22.05 77.95 45.83 54.17 M70.83 79.17 A8.33 8.33 0 1 0 87.5 79.17 A8.33 8.33 0 1 0 70.83 79.17 Z M12.5 20.83 A8.33 8.33 0 1 0 29.17 20.83 A8.33 8.33 0 1 0 12.5 20.83 Z" },
+ { id: "axis-3d", name: "Axis 3d", tags: ["axis","3d"], d: "M56.25 43.75 62.5 37.5 M16.67 16.67 v62.5 a4.17 4.17 0 0 0 4.17 4.17 h62.5 M17.89 82.11 25 75 m37.5 62.5 6.25 -6.25" },
+ { id: "cuboid", name: "Cuboid", tags: ["cuboid"], d: "m88 26.67 -25.21 -16.92 a8.33 8.33 0 0 0 -9.04 -0.21 L12.29 35.04 a8.33 8.33 0 0 0 -3.96 7.08 v24.25 a8.33 8.33 0 0 0 3.67 6.92 l25.21 16.96 a8.33 8.33 0 0 0 9.04 0.21 l41.46 -25.5 a8.33 8.33 0 0 0 3.96 -7.08 V33.58 a8.33 8.33 0 0 0 -3.67 -6.92 Z M41.67 91.67 v-33.33 L9.38 38.13 m41.67 58.33 49.04 -28.63" },
+ { id: "bar-chart-3", name: "Bar Chart 3", tags: ["bar","chart","3"], d: "M12.5 12.5 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h66.67 M75 70.83 V37.5 M54.17 70.83 V20.83 M33.33 70.83 v-12.5" },
+ { id: "bar-chart-4", name: "Bar Chart 4", tags: ["bar","chart","4"], d: "M54.17 70.83 V37.5 M75 70.83 V20.83 M12.5 12.5 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h66.67 M33.33 70.83 v-12.5" },
+ { id: "bar-chart-big", name: "Bar Chart Big", tags: ["bar","chart","big"], d: "M12.5 12.5 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h66.67 M66.67 20.83 H75 A4.17 4.17 0 0 1 79.17 25 V66.67 A4.17 4.17 0 0 1 75 70.83 H66.67 A4.17 4.17 0 0 1 62.5 66.67 V25 A4.17 4.17 0 0 1 66.67 20.83 Z M33.33 33.33 H41.67 A4.17 4.17 0 0 1 45.83 37.5 V66.67 A4.17 4.17 0 0 1 41.67 70.83 H33.33 A4.17 4.17 0 0 1 29.17 66.67 V37.5 A4.17 4.17 0 0 1 33.33 33.33 Z" },
+ { id: "line-chart", name: "Line Chart", tags: ["line","chart"], d: "M12.5 12.5 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h66.67 m79.17 37.5 -20.83 20.83 -16.67 -16.67 -12.5 12.5" },
+ { id: "pie-chart", name: "Pie Chart", tags: ["pie","chart"], d: "M87.5 50 c2.3 0 4.19 -1.87 3.96 -4.16 a41.67 41.67 0 0 0 -37.3 -37.3 c-2.29 -0.23 -4.16 1.66 -4.16 3.96 v33.33 a4.17 4.17 0 0 0 4.17 4.17 z M88.38 66.21 A41.67 41.67 0 1 1 33.33 11.79" },
+ { id: "chart-spline", name: "Chart Spline", tags: ["chart","spline"], d: "M12.5 12.5 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h66.67 M29.17 66.67 c2.08 -8.33 6.25 -29.17 16.67 -29.17 8.33 0 8.33 12.5 16.67 12.5 10.42 0 18.75 -20.83 20.83 -29.17" },
+ { id: "chart-scatter", name: "Chart Scatter", tags: ["chart","scatter"], d: "M29.17 31.25 A2.08 2.08 0 1 0 33.33 31.25 A2.08 2.08 0 1 0 29.17 31.25 Z M75 22.92 A2.08 2.08 0 1 0 79.17 22.92 A2.08 2.08 0 1 0 75 22.92 Z M45.83 47.92 A2.08 2.08 0 1 0 50 47.92 A2.08 2.08 0 1 0 45.83 47.92 Z M29.17 68.75 A2.08 2.08 0 1 0 33.33 68.75 A2.08 2.08 0 1 0 29.17 68.75 Z M70.83 60.42 A2.08 2.08 0 1 0 75 60.42 A2.08 2.08 0 1 0 70.83 60.42 Z M12.5 12.5 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h66.67" },
+ { id: "trending-up", name: "Trending Up", tags: ["trending","up"], d: "M66.67 29.17 h25 v25 m91.67 29.17 -35.42 35.42 -20.83 -20.83 L8.33 70.83" },
+ { id: "trending-down", name: "Trending Down", tags: ["trending","down"], d: "M66.67 70.83 h25 v-25 m91.67 70.83 -35.42 -35.42 -20.83 20.83 L8.33 29.17" },
+ { id: "activity", name: "Activity", tags: ["activity"], d: "M91.67 50 h-10.33 a8.33 8.33 0 0 0 -8.04 6.08 l-9.79 34.83 a1.04 1.04 0 0 1 -2 0 L38.5 9.08 a1.04 1.04 0 0 0 -2 0 l-9.79 34.83 A8.33 8.33 0 0 1 18.71 50 H8.33" },
+ { id: "radar", name: "Radar", tags: ["radar"], d: "M79.46 20.54 A41.67 41.67 0 0 0 29.13 13.92 M16.67 25 h0.04 M9.54 40.08 A41.67 41.67 0 1 0 88.79 34.79 M67.67 32.33 A25 25 0 1 0 34.29 69.46 M50 75 h0.04 M74.96 48.58 A25 25 0 0 1 65.71 69.46 M41.67 50 A8.33 8.33 0 1 0 58.33 50 A8.33 8.33 0 1 0 41.67 50 Z m55.88 44.13 23.58 -23.58" },
+ { id: "gauge", name: "Gauge", tags: ["gauge"], d: "m50 58.33 16.67 -16.67 M13.92 79.17 a41.67 41.67 0 1 1 72.17 0" },
+ { id: "target", name: "Target", tags: ["target"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M25 50 A25 25 0 1 0 75 50 A25 25 0 1 0 25 50 Z M41.67 50 A8.33 8.33 0 1 0 58.33 50 A8.33 8.33 0 1 0 41.67 50 Z" },
+ { id: "crosshair", name: "Crosshair", tags: ["crosshair"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M91.67 50 L75 50 M25 50 L8.33 50 M50 25 L50 8.33 M50 91.67 L50 75" },
+ { id: "focus", name: "Focus", tags: ["focus"], d: "M37.5 50 A12.5 12.5 0 1 0 62.5 50 A12.5 12.5 0 1 0 37.5 50 Z M12.5 29.17 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h8.33 M70.83 12.5 h8.33 a8.33 8.33 0 0 1 8.33 8.33 v8.33 M87.5 70.83 v8.33 a8.33 8.33 0 0 1 -8.33 8.33 h-8.33 M29.17 87.5 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 v-8.33" },
+ { id: "locate-fixed", name: "Locate Fixed", tags: ["locate","fixed"], d: "M8.33 50 L20.83 50 M79.17 50 L91.67 50 M50 8.33 L50 20.83 M50 79.17 L50 91.67 M20.83 50 A29.17 29.17 0 1 0 79.17 50 A29.17 29.17 0 1 0 20.83 50 Z M37.5 50 A12.5 12.5 0 1 0 62.5 50 A12.5 12.5 0 1 0 37.5 50 Z" },
+ { id: "lightbulb", name: "Lightbulb", tags: ["lightbulb"], d: "M62.5 58.33 c0.83 -4.17 2.92 -7.08 6.25 -10.42 4.17 -3.75 6.25 -9.17 6.25 -14.58 A25 25 0 0 0 25 33.33 c0 4.17 0.83 9.17 6.25 14.58 2.92 2.92 5.42 6.25 6.25 10.42 M37.5 75 h25 M41.67 91.67 h16.67" },
+ { id: "lightbulb-off", name: "Lightbulb Off", tags: ["lightbulb","off"], d: "M70 46.67 c3.33 -3.75 5 -8.33 5 -13.33 a25 25 0 0 0 -38.75 -20.83 m8.33 8.33 83.33 83.33 M26.25 26.25 a19.46 19.46 0 0 0 5 21.67 c2.92 2.92 5.42 6.25 6.25 10.42 M37.5 75 h25 M41.67 91.67 h16.67" },
+ { id: "lamp", name: "Lamp", tags: ["lamp"], d: "M50 50 v25 M16.99 44.23 A4.17 4.17 0 0 0 20.83 50 h58.33 a4.17 4.17 0 0 0 3.85 -5.77 l-12.82 -30.77 A8.33 8.33 0 0 0 62.5 8.33 H37.5 a8.33 8.33 0 0 0 -7.69 5.13 Z M33.33 83.33 a8.33 8.33 0 0 1 8.33 -8.33 h16.67 a8.33 8.33 0 0 1 8.33 8.33 v4.17 a4.17 4.17 0 0 1 -4.17 4.17 H37.5 a4.17 4.17 0 0 1 -4.17 -4.17 z" },
+ { id: "flashlight", name: "Flashlight", tags: ["flashlight"], d: "M75 25 c0 8.33 -8.33 8.33 -8.33 16.67 v41.67 a8.33 8.33 0 0 1 -8.33 8.33 h-16.67 a8.33 8.33 0 0 1 -8.33 -8.33 V41.67 c0 -8.33 -8.33 -8.33 -8.33 -16.67 V8.33 h50 z M25 25 L75 25 M50 50 L50 50" },
+ { id: "brain", name: "Brain", tags: ["brain"], d: "M50 20.83 a12.5 12.5 0 1 0 -24.99 0.52 16.67 16.67 0 0 0 -10.52 24.04 16.67 16.67 0 0 0 2.32 27.45 A16.67 16.67 0 1 0 50 75 Z M50 20.83 a12.5 12.5 0 1 1 24.99 0.52 16.67 16.67 0 0 1 10.53 24.04 16.67 16.67 0 0 1 -2.32 27.45 A16.67 16.67 0 1 1 50 75 Z M62.5 54.17 a18.75 18.75 0 0 1 -12.5 -16.67 18.75 18.75 0 0 1 -12.5 16.67 M73.33 27.08 a12.5 12.5 0 0 0 1.66 -5.73 M25.01 21.35 A12.5 12.5 0 0 0 26.67 27.08 M14.49 45.4 a16.67 16.67 0 0 1 2.44 -1.65 M83.08 43.75 a16.67 16.67 0 0 1 2.44 1.65 M25 75 a16.67 16.67 0 0 1 -8.2 -2.15 M83.2 72.85 A16.67 16.67 0 0 1 75 75" },
+ { id: "brain-circuit", name: "Brain Circuit", tags: ["brain","circuit"], d: "M50 20.83 a12.5 12.5 0 1 0 -24.99 0.52 16.67 16.67 0 0 0 -10.52 24.04 16.67 16.67 0 0 0 2.32 27.45 A16.67 16.67 0 1 0 50 75 Z M37.5 54.17 a18.75 18.75 0 0 0 12.5 -16.67 M25.01 21.35 A12.5 12.5 0 0 0 26.67 27.08 M14.49 45.4 a16.67 16.67 0 0 1 2.44 -1.65 M25 75 a16.67 16.67 0 0 1 -8.2 -2.15 M50 54.17 h16.67 M50 75 h25 a8.33 8.33 0 0 1 8.33 8.33 v4.17 M50 33.33 h33.33 M66.67 33.33 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 M64.58 54.17 A2.08 2.08 0 1 0 68.75 54.17 A2.08 2.08 0 1 0 64.58 54.17 Z M72.92 12.5 A2.08 2.08 0 1 0 77.08 12.5 A2.08 2.08 0 1 0 72.92 12.5 Z M81.25 87.5 A2.08 2.08 0 1 0 85.42 87.5 A2.08 2.08 0 1 0 81.25 87.5 Z M81.25 33.33 A2.08 2.08 0 1 0 85.42 33.33 A2.08 2.08 0 1 0 81.25 33.33 Z" },
+ { id: "circuit-board", name: "Circuit Board", tags: ["circuit","board"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M45.83 37.5 h16.67 a8.33 8.33 0 0 0 8.33 -8.33 V12.5 M29.17 37.5 A8.33 8.33 0 1 0 45.83 37.5 A8.33 8.33 0 1 0 29.17 37.5 Z M29.17 87.5 v-16.67 a8.33 8.33 0 0 1 8.33 -8.33 h16.67 M54.17 62.5 A8.33 8.33 0 1 0 70.83 62.5 A8.33 8.33 0 1 0 54.17 62.5 Z" },
+ { id: "cpu", name: "Cpu", tags: ["cpu"], d: "M50 83.33 v8.33 M50 8.33 v8.33 M70.83 83.33 v8.33 M70.83 8.33 v8.33 M8.33 50 h8.33 M8.33 70.83 h8.33 M8.33 29.17 h8.33 M83.33 50 h8.33 M83.33 70.83 h8.33 M83.33 29.17 h8.33 M29.17 83.33 v8.33 M29.17 8.33 v8.33 M25 16.67 H75 A8.33 8.33 0 0 1 83.33 25 V75 A8.33 8.33 0 0 1 75 83.33 H25 A8.33 8.33 0 0 1 16.67 75 V25 A8.33 8.33 0 0 1 25 16.67 Z M37.5 33.33 H62.5 A4.17 4.17 0 0 1 66.67 37.5 V62.5 A4.17 4.17 0 0 1 62.5 66.67 H37.5 A4.17 4.17 0 0 1 33.33 62.5 V37.5 A4.17 4.17 0 0 1 37.5 33.33 Z" },
+ { id: "microchip", name: "Microchip", tags: ["microchip"], d: "M75 50 h8.33 M75 66.67 h8.33 M75 83.33 h8.33 M75 16.67 h8.33 M75 33.33 h8.33 M16.67 50 h8.33 M16.67 66.67 h8.33 M16.67 83.33 h8.33 M16.67 16.67 h8.33 M16.67 33.33 h8.33 M33.33 8.33 a8.33 8.33 0 0 0 -8.33 8.33 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h33.33 a8.33 8.33 0 0 0 8.33 -8.33 V16.67 a8.33 8.33 0 0 0 -8.33 -8.33 h-6.25 c-1.15 0 -2.06 0.95 -2.34 2.06 a8.33 8.33 0 0 1 -16.15 0 C41.64 9.28 40.73 8.33 39.58 8.33 z" },
+ { id: "bot", name: "Bot", tags: ["bot"], d: "M50 33.33 V16.67 H33.33 M25 33.33 H75 A8.33 8.33 0 0 1 83.33 41.67 V75 A8.33 8.33 0 0 1 75 83.33 H25 A8.33 8.33 0 0 1 16.67 75 V41.67 A8.33 8.33 0 0 1 25 33.33 Z M8.33 58.33 h8.33 M83.33 58.33 h8.33 M62.5 54.17 v8.33 M37.5 54.17 v8.33" },
+ { id: "laptop", name: "Laptop", tags: ["laptop"], d: "M75 20.83 a8.33 8.33 0 0 1 8.33 8.33 v35.53 a8.33 8.33 0 0 0 0.88 3.74 l4.45 8.86 a4.17 4.17 0 0 1 -3.75 6.04 H15.08 a4.17 4.17 0 0 1 -3.75 -6.04 l4.45 -8.86 A8.33 8.33 0 0 0 16.67 64.69 V29.17 a8.33 8.33 0 0 1 8.33 -8.33 z M83.56 66.61 H16.44" },
+ { id: "laptop-2", name: "Laptop 2", tags: ["laptop","2"], d: "M20.83 16.67 H79.17 A8.33 8.33 0 0 1 87.5 25 V58.33 A8.33 8.33 0 0 1 79.17 66.67 H20.83 A8.33 8.33 0 0 1 12.5 58.33 V25 A8.33 8.33 0 0 1 20.83 16.67 Z M8.33 83.33 L91.67 83.33" },
+ { id: "monitor", name: "Monitor", tags: ["monitor"], d: "M16.67 12.5 H83.33 A8.33 8.33 0 0 1 91.67 20.83 V62.5 A8.33 8.33 0 0 1 83.33 70.83 H16.67 A8.33 8.33 0 0 1 8.33 62.5 V20.83 A8.33 8.33 0 0 1 16.67 12.5 Z M33.33 87.5 L66.67 87.5 M50 70.83 L50 87.5" },
+ { id: "monitor-smartphone", name: "Monitor Smartphone", tags: ["monitor","smartphone"], d: "M75 33.33 V25 a8.33 8.33 0 0 0 -8.33 -8.33 H16.67 a8.33 8.33 0 0 0 -8.33 8.33 v29.17 a8.33 8.33 0 0 0 8.33 8.33 h33.33 M41.67 79.17 v-16.5 13.13 M29.17 79.17 h20.83 M75 50 H83.33 A8.33 8.33 0 0 1 91.67 58.33 V83.33 A8.33 8.33 0 0 1 83.33 91.67 H75 A8.33 8.33 0 0 1 66.67 83.33 V58.33 A8.33 8.33 0 0 1 75 50 Z" },
+ { id: "monitor-x", name: "Monitor X", tags: ["monitor","x"], d: "m60.42 52.08 -20.83 -20.83 m39.58 52.08 20.83 -20.83 M16.67 12.5 H83.33 A8.33 8.33 0 0 1 91.67 20.83 V62.5 A8.33 8.33 0 0 1 83.33 70.83 H16.67 A8.33 8.33 0 0 1 8.33 62.5 V20.83 A8.33 8.33 0 0 1 16.67 12.5 Z M50 70.83 v16.67 M33.33 87.5 h33.33" },
+ { id: "keyboard", name: "Keyboard", tags: ["keyboard"], d: "M41.67 33.33 h0.04 M50 50 h0.04 M58.33 33.33 h0.04 M66.67 50 h0.04 M75 33.33 h0.04 M25 33.33 h0.04 M29.17 66.67 h41.67 M33.33 50 h0.04 M16.67 16.67 H83.33 A8.33 8.33 0 0 1 91.67 25 V75 A8.33 8.33 0 0 1 83.33 83.33 H16.67 A8.33 8.33 0 0 1 8.33 75 V25 A8.33 8.33 0 0 1 16.67 16.67 Z" },
+ { id: "mouse", name: "Mouse", tags: ["mouse"], d: "M50 8.33 H50 A29.17 29.17 0 0 1 79.17 37.5 V62.5 A29.17 29.17 0 0 1 50 91.67 H50 A29.17 29.17 0 0 1 20.83 62.5 V37.5 A29.17 29.17 0 0 1 50 8.33 Z M50 25 v16.67" },
+ { id: "mouse-pointer", name: "Mouse Pointer", tags: ["mouse","pointer"], d: "M52.44 52.44 79.17 79.17 M15.37 12.65 a2.07 2.07 0 0 0 -2.71 2.71 l27.08 66.66 a2.09 2.09 0 0 0 3.95 -0.26 l6.54 -25.35 a8.33 8.33 0 0 1 6.03 -6.16 l25.52 -6.58 a2.08 2.08 0 0 0 0.26 -3.95 z" },
+ { id: "mouse-pointer-2", name: "Mouse Pointer 2", tags: ["mouse","pointer","2"], d: "M16.82 19.53 a2.06 2.06 0 0 1 2.71 -2.71 l66.67 27.08 a2.08 2.08 0 0 1 -0.26 3.95 l-25.52 6.58 a8.33 8.33 0 0 0 -5.99 5.98 l-6.58 25.53 a2.08 2.08 0 0 1 -3.95 0.26 z" },
+ { id: "mouse-pointer-click", name: "Mouse Pointer Click", tags: ["mouse","pointer","click"], d: "M58.33 17.08 50 25 m21.25 33.33 -12.08 -3.33 m25 50 -7.92 8.33 M30 9.17 33.33 21.25 M37.65 40.38 a2.08 2.08 0 0 1 2.72 -2.72 l45.83 18.75 a2.08 2.08 0 0 1 -0.31 3.95 l-18.12 4.34 a4.17 4.17 0 0 0 -3.08 3.08 l-4.33 18.13 a2.08 2.08 0 0 1 -3.96 0.31 z" },
+ { id: "hard-drive", name: "Hard Drive", tags: ["hard","drive"], d: "M91.67 50 L8.33 50 M22.71 21.29 8.33 50 v25 a8.33 8.33 0 0 0 8.33 8.33 h66.67 a8.33 8.33 0 0 0 8.33 -8.33 v-25 l-14.38 -28.71 A8.33 8.33 0 0 0 69.83 16.67 H30.17 a8.33 8.33 0 0 0 -7.46 4.63 z M25 66.67 L25.04 66.67 M41.67 66.67 L41.71 66.67" },
+ { id: "database", name: "Database", tags: ["database"], d: "M12.5 20.83 A37.5 12.5 0 1 0 87.5 20.83 A37.5 12.5 0 1 0 12.5 20.83 Z M12.5 20.83 V79.17 A37.5 12.5 0 0 0 87.5 79.17 V20.83 M12.5 50 A37.5 12.5 0 0 0 87.5 50" },
+ { id: "server", name: "Server", tags: ["server"], d: "M16.67 8.33 H83.33 A8.33 8.33 0 0 1 91.67 16.67 V33.33 A8.33 8.33 0 0 1 83.33 41.67 H16.67 A8.33 8.33 0 0 1 8.33 33.33 V16.67 A8.33 8.33 0 0 1 16.67 8.33 Z M16.67 58.33 H83.33 A8.33 8.33 0 0 1 91.67 66.67 V83.33 A8.33 8.33 0 0 1 83.33 91.67 H16.67 A8.33 8.33 0 0 1 8.33 83.33 V66.67 A8.33 8.33 0 0 1 16.67 58.33 Z M25 25 L25.04 25 M25 75 L25.04 75" },
+ { id: "cloud-cog", name: "Cloud Cog", tags: ["cloud","cog"], d: "m45.22 82.38 -1.6 3.85 m54.78 59.28 1.6 -3.85 M54.78 82.38 a12.5 12.5 0 1 0 -9.57 -23.1 l-1.6 -3.85 m56.38 86.23 -1.59 -3.85 a12.5 12.5 0 1 1 -9.57 -23.1 m61.55 66.05 3.85 -1.6 m61.55 75.62 3.85 1.6 M17.5 62.92 a29.17 29.17 0 1 1 41.38 -41.07 A29.17 29.17 0 0 1 65.46 33.33 h7.46 a18.75 18.75 0 0 1 10.42 34.17 m38.45 66.05 -3.85 -1.6 m38.45 75.62 -3.85 1.6" },
+ { id: "cloud-upload", name: "Cloud Upload", tags: ["cloud","upload"], d: "M50 54.17 v33.33 M16.67 62.08 A29.17 29.17 0 1 1 65.46 33.33 h7.46 a18.75 18.75 0 0 1 10.42 34.34 m33.33 70.83 16.67 -16.67 16.67 16.67" },
+ { id: "wifi", name: "Wifi", tags: ["wifi"], d: "M50 83.33 h0.04 M8.33 36.75 a62.5 62.5 0 0 1 83.33 0 M20.83 53.58 a41.67 41.67 0 0 1 58.33 0 M35.42 68.45 a20.83 20.83 0 0 1 29.17 0" },
+ { id: "wifi-off", name: "Wifi Off", tags: ["wifi","off"], d: "M50 83.33 h0.04 M35.42 68.45 a20.83 20.83 0 0 1 29.17 0 M20.83 53.58 a41.67 41.67 0 0 1 21.54 -11.21 M79.17 53.58 a41.67 41.67 0 0 0 -8.36 -6.35 M8.33 36.75 a62.5 62.5 0 0 1 17.4 -11.01 M91.67 36.75 a62.5 62.5 0 0 0 -47.03 -15.68 m8.33 8.33 83.33 83.33" },
+ { id: "bluetooth", name: "Bluetooth", tags: ["bluetooth"], d: "m29.17 29.17 41.67 41.67 -20.83 20.83 V8.33 l20.83 20.83 L29.17 70.83" },
+ { id: "signal", name: "Signal", tags: ["signal"], d: "M8.33 83.33 h0.04 M29.17 83.33 v-16.67 M50 83.33 v-33.33 M70.83 83.33 V33.33 M91.67 16.67 v66.67" },
+ { id: "signal-high", name: "Signal High", tags: ["signal","high"], d: "M8.33 83.33 h0.04 M29.17 83.33 v-16.67 M50 83.33 v-33.33 M70.83 83.33 V33.33" },
+ { id: "plug", name: "Plug", tags: ["plug"], d: "M50 91.67 v-20.83 M37.5 33.33 V8.33 M62.5 33.33 V8.33 M75 33.33 v20.83 a16.67 16.67 0 0 1 -16.67 16.67 h-16.67 a16.67 16.67 0 0 1 -16.67 -16.67 V33.33 Z" },
+ { id: "plug-2", name: "Plug 2", tags: ["plug","2"], d: "M37.5 8.33 v25 M62.5 8.33 v25 M50 70.83 v20.83 M20.83 33.33 h58.33 M25 45.83 V33.33 h50 v12.5 a25 25 0 1 1 -50 0 Z" },
+ { id: "plug-zap", name: "Plug Zap", tags: ["plug","zap"], d: "M26.25 84.58 a10 10 0 0 0 14.17 0 L50 75 l-25 -25 -9.58 9.58 a10 10 0 0 0 0 14.17 Z m8.33 91.67 12.5 -12.5 M31.25 56.25 41.67 45.83 M43.75 68.75 54.17 58.33 m75 12.5 -16.67 16.67 h25 l-16.67 16.67" },
+ { id: "battery", name: "Battery", tags: ["battery"], d: "M91.67 58.33 L91.67 41.67 M16.67 25 H66.67 A8.33 8.33 0 0 1 75 33.33 V66.67 A8.33 8.33 0 0 1 66.67 75 H16.67 A8.33 8.33 0 0 1 8.33 66.67 V33.33 A8.33 8.33 0 0 1 16.67 25 Z" },
+ { id: "battery-charging", name: "Battery Charging", tags: ["battery","charging"], d: "m45.83 29.17 -12.5 20.83 h16.67 l-12.5 20.83 M61.9 25 H66.67 a8.33 8.33 0 0 1 8.33 8.33 v33.33 a8.33 8.33 0 0 1 -8.33 8.33 h-12.23 M91.67 58.33 v-16.67 M21.42 75 H16.67 a8.33 8.33 0 0 1 -8.33 -8.33 V33.33 a8.33 8.33 0 0 1 8.33 -8.33 h12.23" },
+ { id: "battery-full", name: "Battery Full", tags: ["battery","full"], d: "M41.67 41.67 v16.67 M58.33 41.67 v16.67 M91.67 58.33 v-16.67 M25 41.67 v16.67 M16.67 25 H66.67 A8.33 8.33 0 0 1 75 33.33 V66.67 A8.33 8.33 0 0 1 66.67 75 H16.67 A8.33 8.33 0 0 1 8.33 66.67 V33.33 A8.33 8.33 0 0 1 16.67 25 Z" },
+ { id: "power", name: "Power", tags: ["power"], d: "M50 8.33 v41.67 M76.67 27.5 a37.5 37.5 0 1 1 -53.21 0.17" },
+ { id: "camera", name: "Camera", tags: ["camera"], d: "M60.42 16.67 h-20.83 L29.17 29.17 H16.67 a8.33 8.33 0 0 0 -8.33 8.33 v37.5 a8.33 8.33 0 0 0 8.33 8.33 h66.67 a8.33 8.33 0 0 0 8.33 -8.33 V37.5 a8.33 8.33 0 0 0 -8.33 -8.33 h-12.5 l-10.42 -12.5 z M37.5 54.17 A12.5 12.5 0 1 0 62.5 54.17 A12.5 12.5 0 1 0 37.5 54.17 Z" },
+ { id: "camera-off", name: "Camera Off", tags: ["camera","off"], d: "M8.33 8.33 L91.67 91.67 M29.17 29.17 H16.67 a8.33 8.33 0 0 0 -8.33 8.33 v37.5 a8.33 8.33 0 0 0 8.33 8.33 h66.67 M39.58 16.67 h20.83 L70.83 29.17 h12.5 a8.33 8.33 0 0 1 8.33 8.33 v31.25 M58.84 63 A12.5 12.5 0 1 1 41.17 45.33" },
+ { id: "video", name: "Video", tags: ["video"], d: "m66.67 54.17 21.76 14.51 a2.08 2.08 0 0 0 3.24 -1.73 V32.79 a2.08 2.08 0 0 0 -3.13 -1.8 L66.67 43.75 M16.67 25 H58.33 A8.33 8.33 0 0 1 66.67 33.33 V66.67 A8.33 8.33 0 0 1 58.33 75 H16.67 A8.33 8.33 0 0 1 8.33 66.67 V33.33 A8.33 8.33 0 0 1 16.67 25 Z" },
+ { id: "video-off", name: "Video Off", tags: ["video","off"], d: "M44.42 25 H58.33 a8.33 8.33 0 0 1 8.33 8.33 v10.42 l21.87 -12.76 A2.08 2.08 0 0 1 91.67 32.79 v34.15 M66.67 66.67 a8.33 8.33 0 0 1 -8.33 8.33 H16.67 a8.33 8.33 0 0 1 -8.33 -8.33 V33.33 a8.33 8.33 0 0 1 8.33 -8.33 h8.33 m8.33 8.33 83.33 83.33" },
+ { id: "aperture", name: "Aperture", tags: ["aperture"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z m59.63 33.33 23.92 41.42 M40.38 33.33 h47.83 m30.75 50 23.92 -41.42 M40.38 66.67 16.46 25.25 M59.63 66.67 H11.79 m69.25 50 -23.92 41.42" },
+ { id: "image", name: "Image", tags: ["image"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M29.17 37.5 A8.33 8.33 0 1 0 45.83 37.5 A8.33 8.33 0 1 0 29.17 37.5 Z m87.5 62.5 -12.86 -12.86 a8.33 8.33 0 0 0 -11.78 0 L25 87.5" },
+ { id: "image-off", name: "Image Off", tags: ["image","off"], d: "M8.33 8.33 L91.67 91.67 M43.38 43.38 a8.33 8.33 0 1 1 -11.79 -11.79 M56.25 56.25 L25 87.5 M75 50 L87.5 62.5 M14.96 14.96 A8.29 8.29 0 0 0 12.5 20.83 v58.33 a8.33 8.33 0 0 0 8.33 8.33 h58.33 c2.29 0 4.38 -0.92 5.88 -2.46 M87.5 62.5 V20.83 a8.33 8.33 0 0 0 -8.33 -8.33 H37.5" },
+ { id: "images", name: "Images", tags: ["images"], d: "M75 91.67 H16.67 a8.33 8.33 0 0 1 -8.33 -8.33 V25 m91.67 54.17 -5.4 -5.4 a10.04 10.04 0 0 0 -14.2 0 L45.83 75 M41.67 33.33 A8.33 8.33 0 1 0 58.33 33.33 A8.33 8.33 0 1 0 41.67 33.33 Z M33.33 8.33 H83.33 A8.33 8.33 0 0 1 91.67 16.67 V66.67 A8.33 8.33 0 0 1 83.33 75 H33.33 A8.33 8.33 0 0 1 25 66.67 V16.67 A8.33 8.33 0 0 1 33.33 8.33 Z" },
+ { id: "film", name: "Film", tags: ["film"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M29.17 12.5 v75 M12.5 31.25 h16.67 M12.5 50 h75 M12.5 68.75 h16.67 M70.83 12.5 v75 M70.83 31.25 h16.67 M70.83 68.75 h16.67" },
+ { id: "clapperboard", name: "Clapperboard", tags: ["clapperboard"], d: "M84.17 25 12.5 45.83 l-3.75 -10 c-1.25 -4.58 1.25 -9.17 5.42 -10.42 l56.25 -16.67 c4.58 -1.25 9.17 1.25 10.42 5.42 Z m25.83 22.08 12.92 16.25 m51.67 14.17 12.92 16.67 M12.5 45.83 h75 v33.33 a8.33 8.33 0 0 1 -8.33 8.33 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 Z" },
+ { id: "music", name: "Music", tags: ["music"], d: "M37.5 75 V20.83 l50 -8.33 v54.17 M12.5 75 A12.5 12.5 0 1 0 37.5 75 A12.5 12.5 0 1 0 12.5 75 Z M62.5 66.67 A12.5 12.5 0 1 0 87.5 66.67 A12.5 12.5 0 1 0 62.5 66.67 Z" },
+ { id: "music-2", name: "Music 2", tags: ["music","2"], d: "M16.67 75 A16.67 16.67 0 1 0 50 75 A16.67 16.67 0 1 0 16.67 75 Z M50 75 V8.33 l29.17 16.67" },
+ { id: "music-3", name: "Music 3", tags: ["music","3"], d: "M33.33 75 A16.67 16.67 0 1 0 66.67 75 A16.67 16.67 0 1 0 33.33 75 Z M66.67 75 V8.33" },
+ { id: "music-4", name: "Music 4", tags: ["music","4"], d: "M37.5 75 V20.83 l50 -8.33 v54.17 m37.5 37.5 50 -8.33 M12.5 75 A12.5 12.5 0 1 0 37.5 75 A12.5 12.5 0 1 0 12.5 75 Z M62.5 66.67 A12.5 12.5 0 1 0 87.5 66.67 A12.5 12.5 0 1 0 62.5 66.67 Z" },
+ { id: "guitar", name: "Guitar", tags: ["guitar"], d: "m49.58 50.42 18.81 -18.81 M83.75 9.58 a4.17 4.17 0 0 0 -5.83 0 l-4.64 4.64 A8.33 8.33 0 0 0 70.83 20.12 v5.6 a8.33 8.33 0 0 1 -2.44 5.89 A8.33 8.33 0 0 1 74.28 29.17 h5.6 a8.33 8.33 0 0 0 5.89 -2.44 L90.42 22.08 a4.17 4.17 0 0 0 0 -5.83 z m25 66.67 8.33 8.33 M34.29 41.04 A12.5 12.5 0 0 1 45.83 33.33 a20.83 20.83 0 0 1 20.83 20.83 12.5 12.5 0 0 1 -7.71 11.54 l-3.83 1.58 A8.33 8.33 0 0 0 50 75 a16.67 16.67 0 0 1 -16.67 16.67 25 25 0 0 1 -25 -25 16.67 16.67 0 0 1 16.67 -16.67 8.33 8.33 0 0 0 7.71 -5.12 z" },
+ { id: "piano", name: "Piano", tags: ["piano"], d: "M77.08 33.33 c-5.83 0 -10.83 -3.33 -13.33 -8.33 A28.63 28.63 0 0 0 8.33 37.5 v45.83 a8.33 8.33 0 0 0 8.33 8.33 h66.67 a8.33 8.33 0 0 0 8.33 -8.33 v-35.42 C91.67 40 85 33.33 77.08 33.33 M8.33 58.33 h83.33 M25 58.33 v16.67 M41.67 58.33 v16.67 M58.33 58.33 v16.67 M75 58.33 v16.67" },
+ { id: "drum", name: "Drum", tags: ["drum"], d: "m8.33 8.33 33.33 33.33 m91.67 8.33 -33.33 33.33 M8.33 37.5 A41.67 20.83 0 1 0 91.67 37.5 A41.67 20.83 0 1 0 8.33 37.5 Z M29.17 55.83 v32.92 M50 58.33 v33.33 M70.83 55.83 v32.92 M8.33 37.5 v33.33 a41.67 20.83 0 0 0 83.33 0 V37.5" },
+ { id: "mic", name: "Mic", tags: ["mic"], d: "M50 79.17 v12.5 M79.17 41.67 v8.33 a29.17 29.17 0 0 1 -58.33 0 v-8.33 M50 8.33 H50 A12.5 12.5 0 0 1 62.5 20.83 V50 A12.5 12.5 0 0 1 50 62.5 H50 A12.5 12.5 0 0 1 37.5 50 V20.83 A12.5 12.5 0 0 1 50 8.33 Z" },
+ { id: "mic-2", name: "Mic 2", tags: ["mic","2"], d: "m45.83 31.67 -24.97 34.13 a4.17 4.17 0 0 0 0.42 5.41 l3.4 3.41 a4.17 4.17 0 0 0 5.48 0.36 L62.88 50 M68.75 88.23 C64.58 85.42 59.88 83.33 54.17 83.33 c-8.57 0 -16.37 9.82 -25 8.33 -8.63 -1.48 -11.56 -14.04 -6.25 -18.75 M45.83 29.17 A20.83 20.83 0 1 0 87.5 29.17 A20.83 20.83 0 1 0 45.83 29.17 Z" },
+ { id: "mic-off", name: "Mic Off", tags: ["mic","off"], d: "M8.33 8.33 L91.67 91.67 M78.71 55.13 A29.67 29.67 0 0 0 79.17 50 v-8.33 M20.83 41.67 v8.33 a29.17 29.17 0 0 0 50 20.83 M62.5 38.92 V20.83 a12.5 12.5 0 0 0 -23.67 -5.54 M37.5 37.5 v12.5 a12.5 12.5 0 0 0 21.33 8.83 M50 79.17 L50 91.67" },
+ { id: "headphones", name: "Headphones", tags: ["headphones"], d: "M12.5 58.33 h12.5 a8.33 8.33 0 0 1 8.33 8.33 v12.5 a8.33 8.33 0 0 1 -8.33 8.33 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 v-29.17 a37.5 37.5 0 0 1 75 0 v29.17 a8.33 8.33 0 0 1 -8.33 8.33 h-4.17 a8.33 8.33 0 0 1 -8.33 -8.33 v-12.5 a8.33 8.33 0 0 1 8.33 -8.33 h12.5" },
+ { id: "ear", name: "Ear", tags: ["ear"], d: "M25 35.42 a27.08 27.08 0 1 1 54.17 0 c0 25 -25 25 -25 41.67 a14.58 14.58 0 1 1 -29.17 0 M62.5 35.42 a10.42 10.42 0 0 0 -20.83 0 v4.17 a8.33 8.33 0 1 1 0 16.67" },
+ { id: "volume-2", name: "Volume 2", tags: ["volume","2"], d: "M45.83 19.59 a2.94 2.94 0 0 0 -5.01 -2.08 L26.72 31.61 A5.83 5.83 0 0 1 22.57 33.33 H12.5 a4.17 4.17 0 0 0 -4.17 4.17 v25 a4.17 4.17 0 0 0 4.17 4.17 h10.07 a5.83 5.83 0 0 1 4.15 1.72 l14.1 14.1 A2.94 2.94 0 0 0 45.83 80.41 z M66.67 37.5 a20.83 20.83 0 0 1 0 25 M80.68 76.52 a37.5 37.5 0 0 0 0 -53.03" },
+ { id: "volume-x", name: "Volume X", tags: ["volume","x"], d: "M45.83 19.59 a2.94 2.94 0 0 0 -5.01 -2.08 L26.72 31.61 A5.83 5.83 0 0 1 22.57 33.33 H12.5 a4.17 4.17 0 0 0 -4.17 4.17 v25 a4.17 4.17 0 0 0 4.17 4.17 h10.07 a5.83 5.83 0 0 1 4.15 1.72 l14.1 14.1 A2.94 2.94 0 0 0 45.83 80.41 z M91.67 37.5 L66.67 62.5 M66.67 37.5 L91.67 62.5" },
+ { id: "radio", name: "Radio", tags: ["radio"], d: "M67.7 32.34 a25 25 0 0 1 0 35.33 M79.48 20.55 a41.67 41.67 0 0 1 0 58.89 M20.52 79.45 a41.67 41.67 0 0 1 0 -58.89 M32.3 67.66 a25 25 0 0 1 0 -35.33 M41.67 50 A8.33 8.33 0 1 0 58.33 50 A8.33 8.33 0 1 0 41.67 50 Z" },
+ { id: "podcast", name: "Podcast", tags: ["podcast"], d: "M70.21 77.42 a37.5 37.5 0 1 0 -40.42 0 M33.33 58.33 a20.83 20.83 0 1 1 33.33 0 M45.83 45.83 A4.17 4.17 0 1 0 54.17 45.83 A4.17 4.17 0 1 0 45.83 45.83 Z M54.17 70.83 a4.17 4.17 0 1 0 -8.33 0 l2.08 18.75 a2.08 2.08 0 1 0 4.17 0 Z" },
+ { id: "play", name: "Play", tags: ["play"], d: "M25 L12.5 L83.33 L50 L25 L87.5 L25 L12.5 Z" },
+ { id: "play-circle", name: "Play Circle", tags: ["play","circle"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M41.67 L33.33 L66.67 L50 L41.67 L66.67 L41.67 L33.33 Z" },
+ { id: "pause", name: "Pause", tags: ["pause"], d: "M62.5 16.67 H70.83 A4.17 4.17 0 0 1 75 20.83 V79.17 A4.17 4.17 0 0 1 70.83 83.33 H62.5 A4.17 4.17 0 0 1 58.33 79.17 V20.83 A4.17 4.17 0 0 1 62.5 16.67 Z M29.17 16.67 H37.5 A4.17 4.17 0 0 1 41.67 20.83 V79.17 A4.17 4.17 0 0 1 37.5 83.33 H29.17 A4.17 4.17 0 0 1 25 79.17 V20.83 A4.17 4.17 0 0 1 29.17 16.67 Z" },
+ { id: "pause-circle", name: "Pause Circle", tags: ["pause","circle"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M41.67 62.5 L41.67 37.5 M58.33 62.5 L58.33 37.5" },
+ { id: "skip-forward", name: "Skip Forward", tags: ["skip","forward"], d: "M20.83 L16.67 L62.5 L50 L20.83 L83.33 L20.83 L16.67 Z M79.17 20.83 L79.17 79.17" },
+ { id: "skip-back", name: "Skip Back", tags: ["skip","back"], d: "M79.17 L83.33 L37.5 L50 L79.17 L16.67 L79.17 L83.33 Z M20.83 79.17 L20.83 20.83" },
+ { id: "rewind", name: "Rewind", tags: ["rewind"], d: "M45.83 L79.17 L8.33 L50 L45.83 L20.83 L45.83 L79.17 Z M91.67 L79.17 L54.17 L50 L91.67 L20.83 L91.67 L79.17 Z" },
+ { id: "fast-forward", name: "Fast Forward", tags: ["fast","forward"], d: "M54.17 L79.17 L91.67 L50 L54.17 L20.83 L54.17 L79.17 Z M8.33 L79.17 L45.83 L50 L8.33 L20.83 L8.33 L79.17 Z" },
+ { id: "repeat", name: "Repeat", tags: ["repeat"], d: "m70.83 8.33 16.67 16.67 -16.67 16.67 M12.5 45.83 v-4.17 a16.67 16.67 0 0 1 16.67 -16.67 h58.33 m29.17 91.67 -16.67 -16.67 16.67 -16.67 M87.5 54.17 v4.17 a16.67 16.67 0 0 1 -16.67 16.67 H12.5" },
+ { id: "shuffle", name: "Shuffle", tags: ["shuffle"], d: "m75 58.33 16.67 16.67 -16.67 16.67 m75 8.33 16.67 16.67 -16.67 16.67 M8.33 75 h8.22 a16.67 16.67 0 0 0 13.75 -7.08 l22.73 -35.83 a16.67 16.67 0 0 1 13.75 -7.08 H91.67 M8.33 25 h8.22 a16.67 16.67 0 0 1 15 9.17 M91.67 75 h-25.17 a16.67 16.67 0 0 1 -13.75 -7.5 l-1.5 -1.88" },
+ { id: "list-music", name: "List Music", tags: ["list","music"], d: "M87.5 62.5 V25 M77.08 75 a10.42 10.42 0 1 0 0 -20.83 10.42 10.42 0 0 0 0 20.83 Z M50 50 H12.5 M66.67 25 H12.5 M50 75 H12.5" },
+ { id: "list-video", name: "List Video", tags: ["list","video"], d: "M50 50 H12.5 M66.67 25 H12.5 M50 75 H12.5 m66.67 50 20.83 12.5 -20.83 12.5 v-25 Z" },
+ { id: "audio-lines", name: "Audio Lines", tags: ["audio","lines"], d: "M8.33 41.67 v12.5 M25 25 v45.83 M41.67 12.5 v75 M58.33 33.33 v29.17 M75 20.83 v54.17 M91.67 41.67 v12.5" },
+ { id: "disc-3", name: "Disc 3", tags: ["disc","3"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M25 50 c0 -7.08 2.92 -13.33 7.5 -17.5 M41.67 50 A8.33 8.33 0 1 0 58.33 50 A8.33 8.33 0 1 0 41.67 50 Z M75 50 c0 7.08 -2.92 13.33 -7.5 17.5" },
+ { id: "disc-album", name: "Disc Album", tags: ["disc","album"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M29.17 50 A20.83 20.83 0 1 0 70.83 50 A20.83 20.83 0 1 0 29.17 50 Z M50 50 h0.04" },
+ { id: "calendar", name: "Calendar", tags: ["calendar"], d: "M33.33 8.33 v16.67 M66.67 8.33 v16.67 M20.83 16.67 H79.17 A8.33 8.33 0 0 1 87.5 25 V83.33 A8.33 8.33 0 0 1 79.17 91.67 H20.83 A8.33 8.33 0 0 1 12.5 83.33 V25 A8.33 8.33 0 0 1 20.83 16.67 Z M12.5 41.67 h75" },
+ { id: "calendar-check", name: "Calendar Check", tags: ["calendar","check"], d: "M33.33 8.33 v16.67 M66.67 8.33 v16.67 M20.83 16.67 H79.17 A8.33 8.33 0 0 1 87.5 25 V83.33 A8.33 8.33 0 0 1 79.17 91.67 H20.83 A8.33 8.33 0 0 1 12.5 83.33 V25 A8.33 8.33 0 0 1 20.83 16.67 Z M12.5 41.67 h75 m37.5 66.67 8.33 8.33 16.67 -16.67" },
+ { id: "calendar-plus", name: "Calendar Plus", tags: ["calendar","plus"], d: "M66.67 79.17 h25 M66.67 8.33 v16.67 M79.17 66.67 v25 M87.5 52.49 V25 a8.33 8.33 0 0 0 -8.33 -8.33 H20.83 a8.33 8.33 0 0 0 -8.33 8.33 v58.33 a8.33 8.33 0 0 0 8.33 8.33 h35.42 M12.5 41.67 h75 M33.33 8.33 v16.67" },
+ { id: "calendar-x", name: "Calendar X", tags: ["calendar","x"], d: "M33.33 8.33 v16.67 M66.67 8.33 v16.67 M20.83 16.67 H79.17 A8.33 8.33 0 0 1 87.5 25 V83.33 A8.33 8.33 0 0 1 79.17 91.67 H20.83 A8.33 8.33 0 0 1 12.5 83.33 V25 A8.33 8.33 0 0 1 20.83 16.67 Z M12.5 41.67 h75 m58.33 58.33 -16.67 16.67 m41.67 58.33 16.67 16.67" },
+ { id: "calendar-days", name: "Calendar Days", tags: ["calendar","days"], d: "M33.33 8.33 v16.67 M66.67 8.33 v16.67 M20.83 16.67 H79.17 A8.33 8.33 0 0 1 87.5 25 V83.33 A8.33 8.33 0 0 1 79.17 91.67 H20.83 A8.33 8.33 0 0 1 12.5 83.33 V25 A8.33 8.33 0 0 1 20.83 16.67 Z M12.5 41.67 h75 M33.33 58.33 h0.04 M50 58.33 h0.04 M66.67 58.33 h0.04 M33.33 75 h0.04 M50 75 h0.04 M66.67 75 h0.04" },
+ { id: "calendar-clock", name: "Calendar Clock", tags: ["calendar","clock"], d: "M66.67 58.33 v9.17 l6.67 4.17 M66.67 8.33 v16.67 M87.5 31.25 V25 a8.33 8.33 0 0 0 -8.33 -8.33 H20.83 a8.33 8.33 0 0 0 -8.33 8.33 v58.33 a8.33 8.33 0 0 0 8.33 8.33 h14.58 M12.5 41.67 h20.83 M33.33 8.33 v16.67 M41.67 66.67 A25 25 0 1 0 91.67 66.67 A25 25 0 1 0 41.67 66.67 Z" },
+ { id: "clock", name: "Clock", tags: ["clock"], d: "M50 25 v25 l16.67 8.33 M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z" },
+ { id: "clock-1", name: "Clock 1", tags: ["clock","1"], d: "M50 25 v25 l8.33 -16.67 M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z" },
+ { id: "alarm-clock", name: "Alarm Clock", tags: ["alarm","clock"], d: "M16.67 54.17 A33.33 33.33 0 1 0 83.33 54.17 A33.33 33.33 0 1 0 16.67 54.17 Z M50 37.5 v16.67 l8.33 8.33 M20.83 12.5 8.33 25 m91.67 25 -12.5 -12.5 M26.58 77.92 16.67 87.5 M73.5 77.79 83.33 87.5" },
+ { id: "timer", name: "Timer", tags: ["timer"], d: "M41.67 8.33 L58.33 8.33 M50 58.33 L62.5 45.83 M16.67 58.33 A33.33 33.33 0 1 0 83.33 58.33 A33.33 33.33 0 1 0 16.67 58.33 Z" },
+ { id: "timer-off", name: "Timer Off", tags: ["timer","off"], d: "M41.67 8.33 h16.67 M19.17 45.83 a33.33 33.33 0 0 0 7.08 36.25 33.33 33.33 0 0 0 36.25 7.08 M30.83 30.83 a33.33 33.33 0 0 1 42.92 4.17 33.33 33.33 0 0 1 3.75 42.5 m8.33 8.33 83.33 83.33 M50 50 v-8.33" },
+ { id: "hourglass", name: "Hourglass", tags: ["hourglass"], d: "M20.83 91.67 h58.33 M20.83 8.33 h58.33 M70.83 91.67 v-17.38 a8.33 8.33 0 0 0 -2.44 -5.89 L50 50 l-18.39 18.39 A8.33 8.33 0 0 0 29.17 74.28 V91.67 M29.17 8.33 v17.38 a8.33 8.33 0 0 0 2.44 5.89 L50 50 l18.39 -18.39 A8.33 8.33 0 0 0 70.83 25.72 V8.33" },
+ { id: "watch", name: "Watch", tags: ["watch"], d: "M50 41.67 v9.17 l6.67 4.17 m67.21 31.92 -3.38 -16.87 a8.33 8.33 0 0 0 -8.33 -6.71 h-11.17 a8.33 8.33 0 0 0 -8.33 6.71 l-3.25 16.88 m32.83 68.17 3.33 16.67 a8.33 8.33 0 0 0 8.33 6.71 h11.33 a8.33 8.33 0 0 0 8.33 -6.71 l3.38 -16.87 M25 50 A25 25 0 1 0 75 50 A25 25 0 1 0 25 50 Z" },
+ { id: "history", name: "History", tags: ["history"], d: "M12.5 50 a37.5 37.5 0 1 0 37.5 -37.5 40.63 40.63 0 0 0 -28.08 11.42 L12.5 33.33 M12.5 12.5 v20.83 h20.83 M50 29.17 v20.83 l16.67 8.33" },
+ { id: "refresh-cw", name: "Refresh Cw", tags: ["refresh","cw"], d: "M12.5 50 a37.5 37.5 0 0 1 37.5 -37.5 40.63 40.63 0 0 1 28.08 11.42 L87.5 33.33 M87.5 12.5 v20.83 h-20.83 M87.5 50 a37.5 37.5 0 0 1 -37.5 37.5 40.63 40.63 0 0 1 -28.08 -11.42 L12.5 66.67 M33.33 66.67 H12.5 v20.83" },
+ { id: "refresh-ccw", name: "Refresh Ccw", tags: ["refresh","ccw"], d: "M87.5 50 a37.5 37.5 0 0 0 -37.5 -37.5 40.63 40.63 0 0 0 -28.08 11.42 L12.5 33.33 M12.5 12.5 v20.83 h20.83 M12.5 50 a37.5 37.5 0 0 0 37.5 37.5 40.63 40.63 0 0 0 28.08 -11.42 L87.5 66.67 M66.67 66.67 h20.83 v20.83" },
+ { id: "rotate-cw", name: "Rotate Cw", tags: ["rotate","cw"], d: "M87.5 50 a37.5 37.5 0 1 1 -37.5 -37.5 c10.5 0 20.54 4.17 28.08 11.42 L87.5 33.33 M87.5 12.5 v20.83 h-20.83" },
+ { id: "rotate-ccw", name: "Rotate Ccw", tags: ["rotate","ccw"], d: "M12.5 50 a37.5 37.5 0 1 0 37.5 -37.5 40.63 40.63 0 0 0 -28.08 11.42 L12.5 33.33 M12.5 12.5 v20.83 h20.83" },
+ { id: "undo-2", name: "Undo 2", tags: ["undo","2"], d: "M37.5 58.33 16.67 37.5 l20.83 -20.83 M16.67 37.5 h43.75 a22.92 22.92 0 0 1 22.92 22.92 a22.92 22.92 0 0 1 -22.92 22.92 H45.83" },
+ { id: "redo-2", name: "Redo 2", tags: ["redo","2"], d: "m62.5 58.33 20.83 -20.83 -20.83 -20.83 M83.33 37.5 H39.58 A22.92 22.92 0 0 0 16.67 60.42 A22.92 22.92 0 0 0 39.58 83.33 H54.17" },
+ { id: "arrow-left", name: "Arrow Left", tags: ["arrow","left"], d: "m50 79.17 -29.17 -29.17 29.17 -29.17 M79.17 50 H20.83" },
+ { id: "arrow-right", name: "Arrow Right", tags: ["arrow","right"], d: "M20.83 50 h58.33 m50 20.83 29.17 29.17 -29.17 29.17" },
+ { id: "arrow-up", name: "Arrow Up", tags: ["arrow","up"], d: "m20.83 50 29.17 -29.17 29.17 29.17 M50 79.17 V20.83" },
+ { id: "arrow-down", name: "Arrow Down", tags: ["arrow","down"], d: "M50 20.83 v58.33 m79.17 50 -29.17 29.17 -29.17 -29.17" },
+ { id: "arrow-up-left", name: "Arrow Up Left", tags: ["arrow","up","left"], d: "M29.17 70.83 V29.17 h41.67 M70.83 70.83 29.17 29.17" },
+ { id: "arrow-up-right", name: "Arrow Up Right", tags: ["arrow","up","right"], d: "M29.17 29.17 h41.67 v41.67 M29.17 70.83 70.83 29.17" },
+ { id: "arrow-down-left", name: "Arrow Down Left", tags: ["arrow","down","left"], d: "M70.83 29.17 29.17 70.83 M70.83 70.83 H29.17 V29.17" },
+ { id: "arrow-down-right", name: "Arrow Down Right", tags: ["arrow","down","right"], d: "m29.17 29.17 41.67 41.67 M70.83 29.17 v41.67 H29.17" },
+ { id: "move", name: "Move", tags: ["move"], d: "M50 8.33 v83.33 m62.5 79.17 -12.5 12.5 -12.5 -12.5 m79.17 37.5 12.5 12.5 -12.5 12.5 M8.33 50 h83.33 m20.83 37.5 -12.5 12.5 12.5 12.5 m37.5 20.83 12.5 -12.5 12.5 12.5" },
+ { id: "move-up", name: "Move Up", tags: ["move","up"], d: "M33.33 25 L50 8.33 L66.67 25 M50 8.33 V91.67" },
+ { id: "move-down", name: "Move Down", tags: ["move","down"], d: "M33.33 75 L50 91.67 L66.67 75 M50 8.33 V91.67" },
+ { id: "move-left", name: "Move Left", tags: ["move","left"], d: "M25 33.33 L8.33 50 L25 66.67 M8.33 50 H91.67" },
+ { id: "move-right", name: "Move Right", tags: ["move","right"], d: "M75 33.33 L91.67 50 L75 66.67 M8.33 50 H91.67" },
+ { id: "expand", name: "Expand", tags: ["expand"], d: "m62.5 62.5 25 25 m62.5 37.5 25 -25 M87.5 66.67 v20.83 h-20.83 M87.5 33.33 V12.5 h-20.83 M12.5 66.67 v20.83 h20.83 m12.5 87.5 25 -25 M12.5 33.33 V12.5 h20.83 M37.5 37.5 12.5 12.5" },
+ { id: "shrink", name: "Shrink", tags: ["shrink"], d: "m62.5 62.5 25 25 m-25 -25 v20 m0 -20 h20 M37.5 82.5 V62.5 m0 0 H17.5 M37.5 62.5 l-25 25 M62.5 17.5 V37.5 m0 0 h20 M62.5 37.5 l25 -25 M37.5 17.5 V37.5 m0 0 H17.5 M37.5 37.5 12.5 12.5" },
+ { id: "maximize", name: "Maximize", tags: ["maximize"], d: "M33.33 12.5 H20.83 a8.33 8.33 0 0 0 -8.33 8.33 v12.5 M87.5 33.33 V20.83 a8.33 8.33 0 0 0 -8.33 -8.33 h-12.5 M12.5 66.67 v12.5 a8.33 8.33 0 0 0 8.33 8.33 h12.5 M66.67 87.5 h12.5 a8.33 8.33 0 0 0 8.33 -8.33 v-12.5" },
+ { id: "minimize", name: "Minimize", tags: ["minimize"], d: "M33.33 12.5 v12.5 a8.33 8.33 0 0 1 -8.33 8.33 H12.5 M87.5 33.33 h-12.5 a8.33 8.33 0 0 1 -8.33 -8.33 V12.5 M12.5 66.67 h12.5 a8.33 8.33 0 0 1 8.33 8.33 v12.5 M66.67 87.5 v-12.5 a8.33 8.33 0 0 1 8.33 -8.33 h12.5" },
+ { id: "maximize-2", name: "Maximize 2", tags: ["maximize","2"], d: "M62.5 12.5 h25 v25 m87.5 12.5 -29.17 29.17 m12.5 87.5 29.17 -29.17 M37.5 87.5 H12.5 v-25" },
+ { id: "minimize-2", name: "Minimize 2", tags: ["minimize","2"], d: "m58.33 41.67 29.17 -29.17 M83.33 41.67 h-25 V16.67 m12.5 87.5 29.17 -29.17 M16.67 58.33 h25 v25" },
+ { id: "fullscreen", name: "Fullscreen", tags: ["fullscreen"], d: "M12.5 29.17 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h8.33 M70.83 12.5 h8.33 a8.33 8.33 0 0 1 8.33 8.33 v8.33 M87.5 70.83 v8.33 a8.33 8.33 0 0 1 -8.33 8.33 h-8.33 M29.17 87.5 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 v-8.33 M33.33 33.33 H66.67 A4.17 4.17 0 0 1 70.83 37.5 V62.5 A4.17 4.17 0 0 1 66.67 66.67 H33.33 A4.17 4.17 0 0 1 29.17 62.5 V37.5 A4.17 4.17 0 0 1 33.33 33.33 Z" },
+ { id: "chevron-left", name: "Chevron Left", tags: ["chevron","left"], d: "m62.5 75 -25 -25 25 -25" },
+ { id: "chevron-right", name: "Chevron Right", tags: ["chevron","right"], d: "m37.5 75 25 -25 -25 -25" },
+ { id: "chevron-up", name: "Chevron Up", tags: ["chevron","up"], d: "m75 62.5 -25 -25 -25 25" },
+ { id: "chevron-down", name: "Chevron Down", tags: ["chevron","down"], d: "m25 37.5 25 25 25 -25" },
+ { id: "chevrons-left", name: "Chevrons Left", tags: ["chevrons","left"], d: "m45.83 70.83 -20.83 -20.83 20.83 -20.83 m75 70.83 -20.83 -20.83 20.83 -20.83" },
+ { id: "chevrons-right", name: "Chevrons Right", tags: ["chevrons","right"], d: "m25 70.83 20.83 -20.83 -20.83 -20.83 m54.17 70.83 20.83 -20.83 -20.83 -20.83" },
+ { id: "chevrons-up", name: "Chevrons Up", tags: ["chevrons","up"], d: "m70.83 45.83 -20.83 -20.83 -20.83 20.83 m70.83 75 -20.83 -20.83 -20.83 20.83" },
+ { id: "chevrons-down", name: "Chevrons Down", tags: ["chevrons","down"], d: "m29.17 25 20.83 20.83 20.83 -20.83 m29.17 54.17 20.83 20.83 20.83 -20.83" },
+ { id: "corner-up-left", name: "Corner Up Left", tags: ["corner","up","left"], d: "M83.33 83.33 v-29.17 a16.67 16.67 0 0 0 -16.67 -16.67 H16.67 M37.5 58.33 16.67 37.5 l20.83 -20.83" },
+ { id: "corner-up-right", name: "Corner Up Right", tags: ["corner","up","right"], d: "m62.5 58.33 20.83 -20.83 -20.83 -20.83 M16.67 83.33 v-29.17 a16.67 16.67 0 0 1 16.67 -16.67 h50" },
+ { id: "corner-down-left", name: "Corner Down Left", tags: ["corner","down","left"], d: "M83.33 16.67 v29.17 a16.67 16.67 0 0 1 -16.67 16.67 H16.67 m37.5 41.67 -20.83 20.83 20.83 20.83" },
+ { id: "corner-down-right", name: "Corner Down Right", tags: ["corner","down","right"], d: "m62.5 41.67 20.83 20.83 -20.83 20.83 M16.67 16.67 v29.17 a16.67 16.67 0 0 0 16.67 16.67 h50" },
+ { id: "arrow-up-from-line", name: "Arrow Up From Line", tags: ["arrow","up","from","line"], d: "m75 37.5 -25 -25 -25 25 M50 12.5 v58.33 M20.83 87.5 h58.33" },
+ { id: "arrow-down-from-line", name: "Arrow Down From Line", tags: ["arrow","down","from","line"], d: "M79.17 12.5 H20.83 M50 87.5 V29.17 m25 62.5 25 25 25 -25" },
+ { id: "arrow-left-from-line", name: "Arrow Left From Line", tags: ["arrow","left","from","line"], d: "m37.5 25 -25 25 25 25 M12.5 50 h58.33 M87.5 79.17 V20.83" },
+ { id: "arrow-right-from-line", name: "Arrow Right From Line", tags: ["arrow","right","from","line"], d: "M12.5 20.83 v58.33 M87.5 50 H29.17 m62.5 75 25 -25 -25 -25" },
+ { id: "log-in", name: "Log In", tags: ["log","in"], d: "m41.67 70.83 20.83 -20.83 -20.83 -20.83 M62.5 50 H12.5 M62.5 12.5 h16.67 a8.33 8.33 0 0 1 8.33 8.33 v58.33 a8.33 8.33 0 0 1 -8.33 8.33 h-16.67" },
+ { id: "log-out", name: "Log Out", tags: ["log","out"], d: "m66.67 70.83 20.83 -20.83 -20.83 -20.83 M87.5 50 H37.5 M37.5 87.5 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h16.67" },
+ { id: "external-link", name: "External Link", tags: ["external","link"], d: "M62.5 12.5 h25 v25 M41.67 58.33 87.5 12.5 M75 54.17 v25 a8.33 8.33 0 0 1 -8.33 8.33 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 V33.33 a8.33 8.33 0 0 1 8.33 -8.33 h25" },
+ { id: "link", name: "Link", tags: ["link"], d: "M41.67 54.17 a20.83 20.83 0 0 0 31.42 2.25 l12.5 -12.5 a20.83 20.83 0 0 0 -29.46 -29.46 l-7.17 7.13 M58.33 45.83 a20.83 20.83 0 0 0 -31.42 -2.25 l-12.5 12.5 a20.83 20.83 0 0 0 29.46 29.46 l7.13 -7.12" },
+ { id: "link-2", name: "Link 2", tags: ["link","2"], d: "M37.5 70.83 H29.17 A20.83 20.83 0 0 1 29.17 29.17 h8.33 M62.5 29.17 h8.33 a20.83 20.83 0 1 1 0 41.67 h-8.33 M33.33 50 L66.67 50" },
+ { id: "link-2-off", name: "Link 2 Off", tags: ["link","2","off"], d: "M37.5 70.83 H29.17 A20.83 20.83 0 0 1 29.17 29.17 M62.5 29.17 h8.33 a20.83 20.83 0 0 1 16.67 33.33 M33.33 50 L50 50 M8.33 8.33 L91.67 91.67" },
+ { id: "unlink", name: "Unlink", tags: ["unlink"], d: "m78.5 51.04 7.17 -7.12 h-0.08 a20.85 20.85 0 0 0 -0.5 -29.46 20.86 20.86 0 0 0 -28.96 0 l-7.17 7.13 m21.54 48.96 -7.12 7.13 a20.85 20.85 0 0 0 0.5 29.46 20.86 20.86 0 0 0 28.96 0 l7.13 -7.12 M33.33 8.33 L33.33 20.83 M8.33 33.33 L20.83 33.33 M66.67 79.17 L66.67 91.67 M79.17 66.67 L91.67 66.67" },
+ { id: "share", name: "Share", tags: ["share"], d: "M50 8.33 v54.17 m66.67 25 -16.67 -16.67 -16.67 16.67 M16.67 50 v33.33 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 v-33.33" },
+ { id: "share-2", name: "Share 2", tags: ["share","2"], d: "M62.5 20.83 A12.5 12.5 0 1 0 87.5 20.83 A12.5 12.5 0 1 0 62.5 20.83 Z M12.5 50 A12.5 12.5 0 1 0 37.5 50 A12.5 12.5 0 1 0 12.5 50 Z M62.5 79.17 A12.5 12.5 0 1 0 87.5 79.17 A12.5 12.5 0 1 0 62.5 79.17 Z M35.79 56.29 L64.25 72.88 M64.21 27.13 L35.79 43.71" },
+ { id: "download", name: "Download", tags: ["download"], d: "M50 62.5 V12.5 M87.5 62.5 v16.67 a8.33 8.33 0 0 1 -8.33 8.33 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 v-16.67 m29.17 41.67 20.83 20.83 20.83 -20.83" },
+ { id: "upload", name: "Upload", tags: ["upload"], d: "M50 12.5 v50 m70.83 33.33 -20.83 -20.83 -20.83 20.83 M87.5 62.5 v16.67 a8.33 8.33 0 0 1 -8.33 8.33 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 v-16.67" },
+ { id: "cloud-download", name: "Cloud Download", tags: ["cloud","download"], d: "M50 54.17 v33.33 l-16.67 -16.67 m50 87.5 16.67 -16.67 M18.3 63.62 A29.17 29.17 0 1 1 65.46 33.33 h7.46 a18.75 18.75 0 0 1 10.15 34.52" },
+ { id: "import", name: "Import", tags: ["import"], d: "M50 12.5 v50 m33.33 45.83 16.67 16.67 16.67 -16.67 M33.33 20.83 H16.67 a8.33 8.33 0 0 0 -8.33 8.33 v41.67 a8.33 8.33 0 0 0 8.33 8.33 h66.67 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 a8.33 8.33 0 0 0 -8.33 -8.33 h-16.67" },
+ { id: "copy", name: "Copy", tags: ["copy"], d: "M41.67 33.33 H83.33 A8.33 8.33 0 0 1 91.67 41.67 V83.33 A8.33 8.33 0 0 1 83.33 91.67 H41.67 A8.33 8.33 0 0 1 33.33 83.33 V41.67 A8.33 8.33 0 0 1 41.67 33.33 Z M16.67 66.67 c-4.58 0 -8.33 -3.75 -8.33 -8.33 V16.67 c0 -4.58 3.75 -8.33 8.33 -8.33 h41.67 c4.58 0 8.33 3.75 8.33 8.33" },
+ { id: "clipboard-copy", name: "Clipboard Copy", tags: ["clipboard","copy"], d: "M37.5 8.33 H62.5 A4.17 4.17 0 0 1 66.67 12.5 V20.83 A4.17 4.17 0 0 1 62.5 25 H37.5 A4.17 4.17 0 0 1 33.33 20.83 V12.5 A4.17 4.17 0 0 1 37.5 8.33 Z M33.33 16.67 H25 a8.33 8.33 0 0 0 -8.33 8.33 v58.33 a8.33 8.33 0 0 0 8.33 8.33 h50 a8.33 8.33 0 0 0 8.33 -8.33 v-8.33 M66.67 16.67 h8.33 a8.33 8.33 0 0 1 8.33 8.33 v16.67 M87.5 58.33 H45.83 m62.5 41.67 -16.67 16.67 16.67 16.67" },
+ { id: "file-plus-2", name: "File Plus 2", tags: ["file","plus","2"], d: "M16.67 91.67 h58.33 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 l-20.83 -20.83 H25 a8.33 8.33 0 0 0 -8.33 8.33 v16.67 M58.33 8.33 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 M12.5 62.5 h25 M25 50 v25" },
+ { id: "plus", name: "Plus", tags: ["plus"], d: "M20.83 50 h58.33 M50 20.83 v58.33" },
+ { id: "minus", name: "Minus", tags: ["minus"], d: "M20.83 50 h58.33" },
+ { id: "plus-circle", name: "Plus Circle", tags: ["plus","circle"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M33.33 50 h33.33 M50 33.33 v33.33" },
+ { id: "minus-circle", name: "Minus Circle", tags: ["minus","circle"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M33.33 50 h33.33" },
+ { id: "plus-square", name: "Plus Square", tags: ["plus","square"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M33.33 50 h33.33 M50 33.33 v33.33" },
+ { id: "minus-square", name: "Minus Square", tags: ["minus","square"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M33.33 50 h33.33" },
+ { id: "x", name: "X", tags: ["x"], d: "M75 25 25 75 m25 25 50 50" },
+ { id: "check", name: "Check", tags: ["check"], d: "M83.33 25 37.5 70.83 l-20.83 -20.83" },
+ { id: "check-check", name: "Check Check", tags: ["check","check"], d: "M75 25 29.17 70.83 l-20.83 -20.83 m91.67 41.67 -31.25 31.25 L54.17 66.67" },
+ { id: "check-circle-2", name: "Check Circle 2", tags: ["check","circle","2"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z m37.5 50 8.33 8.33 16.67 -16.67" },
+ { id: "x-circle", name: "X Circle", tags: ["x","circle"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z m62.5 37.5 -25 25 m37.5 37.5 25 25" },
+ { id: "info", name: "Info", tags: ["info"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M50 66.67 v-16.67 M50 33.33 h0.04" },
+ { id: "alert-triangle", name: "Alert Triangle", tags: ["alert","triangle"], d: "m90.54 75 -33.33 -58.33 a8.33 8.33 0 0 0 -14.5 0 l-33.33 58.33 A8.33 8.33 0 0 0 16.67 87.5 h66.67 a8.33 8.33 0 0 0 7.21 -12.5 M50 37.5 v16.67 M50 70.83 h0.04" },
+ { id: "alert-circle", name: "Alert Circle", tags: ["alert","circle"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M50 33.33 L50 50 M50 66.67 L50.04 66.67" },
+ { id: "help-circle", name: "Help Circle", tags: ["help","circle"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M37.88 37.5 a12.5 12.5 0 0 1 24.29 4.17 c0 8.33 -12.5 12.5 -12.5 12.5 M50 70.83 h0.04" },
+ { id: "ban", name: "Ban", tags: ["ban"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z m20.42 20.42 59.17 59.17" },
+ { id: "slash", name: "Slash", tags: ["slash"], d: "M91.67 8.33 8.33 91.67" },
+ { id: "delete", name: "Delete", tags: ["delete"], d: "M41.67 20.83 a8.33 8.33 0 0 0 -5.6 2.16 l-26.37 23.92 a4.17 4.17 0 0 0 0 6.17 l26.37 23.92 A8.33 8.33 0 0 0 41.67 79.17 h41.67 a8.33 8.33 0 0 0 8.33 -8.33 V29.17 a8.33 8.33 0 0 0 -8.33 -8.33 z m50 37.5 25 25 m75 37.5 -25 25" },
+ { id: "trash-2", name: "Trash 2", tags: ["trash","2"], d: "M12.5 25 h75 M79.17 25 v58.33 c0 4.17 -4.17 8.33 -8.33 8.33 H29.17 c-4.17 0 -8.33 -4.17 -8.33 -8.33 V25 M33.33 25 V16.67 c0 -4.17 4.17 -8.33 8.33 -8.33 h16.67 c4.17 0 8.33 4.17 8.33 8.33 v8.33 M41.67 45.83 L41.67 70.83 M58.33 45.83 L58.33 70.83" },
+ { id: "trash", name: "Trash", tags: ["trash"], d: "M12.5 25 h75 M79.17 25 v58.33 c0 4.17 -4.17 8.33 -8.33 8.33 H29.17 c-4.17 0 -8.33 -4.17 -8.33 -8.33 V25 M33.33 25 V16.67 c0 -4.17 4.17 -8.33 8.33 -8.33 h16.67 c4.17 0 8.33 4.17 8.33 8.33 v8.33" },
+ { id: "menu", name: "Menu", tags: ["menu"], d: "M16.67 50 h66.67 M16.67 75 h66.67 M16.67 25 h66.67" },
+ { id: "more-horizontal", name: "More Horizontal", tags: ["more","horizontal"], d: "M45.83 50 A4.17 4.17 0 1 0 54.17 50 A4.17 4.17 0 1 0 45.83 50 Z M75 50 A4.17 4.17 0 1 0 83.33 50 A4.17 4.17 0 1 0 75 50 Z M16.67 50 A4.17 4.17 0 1 0 25 50 A4.17 4.17 0 1 0 16.67 50 Z" },
+ { id: "more-vertical", name: "More Vertical", tags: ["more","vertical"], d: "M45.83 50 A4.17 4.17 0 1 0 54.17 50 A4.17 4.17 0 1 0 45.83 50 Z M45.83 20.83 A4.17 4.17 0 1 0 54.17 20.83 A4.17 4.17 0 1 0 45.83 20.83 Z M45.83 79.17 A4.17 4.17 0 1 0 54.17 79.17 A4.17 4.17 0 1 0 45.83 79.17 Z" },
+ { id: "dot", name: "Dot", tags: ["dot"], d: "M46.25 50.42 A4.17 4.17 0 1 0 54.58 50.42 A4.17 4.17 0 1 0 46.25 50.42 Z" },
+ { id: "grip", name: "Grip", tags: ["grip"], d: "M45.83 20.83 A4.17 4.17 0 1 0 54.17 20.83 A4.17 4.17 0 1 0 45.83 20.83 Z M75 20.83 A4.17 4.17 0 1 0 83.33 20.83 A4.17 4.17 0 1 0 75 20.83 Z M16.67 20.83 A4.17 4.17 0 1 0 25 20.83 A4.17 4.17 0 1 0 16.67 20.83 Z M45.83 50 A4.17 4.17 0 1 0 54.17 50 A4.17 4.17 0 1 0 45.83 50 Z M75 50 A4.17 4.17 0 1 0 83.33 50 A4.17 4.17 0 1 0 75 50 Z M16.67 50 A4.17 4.17 0 1 0 25 50 A4.17 4.17 0 1 0 16.67 50 Z M45.83 79.17 A4.17 4.17 0 1 0 54.17 79.17 A4.17 4.17 0 1 0 45.83 79.17 Z M75 79.17 A4.17 4.17 0 1 0 83.33 79.17 A4.17 4.17 0 1 0 75 79.17 Z M16.67 79.17 A4.17 4.17 0 1 0 25 79.17 A4.17 4.17 0 1 0 16.67 79.17 Z" },
+ { id: "grip-horizontal", name: "Grip Horizontal", tags: ["grip","horizontal"], d: "M45.83 37.5 A4.17 4.17 0 1 0 54.17 37.5 A4.17 4.17 0 1 0 45.83 37.5 Z M75 37.5 A4.17 4.17 0 1 0 83.33 37.5 A4.17 4.17 0 1 0 75 37.5 Z M16.67 37.5 A4.17 4.17 0 1 0 25 37.5 A4.17 4.17 0 1 0 16.67 37.5 Z M45.83 62.5 A4.17 4.17 0 1 0 54.17 62.5 A4.17 4.17 0 1 0 45.83 62.5 Z M75 62.5 A4.17 4.17 0 1 0 83.33 62.5 A4.17 4.17 0 1 0 75 62.5 Z M16.67 62.5 A4.17 4.17 0 1 0 25 62.5 A4.17 4.17 0 1 0 16.67 62.5 Z" },
+ { id: "grip-vertical", name: "Grip Vertical", tags: ["grip","vertical"], d: "M33.33 50 A4.17 4.17 0 1 0 41.67 50 A4.17 4.17 0 1 0 33.33 50 Z M33.33 20.83 A4.17 4.17 0 1 0 41.67 20.83 A4.17 4.17 0 1 0 33.33 20.83 Z M33.33 79.17 A4.17 4.17 0 1 0 41.67 79.17 A4.17 4.17 0 1 0 33.33 79.17 Z M58.33 50 A4.17 4.17 0 1 0 66.67 50 A4.17 4.17 0 1 0 58.33 50 Z M58.33 20.83 A4.17 4.17 0 1 0 66.67 20.83 A4.17 4.17 0 1 0 58.33 20.83 Z M58.33 79.17 A4.17 4.17 0 1 0 66.67 79.17 A4.17 4.17 0 1 0 58.33 79.17 Z" },
+ { id: "sidebar", name: "Sidebar", tags: ["sidebar"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M37.5 12.5 v75" },
+ { id: "sidebar-open", name: "Sidebar Open", tags: ["sidebar","open"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M37.5 12.5 v75 m58.33 37.5 12.5 12.5 -12.5 12.5" },
+ { id: "sidebar-close", name: "Sidebar Close", tags: ["sidebar","close"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M37.5 12.5 v75 m66.67 62.5 -12.5 -12.5 12.5 -12.5" },
+ { id: "panel-right", name: "Panel Right", tags: ["panel","right"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M62.5 12.5 v75" },
+ { id: "panel-top", name: "Panel Top", tags: ["panel","top"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M12.5 37.5 h75" },
+ { id: "panel-bottom", name: "Panel Bottom", tags: ["panel","bottom"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V79.17 A8.33 8.33 0 0 1 79.17 87.5 H20.83 A8.33 8.33 0 0 1 12.5 79.17 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M12.5 62.5 h75" },
+ { id: "app-window", name: "App Window", tags: ["app","window"], d: "M16.67 16.67 H83.33 A8.33 8.33 0 0 1 91.67 25 V75 A8.33 8.33 0 0 1 83.33 83.33 H16.67 A8.33 8.33 0 0 1 8.33 75 V25 A8.33 8.33 0 0 1 16.67 16.67 Z M41.67 16.67 v16.67 M8.33 33.33 h83.33 M25 16.67 v16.67" },
+ { id: "airplay", name: "Airplay", tags: ["airplay"], d: "M20.83 70.83 H16.67 a8.33 8.33 0 0 1 -8.33 -8.33 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h66.67 a8.33 8.33 0 0 1 8.33 8.33 v41.67 a8.33 8.33 0 0 1 -8.33 8.33 h-4.17 m50 62.5 20.83 25 H29.17 Z" },
+ { id: "cast", name: "Cast", tags: ["cast"], d: "M8.33 33.33 V25 a8.33 8.33 0 0 1 8.33 -8.33 h66.67 a8.33 8.33 0 0 1 8.33 8.33 v50 a8.33 8.33 0 0 1 -8.33 8.33 h-25 M8.33 50 a37.5 37.5 0 0 1 33.33 33.33 M8.33 66.67 a20.83 20.83 0 0 1 16.67 16.67 M8.33 83.33 L8.38 83.33" },
+ { id: "picture-in-picture-2", name: "Picture In Picture 2", tags: ["picture","in","picture","2"], d: "M87.5 37.5 V25 a8.33 8.33 0 0 0 -8.33 -8.33 H16.67 a8.33 8.33 0 0 0 -8.33 8.33 v41.67 c0 4.58 3.75 8.33 8.33 8.33 h16.67 M58.33 54.17 H83.33 A8.33 8.33 0 0 1 91.67 62.5 V75 A8.33 8.33 0 0 1 83.33 83.33 H58.33 A8.33 8.33 0 0 1 50 75 V62.5 A8.33 8.33 0 0 1 58.33 54.17 Z" },
+ { id: "coffee", name: "Coffee", tags: ["coffee"], d: "M41.67 8.33 v8.33 M58.33 8.33 v8.33 M66.67 33.33 a4.17 4.17 0 0 1 4.17 4.17 v33.33 a16.67 16.67 0 0 1 -16.67 16.67 H29.17 a16.67 16.67 0 0 1 -16.67 -16.67 V37.5 a4.17 4.17 0 0 1 4.17 -4.17 h58.33 a16.67 16.67 0 1 1 0 33.33 h-4.17 M25 8.33 v8.33" },
+ { id: "cup-soda", name: "Cup Soda", tags: ["cup","soda"], d: "m25 33.33 7.29 51.17 a8.33 8.33 0 0 0 8.33 7.17 h18.92 a8.33 8.33 0 0 0 8.33 -7.17 L75 33.33 M20.83 33.33 h58.33 M29.17 62.5 a26.96 26.96 0 0 1 20.83 0 26.96 26.96 0 0 0 20.83 0 m50 33.33 4.17 -25 h8.33" },
+ { id: "beer", name: "Beer", tags: ["beer"], d: "M70.83 45.83 h4.17 a12.5 12.5 0 0 1 0 25 h-4.17 M37.5 50 v25 M54.17 50 v25 M58.33 31.25 c-4.17 0 -6 2.08 -12.5 2.08 s-8.33 -2.08 -12.5 -2.08 -7.17 2.08 -10.42 2.08 a10.42 10.42 0 0 1 0 -20.83 c3.25 0 6.54 2.08 10.42 2.08 S39.33 8.33 45.83 8.33 s8.33 6.25 12.5 6.25 7.17 -2.08 10.42 -2.08 a10.42 10.42 0 0 1 0 20.83 c-3.25 0 -6.25 -2.08 -10.42 -2.08 Z M20.83 33.33 v50 a8.33 8.33 0 0 0 8.33 8.33 h33.33 a8.33 8.33 0 0 0 8.33 -8.33 V33.33" },
+ { id: "wine", name: "Wine", tags: ["wine"], d: "M33.33 91.67 h33.33 M29.17 41.67 h41.67 M50 62.5 v29.17 M50 62.5 a20.83 20.83 0 0 0 20.83 -20.83 c0 -8.33 -2.08 -16.67 -8.33 -33.33 H37.5 c-6.25 16.67 -8.33 25 -8.33 33.33 a20.83 20.83 0 0 0 20.83 20.83 Z" },
+ { id: "wine-off", name: "Wine Off", tags: ["wine","off"], d: "M33.33 91.67 h33.33 M29.17 41.67 h12.5 m29.17 0 h-5.6 M50 62.5 v29.17 M30.45 30.45 A51.38 51.38 0 0 0 29.17 41.67 a20.83 20.83 0 0 0 30.8 18.3 M35.99 12.42 C36.46 11.12 36.97 9.75 37.5 8.33 h25 c6.25 16.67 8.33 25 8.33 33.33 0 1.7 -0.21 3.37 -0.6 4.99 M8.33 8.33 L91.67 91.67" },
+ { id: "martini", name: "Martini", tags: ["martini"], d: "M33.33 91.67 h33.33 M50 45.83 v45.83 m79.17 12.5 -29.17 33.33 -29.17 -33.33 Z" },
+ { id: "utensils", name: "Utensils", tags: ["utensils"], d: "M12.5 8.33 v29.17 c0 4.58 3.75 8.33 8.33 8.33 h16.67 a8.33 8.33 0 0 0 8.33 -8.33 V8.33 M29.17 8.33 v83.33 M87.5 62.5 V8.33 a20.83 20.83 0 0 0 -20.83 20.83 v25 c0 4.58 3.75 8.33 8.33 8.33 h12.5 Z m0 0 v29.17" },
+ { id: "utensils-crossed", name: "Utensils Crossed", tags: ["utensils","crossed"], d: "m66.67 8.33 -9.58 9.58 a12.5 12.5 0 0 0 0 17.5 l7.5 7.5 a12.5 12.5 0 0 0 17.5 0 L91.67 33.33 M62.5 62.5 13.75 13.75 a17.5 17.5 0 0 0 0 25 l30.42 30.42 c2.92 2.92 8.33 2.92 11.67 0 L62.5 62.5 Z m0 0 29.17 29.17 m8.75 90.83 26.67 -26.25 m79.17 20.83 -29.17 29.17" },
+ { id: "chef-hat", name: "Chef Hat", tags: ["chef","hat"], d: "M70.83 87.5 a4.17 4.17 0 0 0 4.17 -4.17 v-22.29 c0 -1.9 1.32 -3.52 3.03 -4.34 a16.67 16.67 0 0 0 -8.89 -31.62 20.83 20.83 0 0 0 -38.28 0 16.67 16.67 0 0 0 -8.89 31.62 c1.71 0.83 3.03 2.44 3.03 4.34 V83.33 a4.17 4.17 0 0 0 4.17 4.17 Z M25 70.83 h50" },
+ { id: "cooking-pot", name: "Cooking Pot", tags: ["cooking","pot"], d: "M8.33 50 h83.33 M83.33 50 v33.33 a8.33 8.33 0 0 1 -8.33 8.33 H25 a8.33 8.33 0 0 1 -8.33 -8.33 v-33.33 m16.67 33.33 66.67 -16.67 m36.92 28.25 -1.88 -7.54 a8.33 8.33 0 0 1 6.04 -10.13 l8.08 -2 a8.33 8.33 0 0 1 10.13 6.08 l1.88 7.5" },
+ { id: "soup", name: "Soup", tags: ["soup"], d: "M50 87.5 a37.5 37.5 0 0 0 37.5 -37.5 H12.5 a37.5 37.5 0 0 0 37.5 37.5 Z M29.17 87.5 h41.67 M81.25 50 91.67 25 M67.71 12.5 c1.13 0.42 3.33 2.21 3.13 5.67 -0.25 3.46 -3.88 5 -4.17 8.42 -0.21 3.25 1.42 5.17 3.04 6.75 M46.88 12.5 c1.13 0.42 3.33 2.21 3.08 5.67 -0.21 3.46 -3.88 5 -4.08 8.42 -0.25 3.25 1.38 5.17 3 6.75 M26.04 12.5 c1.13 0.42 3.33 2.21 3.13 5.67 -0.25 3.46 -3.88 5 -4.17 8.42 -0.21 3.25 1.42 5.17 3.08 6.75" },
+ { id: "salad", name: "Salad", tags: ["salad"], d: "M29.17 87.5 h41.67 M50 87.5 a37.5 37.5 0 0 0 37.5 -37.5 H12.5 a37.5 37.5 0 0 0 37.5 37.5 Z M47.42 50 a10 10 0 0 1 -1.67 -19.87 10 10 0 0 1 13.33 -11.54 10 10 0 0 1 14.46 -2.62 10 10 0 0 1 14.04 14.04 10 10 0 0 1 -4.58 15.42 10.46 10.46 0 0 1 0.13 4.58 m54.17 50 16.67 -16.67 M45.42 30.21 A16.63 16.63 0 0 0 16.67 41.67 c0 3.04 0.83 5.88 2.25 8.33" },
+ { id: "sandwich", name: "Sandwich", tags: ["sandwich"], d: "m9.88 46.76 34.88 -28.24 a8.33 8.33 0 0 1 10.48 0 l34.88 28.24 M87.5 62.5 a4.17 4.17 0 0 1 4.17 4.17 v8.33 a4.17 4.17 0 0 1 -4.17 4.17 h-21.87 M12.5 62.5 a4.17 4.17 0 0 0 -4.17 4.17 v8.33 a4.17 4.17 0 0 0 4.17 4.17 h37.5 m27.79 62.5 25.54 19.17 a8.33 8.33 0 0 0 11.67 -1.67 l13.13 -17.5 M12.5 45.83 H87.5 A4.17 4.17 0 0 1 91.67 50 V58.33 A4.17 4.17 0 0 1 87.5 62.5 H12.5 A4.17 4.17 0 0 1 8.33 58.33 V50 A4.17 4.17 0 0 1 12.5 45.83 Z" },
+ { id: "pizza", name: "Pizza", tags: ["pizza"], d: "m50 58.33 -4.17 4.17 m57.29 76.04 -5.21 5.92 M74.06 23.56 a65.33 65.33 0 0 0 -50.5 50.5 M78.33 38.75 a4.17 4.17 0 0 0 8.75 32.08 M91.52 86.38 a4.17 4.17 0 0 1 -5.13 5.13 l-75 -20.83 a4.17 4.17 0 0 1 -2.9 -5.13 A82 82 0 0 1 65.55 8.49 a4.17 4.17 0 0 1 5.13 2.9 z" },
+ { id: "cookie", name: "Cookie", tags: ["cookie"], d: "M50 8.33 a41.67 41.67 0 1 0 41.67 41.67 16.67 16.67 0 0 1 -20.83 -20.83 16.67 16.67 0 0 1 -20.83 -20.83 M35.42 35.42 v0.04 M66.67 64.58 v0.04 M50 50 v0.04 M45.83 70.83 v0.04 M29.17 58.33 v0.04" },
+ { id: "croissant", name: "Croissant", tags: ["croissant"], d: "m19.17 54.63 24.13 -13.37 c7.88 -4.38 19.96 7.42 15.46 15.46 l-13.42 24.21 C36.67 96.5 3.29 63.46 19.17 54.63 Z m43.75 39.58 -4.17 -9.54 C38.33 27 36.67 25 33.33 25 H18.75 C11.63 25 8.33 27.08 8.33 35.42 a32.13 32.13 0 0 0 8.33 20.13 M33.33 25 c0 -6.46 1 -16.67 -8.33 -16.67 -8.33 0 -10.42 9.04 -10.42 16.67 m60.42 56.25 9.54 4.17 c3.04 1.25 5.04 2.92 5.04 6.25 v14.58 c0 7.13 -2.08 10.42 -10.42 10.42 a32.13 32.13 0 0 1 -20.12 -8.33 M75 66.67 c6.46 0 16.67 -1 16.67 8.33 0 8.33 -9.04 10.42 -16.67 10.42" },
+ { id: "egg-fried", name: "Egg Fried", tags: ["egg","fried"], d: "M33.33 52.08 A14.58 14.58 0 1 0 62.5 52.08 A14.58 14.58 0 1 0 33.33 52.08 Z M12.5 33.33 c0 -14.58 10.42 -25 27.08 -25 20.83 0 20.13 12.5 31.25 20.83 s20.83 8.33 20.83 25 c0 18.75 -10.42 27.08 -29.17 27.08 -10.42 0 -10.42 10.42 -25 10.42 s-29.17 -8.33 -29.17 -22.92 c0 -12.5 6.25 -12.5 6.25 -20.83 C14.58 41.67 12.5 37.5 12.5 33.33 Z" },
+ { id: "donut", name: "Donut", tags: ["donut"], d: "M85.42 41.67 a10.42 10.42 0 0 1 -10 -12.5 H75 a12.29 12.29 0 0 1 -10.83 -18.33 41.67 41.67 0 1 0 26.25 29.58 c-1.25 0.83 -3.33 1.25 -5 1.25 M37.5 50 A12.5 12.5 0 1 0 62.5 50 A12.5 12.5 0 1 0 37.5 50 Z" },
+ { id: "ice-cream", name: "Ice Cream", tags: ["ice","cream"], d: "m29.17 45.83 17 43.13 a4.17 4.17 0 0 0 7.67 0 L70.83 45.83 M70.83 29.17 A20.83 20.83 0 0 0 29.17 29.17 M70.83 29.17 a8.33 8.33 0 0 1 0 16.67 H29.17 a8.33 8.33 0 0 1 0 -16.67" },
+ { id: "ice-cream-2", name: "Ice Cream 2", tags: ["ice","cream","2"], d: "M50 70.83 c20.83 0 33.33 -11.21 33.33 -25 H16.67 c0 13.79 12.5 25 33.33 25 m-16.67 16.67 h33.33 m-16.67 -12.5 v12.5 M21.42 45.83 a14.58 14.58 0 1 1 27.96 0 M50.58 45.83 a14.58 14.58 0 1 1 27.96 0 M64.58 27.08 a14.58 14.58 0 1 0 -29.17 0" },
+ { id: "apple", name: "Apple", tags: ["apple"], d: "M50 87.25 c6.25 0 11.46 4.42 16.67 4.42 12.5 0 25 -33.33 25 -50.92 A20.46 20.46 0 0 0 70.83 20.83 c-9.25 0 -16.67 6 -20.83 8.33 -4.17 -2.33 -11.58 -8.33 -20.83 -8.33 a20.42 20.42 0 0 0 -20.83 19.92 C8.33 58.33 20.83 91.67 33.33 91.67 c5.21 0 10.42 -4.42 16.67 -4.42 Z M41.67 8.33 c4.17 2.08 8.33 8.33 8.33 20.83" },
+ { id: "banana", name: "Banana", tags: ["banana"], d: "M16.67 54.17 c14.58 -8.33 33.33 -8.33 41.67 8.33 a22.92 22.92 0 0 1 33.33 20.83 M21.46 74.54 c23 -6.33 36.04 -28.71 29.17 -50 C48.13 16.67 47.92 8.33 54.17 8.33 c13.42 0 20.83 22.92 20.83 33.33 0 27.08 -17.5 50 -43.71 50 C21.29 91.67 8.33 91.67 8.33 83.33 c0 -6.25 4.75 -6.46 13.13 -8.79 Z" },
+ { id: "cherry", name: "Cherry", tags: ["cherry"], d: "M8.33 70.83 a20.83 20.83 0 0 0 41.67 0 c0 -11.5 -10.42 -20.83 -20.83 -12.5 -10.42 -8.33 -20.83 1 -20.83 12.5 Z M50 70.83 a20.83 20.83 0 0 0 41.67 0 c0 -11.5 -10.42 -20.83 -20.83 -12.5 -10.42 -8.33 -20.83 1 -20.83 12.5 Z M29.17 58.33 c13.42 -12.13 17.88 -36.46 20.83 -50 6.92 9.92 20.58 37.5 20.83 50 M91.67 37.5 c-17.87 0 -29.75 -9.71 -41.67 -29.17 23.79 0 41.67 19.46 41.67 29.17 Z" },
+ { id: "citrus", name: "Citrus", tags: ["citrus"], d: "M90.25 73.63 a4.5 4.5 0 0 1 -0.17 6.67 A50 50 0 0 1 19.71 9.92 a4.58 4.58 0 0 1 6.71 -0.17 z M81.88 65.25 A33.33 33.33 0 0 1 34.79 18.08 m58.33 41.67 -22.92 22.92 M58.33 74.38 V41.67 H25.63" },
+ { id: "carrot", name: "Carrot", tags: ["carrot"], d: "M9.46 90.42 s41.13 -14.58 53.04 -26.5 a18.75 18.75 0 0 0 -26.5 -26.54 C24.04 49.33 9.46 90.42 9.46 90.42 z M36 58.33 l-8.54 -8.5 M63.92 62.5 l-10.25 -10.25 M91.67 37.5 s-5.54 -8.33 -14.58 -8.33 C70.25 29.17 62.5 37.5 62.5 37.5 s5.54 8.33 14.58 8.33 S91.67 37.5 91.67 37.5 z M62.5 8.33 s-8.33 5.54 -8.33 14.58 S62.5 37.5 62.5 37.5 s8.33 -7.67 8.33 -14.58 C70.83 13.88 62.5 8.33 62.5 8.33 z" },
+ { id: "beef", name: "Beef", tags: ["beef"], d: "M68.33 57.08 A27.08 27.08 0 1 0 26.17 27.5 c-4.58 13.04 -3.25 16.25 -13.25 25.33 A12.5 12.5 0 0 0 20.83 75 c16.67 0 35 -7.5 47.5 -17.92 m77.08 25 9.13 18.75 a27 27 0 0 1 -9.54 30 C64.17 84.17 45.83 91.67 29.17 91.67 a12.5 12.5 0 0 1 -11.17 -6.92 L10 68.75 M41.67 35.42 A10.42 10.42 0 1 0 62.5 35.42 A10.42 10.42 0 1 0 41.67 35.42 Z" },
+ { id: "ham", name: "Ham", tags: ["ham"], d: "M54.77 88.1 A30.31 43.52 45 1 0 11.9 45.23 M54.77 88.1 A30.31 18.19 45 0 0 11.9 45.23 a30.31 18.19 45 0 0 42.87 42.87 M69.02 43.48 77.5 35 a10.42 10.42 0 1 0 6.88 -19.38 10.42 10.42 0 1 0 -19.42 6.92 l-8.43 8.44 m35.42 68.75 -4.17 -4.17" },
+ { id: "milk", name: "Milk", tags: ["milk"], d: "M33.33 8.33 h33.33 M37.5 8.33 v11.62 a16.67 16.67 0 0 1 -2.8 9.25 l-2.73 4.1 A16.67 16.67 0 0 0 29.17 42.55 V83.33 a8.33 8.33 0 0 0 8.33 8.33 h25 a8.33 8.33 0 0 0 8.33 -8.33 v-40.79 a16.67 16.67 0 0 0 -2.8 -9.25 l-2.73 -4.1 A16.67 16.67 0 0 1 62.5 19.95 V8.33 M29.17 62.5 a26.97 26.97 0 0 1 20.83 0 26.96 26.96 0 0 0 20.83 0" },
+ { id: "milk-off", name: "Milk Off", tags: ["milk","off"], d: "M33.33 8.33 h33.33 M37.5 8.33 v5.6 M62.5 8.33 v11.62 a16.67 16.67 0 0 0 2.8 9.25 l2.73 4.1 a16.67 16.67 0 0 1 2.8 9.25 v4.71 M32.5 32.5 l-0.53 0.8 A16.67 16.67 0 0 0 29.17 42.55 V83.33 a8.33 8.33 0 0 0 8.33 8.33 h25 a8.33 8.33 0 0 0 8.33 -8.33 v-12.5 M29.17 62.5 a26.96 26.96 0 0 1 20.83 0 26.97 26.97 0 0 0 14.31 1.81 M8.33 8.33 L91.67 91.67" },
+ { id: "popcorn", name: "Popcorn", tags: ["popcorn"], d: "M75 33.33 a8.33 8.33 0 0 0 0 -16.67 8.33 8.33 0 0 0 -16.67 0 8.33 8.33 0 0 0 -16.67 0 8.33 8.33 0 0 0 -16.67 0 8.33 8.33 0 0 0 0 16.67 M41.67 91.67 37.5 33.33 m58.33 91.67 4.17 -58.33 M83.33 33.33 c2.08 0 3.75 1.67 3.33 4.17 l-10.83 50 c-0.42 2.08 -2.92 4.17 -5 4.17 H29.17 c-2.5 0 -4.58 -1.67 -5 -4.17 L13.33 37.5 c-0.42 -2.5 1.25 -4.17 3.33 -4.17 Z" },
+ { id: "plane", name: "Plane", tags: ["plane"], d: "M74.17 80 66.67 45.83 l14.58 -14.58 C87.5 25 89.58 16.67 87.5 12.5 c-4.17 -2.08 -12.5 0 -18.75 6.25 L54.17 33.33 20 25.83 c-2.08 -0.42 -3.75 0.42 -4.58 2.08 l-1.25 2.08 c-0.83 2.08 -0.42 4.17 1.25 5.42 L37.5 50 l-8.33 12.5 H16.67 l-4.17 4.17 12.5 8.33 8.33 12.5 4.17 -4.17 v-12.5 l12.5 -8.33 14.58 22.08 c1.25 1.67 3.33 2.08 5.42 1.25 l2.08 -0.83 c1.67 -1.25 2.5 -2.92 2.08 -5 z" },
+ { id: "plane-takeoff", name: "Plane Takeoff", tags: ["plane","takeoff"], d: "M8.33 91.67 h83.33 M26.5 72.5 16.67 70.83 l-8.33 -16.67 4.58 -2.29 a8.33 8.33 0 0 1 7.5 0 l0.71 0.42 a8.33 8.33 0 0 0 7.5 0 L33.33 50 20.83 25 l3.75 -1.88 a8.33 8.33 0 0 1 8.71 0.83 l16.75 12.5 a8.33 8.33 0 0 0 8.75 0.83 l17.46 -8.58 a10.04 10.04 0 0 1 7.21 -0.71 L87.5 29.17 a5.83 5.83 0 0 1 3.63 8.29 l-1.58 3.17 c-0.96 1.92 -2.5 3.5 -4.46 4.5 L31.58 71.67 a8.33 8.33 0 0 1 -5.08 0.75 Z" },
+ { id: "plane-landing", name: "Plane Landing", tags: ["plane","landing"], d: "M8.33 91.67 h83.33 M15.71 44.88 8.33 37.5 l8.33 -18.75 4.58 2.29 c2.29 1.17 3.75 3.5 3.75 6.04 s1.46 4.88 3.75 6.04 L33.33 35.42 l12.5 -25 4.38 2.21 a8.33 8.33 0 0 1 4.54 6.33 l3 22.5 a8.33 8.33 0 0 0 4.54 6.33 l18.33 9.17 c1.75 0.92 3.25 2.29 4.21 4 l2.5 4.29 c2.04 3.67 -0.25 8.25 -4.42 8.75 l-4.92 0.63 c-1.96 0.25 -3.96 -0.08 -5.71 -1 L17.88 46.46 a8.33 8.33 0 0 1 -2.17 -1.58 Z" },
+ { id: "car", name: "Car", tags: ["car"], d: "M79.17 70.83 h8.33 c2.5 0 4.17 -1.67 4.17 -4.17 v-12.5 c0 -3.75 -2.92 -7.08 -6.25 -7.92 C77.92 44.17 66.67 41.67 66.67 41.67 s-5.42 -5.83 -9.17 -9.58 c-2.08 -1.67 -4.58 -2.92 -7.5 -2.92 H20.83 c-2.5 0 -4.58 1.67 -5.83 3.75 l-5.83 12.08 A15.42 15.42 0 0 0 8.33 50 v16.67 c0 2.5 1.67 4.17 4.17 4.17 h8.33 M20.83 70.83 A8.33 8.33 0 1 0 37.5 70.83 A8.33 8.33 0 1 0 20.83 70.83 Z M37.5 70.83 h25 M62.5 70.83 A8.33 8.33 0 1 0 79.17 70.83 A8.33 8.33 0 1 0 62.5 70.83 Z" },
+ { id: "car-front", name: "Car Front", tags: ["car","front"], d: "m87.5 33.33 -8.33 8.33 -6.25 -15.42 A8.33 8.33 0 0 0 65.19 20.83 H35 a8.33 8.33 0 0 0 -7.93 5.24 L20.83 41.67 12.5 33.33 M29.17 58.33 h0.04 M70.83 58.33 h0.04 M20.83 41.67 H79.17 A8.33 8.33 0 0 1 87.5 50 V66.67 A8.33 8.33 0 0 1 79.17 75 H20.83 A8.33 8.33 0 0 1 12.5 66.67 V50 A8.33 8.33 0 0 1 20.83 41.67 Z M20.83 75 v8.33 M79.17 75 v8.33" },
+ { id: "bus", name: "Bus", tags: ["bus"], d: "M33.33 25 v25 M62.5 25 v25 M8.33 50 h81.67 M75 75 h12.5 s2.08 -7.08 3.33 -11.67 c0.42 -1.67 0.83 -3.33 0.83 -5 0 -1.67 -0.42 -3.33 -0.83 -5 l-5.83 -20.83 C83.75 28.33 79.58 25 75 25 H16.67 a8.33 8.33 0 0 0 -8.33 8.33 v41.67 h12.5 M20.83 75 A8.33 8.33 0 1 0 37.5 75 A8.33 8.33 0 1 0 20.83 75 Z M37.5 75 h20.83 M58.33 75 A8.33 8.33 0 1 0 75 75 A8.33 8.33 0 1 0 58.33 75 Z" },
+ { id: "bus-front", name: "Bus Front", tags: ["bus","front"], d: "M16.67 25 8.33 29.17 M41.67 25 h16.67 m91.67 29.17 -8.33 -4.17 M25 12.5 H75 A8.33 8.33 0 0 1 83.33 20.83 V70.83 A8.33 8.33 0 0 1 75 79.17 H25 A8.33 8.33 0 0 1 16.67 70.83 V20.83 A8.33 8.33 0 0 1 25 12.5 Z M16.67 45.83 h66.67 M33.33 62.5 h0.04 M66.67 62.5 h0.04 M25 79.17 v8.33 M75 87.5 v-8.33" },
+ { id: "train-front", name: "Train Front", tags: ["train","front"], d: "M33.33 12.92 V29.17 a16.67 16.67 0 0 0 33.33 0 V12.92 m37.5 62.5 -4.17 -4.17 m62.5 62.5 4.17 -4.17 M37.5 79.17 c-11.67 0 -20.83 -9.17 -20.83 -20.83 v-16.67 a33.33 33.33 0 0 1 66.67 0 v16.67 c0 11.67 -9.17 20.83 -20.83 20.83 Z m33.33 79.17 -8.33 12.5 m66.67 79.17 8.33 12.5" },
+ { id: "truck", name: "Truck", tags: ["truck"], d: "M58.33 75 V25 a8.33 8.33 0 0 0 -8.33 -8.33 H16.67 a8.33 8.33 0 0 0 -8.33 8.33 v45.83 a4.17 4.17 0 0 0 4.17 4.17 h8.33 M62.5 75 H37.5 M79.17 75 h8.33 a4.17 4.17 0 0 0 4.17 -4.17 v-15.21 a4.17 4.17 0 0 0 -0.92 -2.6 l-14.5 -18.12 A4.17 4.17 0 0 0 73 33.33 H58.33 M62.5 75 A8.33 8.33 0 1 0 79.17 75 A8.33 8.33 0 1 0 62.5 75 Z M20.83 75 A8.33 8.33 0 1 0 37.5 75 A8.33 8.33 0 1 0 20.83 75 Z" },
+ { id: "ship", name: "Ship", tags: ["ship"], d: "M50 42.45 V58.33 M50 8.33 v12.5 M79.17 54.17 V29.17 a8.33 8.33 0 0 0 -8.33 -8.33 H29.17 a8.33 8.33 0 0 0 -8.33 8.33 v25 M80.75 83.33 A48.33 48.33 0 0 0 87.5 58.33 l-34.12 -15.16 a8.33 8.33 0 0 0 -6.77 0 L12.5 58.33 a48.33 48.33 0 0 0 11.71 32.33 M8.33 87.5 c2.5 2.08 5 4.17 10.42 4.17 10.42 0 10.42 -8.33 20.83 -8.33 5.42 0 7.92 2.08 10.42 4.17 s5 4.17 10.42 4.17 c10.42 0 10.42 -8.33 20.83 -8.33 5.42 0 7.92 2.08 10.42 4.17" },
+ { id: "sailboat", name: "Sailboat", tags: ["sailboat"], d: "M91.67 75 H8.33 a16.67 16.67 0 0 0 16.67 16.67 h50 a16.67 16.67 0 0 0 16.67 -16.67 Z M87.5 58.33 41.67 8.33 12.5 58.33 h75 Z M41.67 8.33 v66.67" },
+ { id: "anchor", name: "Anchor", tags: ["anchor"], d: "M50 91.67 V33.33 M20.83 50 H8.33 a41.67 41.67 0 0 0 83.33 0 h-12.5 M37.5 20.83 A12.5 12.5 0 1 0 62.5 20.83 A12.5 12.5 0 1 0 37.5 20.83 Z" },
+ { id: "bike", name: "Bike", tags: ["bike"], d: "M62.5 72.92 A14.58 14.58 0 1 0 91.67 72.92 A14.58 14.58 0 1 0 62.5 72.92 Z M8.33 72.92 A14.58 14.58 0 1 0 37.5 72.92 A14.58 14.58 0 1 0 8.33 72.92 Z M58.33 20.83 A4.17 4.17 0 1 0 66.67 20.83 A4.17 4.17 0 1 0 58.33 20.83 Z M50 72.92 V58.33 l-12.5 -12.5 16.67 -12.5 8.33 12.5 h8.33" },
+ { id: "map", name: "Map", tags: ["map"], d: "M58.78 23.14 a8.33 8.33 0 0 0 7.45 0 l15.25 -7.63 A4.17 4.17 0 0 1 87.5 19.25 v53.18 a4.17 4.17 0 0 1 -2.3 3.73 l-18.97 9.49 a8.33 8.33 0 0 1 -7.45 0 l-17.55 -8.77 a8.33 8.33 0 0 0 -7.45 0 l-15.25 7.63 A4.17 4.17 0 0 1 12.5 80.75 V27.58 a4.17 4.17 0 0 1 2.3 -3.73 l18.97 -9.49 a8.33 8.33 0 0 1 7.45 0 z M62.5 24.02 v62.5 M37.5 13.48 v62.5" },
+ { id: "map-pin-off", name: "Map Pin Off", tags: ["map","pin","off"], d: "M53.13 29.54 a12.5 12.5 0 0 1 9 9 M71.13 71.13 c-6.81 9.04 -14.7 16.3 -18.63 19.7 a4.17 4.17 0 0 1 -5.01 0 C39.75 84.14 16.67 62.47 16.67 41.67 a33.33 33.33 0 0 1 5.97 -19.03 m8.33 8.33 83.33 83.33 M35.31 11.74 A33.33 33.33 0 0 1 83.33 41.67 c0 4.93 -1.29 9.9 -3.38 14.72 M38.04 38.04 a12.5 12.5 0 0 0 15.58 15.58" },
+ { id: "route", name: "Route", tags: ["route"], d: "M12.5 79.17 A12.5 12.5 0 1 0 37.5 79.17 A12.5 12.5 0 1 0 12.5 79.17 Z M37.5 79.17 h35.42 a14.58 14.58 0 0 0 0 -29.17 h-45.83 a14.58 14.58 0 0 1 0 -29.17 H62.5 M62.5 20.83 A12.5 12.5 0 1 0 87.5 20.83 A12.5 12.5 0 1 0 62.5 20.83 Z" },
+ { id: "navigation-2", name: "Navigation 2", tags: ["navigation","2"], d: "M50 L8.33 L79.17 L87.5 L50 L70.83 L20.83 L87.5 L50 L8.33 Z" },
+ { id: "luggage", name: "Luggage", tags: ["luggage"], d: "M25 83.33 a8.33 8.33 0 0 1 -8.33 -8.33 V33.33 a8.33 8.33 0 0 1 8.33 -8.33 h50 a8.33 8.33 0 0 1 8.33 8.33 v41.67 a8.33 8.33 0 0 1 -8.33 8.33 M33.33 75 V16.67 a8.33 8.33 0 0 1 8.33 -8.33 h16.67 a8.33 8.33 0 0 1 8.33 8.33 v58.33 M41.67 83.33 h16.67 M58.33 83.33 A8.33 8.33 0 1 0 75 83.33 A8.33 8.33 0 1 0 58.33 83.33 Z M25 83.33 A8.33 8.33 0 1 0 41.67 83.33 A8.33 8.33 0 1 0 25 83.33 Z" },
+ { id: "sun-snow", name: "Sun Snow", tags: ["sun","snow"], d: "M41.67 87.5 v-4.17 M41.67 16.67 V12.5 M41.67 37.5 a12.5 12.5 0 0 0 0 25 m58.33 83.33 5.21 -10.42 L75 75 m58.33 16.67 5.21 10.42 L75 25 m70.83 87.5 -12.5 -25 6.25 -12.5 H91.67 m70.83 12.5 -12.5 25 6.25 12.5 M8.33 50 h4.17 m83.33 41.67 -6.25 8.33 6.25 8.33 m15.17 76.5 2.92 -2.92 m18.08 26.42 -2.92 -2.92" },
+ { id: "dumbbell", name: "Dumbbell", tags: ["dumbbell"], d: "M73.32 53.2 a8.33 8.33 0 1 0 11.79 -11.79 l-7.37 -7.36 a8.33 8.33 0 0 0 11.78 -11.79 l-11.78 -11.78 a8.33 8.33 0 0 0 -11.79 11.78 l-7.36 -7.37 a8.33 8.33 0 1 0 -11.79 11.79 z m10.42 89.58 5.83 -5.83 m83.75 16.25 5.83 -5.83 M22.26 89.52 a8.33 8.33 0 1 0 11.79 -11.78 l7.36 7.37 a8.33 8.33 0 1 0 11.79 -11.79 l-26.52 -26.52 a8.33 8.33 0 1 0 -11.79 11.79 l7.37 7.36 a8.33 8.33 0 0 0 -11.78 11.79 z m40 60 20 -20" },
+ { id: "heart-pulse", name: "Heart Pulse", tags: ["heart","pulse"], d: "M79.17 58.33 c6.21 -6.08 12.5 -13.37 12.5 -22.92 A22.92 22.92 0 0 0 68.75 12.5 c-7.33 0 -12.5 2.08 -18.75 8.33 -6.25 -6.25 -11.42 -8.33 -18.75 -8.33 A22.92 22.92 0 0 0 8.33 35.42 c0 9.58 6.25 16.88 12.5 22.92 l29.17 29.17 Z M13.42 50 H39.58 l2.08 -4.17 8.33 18.75 8.33 -29.17 6.25 14.58 h21.96" },
+ { id: "volleyball", name: "Volleyball", tags: ["volleyball"], d: "M46.25 29.58 a68.96 68.96 0 0 1 45.42 16.67 M50 50 a52.5 52.5 0 0 1 -36.25 20.83 M70 56.67 a68.96 68.96 0 0 1 -37.5 31.25 M86.25 70.83 a53.33 53.33 0 0 0 -36.25 -20.83 55.42 55.42 0 0 1 0 -41.67 M26.25 15.83 a68.96 68.96 0 0 0 7.92 47.92 M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z" },
+ { id: "flag", name: "Flag", tags: ["flag"], d: "M16.67 91.67 V16.67 a4.17 4.17 0 0 1 1.67 -3.33 A25 25 0 0 1 33.33 8.33 c12.5 0 20.83 8.33 30.55 8.33 q8.33 0 12.78 -3.33 A4.17 4.17 0 0 1 83.33 16.67 v41.67 a4.17 4.17 0 0 1 -1.67 3.33 A25 25 0 0 1 66.67 66.67 c-12.5 0 -20.83 -8.33 -33.33 -8.33 a25 25 0 0 0 -16.67 6.37" },
+ { id: "flag-triangle-right", name: "Flag Triangle Right", tags: ["flag","triangle","right"], d: "M29.17 91.67 V8.33 l41.67 20.83 -41.67 20.83" },
+ { id: "flag-off", name: "Flag Off", tags: ["flag","off"], d: "M66.67 66.67 c-12.5 0 -20.83 -8.33 -33.33 -8.33 a25 25 0 0 0 -16.67 6.37 m8.33 8.33 83.33 83.33 M16.67 91.67 V16.67 M31.9 8.33 H33.33 c12.5 0 20.83 8.33 30.55 8.33 q8.33 0 12.78 -3.33 A4.17 4.17 0 0 1 83.33 16.67 v43.11" },
+ { id: "pin", name: "Pin", tags: ["pin"], d: "M50 70.83 v20.83 M37.5 44.83 a8.33 8.33 0 0 1 -4.63 7.46 l-7.42 3.75 A8.33 8.33 0 0 0 20.83 63.5 V66.67 a4.17 4.17 0 0 0 4.17 4.17 h50 a4.17 4.17 0 0 0 4.17 -4.17 v-3.17 a8.33 8.33 0 0 0 -4.63 -7.46 l-7.42 -3.75 A8.33 8.33 0 0 1 62.5 44.83 V29.17 a4.17 4.17 0 0 1 4.17 -4.17 8.33 8.33 0 0 0 0 -16.67 H33.33 a8.33 8.33 0 0 0 0 16.67 4.17 4.17 0 0 1 4.17 4.17 z" },
+ { id: "pin-off", name: "Pin Off", tags: ["pin","off"], d: "M50 70.83 v20.83 M62.5 38.92 V29.17 a4.17 4.17 0 0 1 4.17 -4.17 8.33 8.33 0 0 0 0 -16.67 H32.88 m8.33 8.33 83.33 83.33 M37.5 37.5 v7.33 a8.33 8.33 0 0 1 -4.63 7.46 l-7.42 3.75 A8.33 8.33 0 0 0 20.83 63.5 V66.67 a4.17 4.17 0 0 0 4.17 4.17 h45.83" },
+ { id: "map-pin-check", name: "Map Pin Check", tags: ["map","pin","check"], d: "M80.96 53.9 c1.49 -4.03 2.38 -8.15 2.38 -12.23 a33.33 33.33 0 0 0 -66.67 0 c0 20.8 23.08 42.47 30.83 49.16 a4.17 4.17 0 0 0 5.01 0 134.15 134.15 0 0 0 3.39 -3.03 M37.5 41.67 A12.5 12.5 0 1 0 62.5 41.67 A12.5 12.5 0 1 0 37.5 41.67 Z m66.67 75 8.33 8.33 16.67 -16.67" },
+ { id: "at-sign", name: "At Sign", tags: ["at","sign"], d: "M33.33 50 A16.67 16.67 0 1 0 66.67 50 A16.67 16.67 0 1 0 33.33 50 Z M66.67 33.33 v20.83 a12.5 12.5 0 0 0 25 0 v-4.17 a41.67 41.67 0 1 0 -16.67 33.33" },
+ { id: "hash", name: "Hash", tags: ["hash"], d: "M16.67 37.5 L83.33 37.5 M16.67 62.5 L83.33 62.5 M41.67 12.5 L33.33 87.5 M66.67 12.5 L58.33 87.5" },
+ { id: "bot-message-square", name: "Bot Message Square", tags: ["bot","message","square"], d: "M50 25 V8.33 H33.33 m33.33 75 -16.67 16.67 V33.33 a8.33 8.33 0 0 1 8.33 -8.33 h50 a8.33 8.33 0 0 1 8.33 8.33 v33.33 a8.33 8.33 0 0 1 -8.33 8.33 Z M8.33 50 h8.33 M37.5 45.83 v8.33 M62.5 45.83 v8.33 M83.33 50 h8.33" },
+ { id: "air-vent", name: "Air Vent", tags: ["air","vent"], d: "M75 72.92 a10.42 10.42 0 1 1 -16.67 8.46 V50 M25 50 H16.67 a8.33 8.33 0 0 1 -8.33 -8.33 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h66.67 a8.33 8.33 0 0 1 8.33 8.33 v20.83 a8.33 8.33 0 0 1 -8.33 8.33 h-8.33 M25 33.33 h50 M27.5 64.88 A8.33 8.33 0 1 0 41.67 70.83 v-20.83" },
+ { id: "feather", name: "Feather", tags: ["feather"], d: "M52.79 79.17 a8.33 8.33 0 0 0 5.9 -2.45 l25.64 -25.72 a25 25 0 0 0 -35.37 -35.37 L23.28 41.31 A8.33 8.33 0 0 0 20.83 47.2 V75 a4.17 4.17 0 0 0 4.17 4.17 z M66.67 33.33 8.33 91.67 M72.92 62.5 H37.5" },
+ { id: "scroll", name: "Scroll", tags: ["scroll"], d: "M79.17 70.83 V20.83 a8.33 8.33 0 0 0 -8.33 -8.33 H16.67 M33.33 87.5 h50 a8.33 8.33 0 0 0 8.33 -8.33 v-4.17 a4.17 4.17 0 0 0 -4.17 -4.17 H45.83 a4.17 4.17 0 0 0 -4.17 4.17 v4.17 a8.33 8.33 0 1 1 -16.67 0 V20.83 a8.33 8.33 0 1 0 -16.67 0 v8.33 a4.17 4.17 0 0 0 4.17 4.17 h12.5" },
+ { id: "scroll-text", name: "Scroll Text", tags: ["scroll","text"], d: "M62.5 50 h-20.83 M62.5 33.33 h-20.83 M79.17 70.83 V20.83 a8.33 8.33 0 0 0 -8.33 -8.33 H16.67 M33.33 87.5 h50 a8.33 8.33 0 0 0 8.33 -8.33 v-4.17 a4.17 4.17 0 0 0 -4.17 -4.17 H45.83 a4.17 4.17 0 0 0 -4.17 4.17 v4.17 a8.33 8.33 0 1 1 -16.67 0 V20.83 a8.33 8.33 0 1 0 -16.67 0 v8.33 a4.17 4.17 0 0 0 4.17 4.17 h12.5" },
+ { id: "book-copy", name: "Book Copy", tags: ["book","copy"], d: "M8.33 66.67 V16.67 a8.33 8.33 0 0 1 8.33 -8.33 h45.83 M91.67 75 H45.83 a8.33 8.33 0 1 0 0 16.67 h43.75 a2.08 2.08 0 0 0 2.08 -2.08 v-62.5 a2.08 2.08 0 0 0 -2.08 -2.08 H45.83 a8.33 8.33 0 0 0 -8.33 8.33 v50 M20.83 58.33 H16.67 a8.33 8.33 0 1 0 0 16.67 h4.17" },
+ { id: "book-x", name: "Book X", tags: ["book","x"], d: "m60.42 29.17 -20.83 20.83 M16.67 81.25 v-62.5 A10.42 10.42 0 0 1 27.08 8.33 H79.17 a4.17 4.17 0 0 1 4.17 4.17 v75 a4.17 4.17 0 0 1 -4.17 4.17 H27.08 a4.17 4.17 0 0 1 0 -20.83 H83.33 m39.58 29.17 20.83 20.83" },
+ { id: "book-lock", name: "Book Lock", tags: ["book","lock"], d: "M75 25 V16.67 a8.33 8.33 0 1 0 -16.67 0 v8.33 M83.33 62.5 v25 a4.17 4.17 0 0 1 -4.17 4.17 H27.08 a4.17 4.17 0 0 1 0 -20.83 H83.33 M16.67 81.25 v-62.5 A10.42 10.42 0 0 1 27.08 8.33 H41.67 M54.17 25 H79.17 A4.17 4.17 0 0 1 83.33 29.17 V41.67 A4.17 4.17 0 0 1 79.17 45.83 H54.17 A4.17 4.17 0 0 1 50 41.67 V29.17 A4.17 4.17 0 0 1 54.17 25 Z" },
+ { id: "bookmark-check", name: "Bookmark Check", tags: ["bookmark","check"], d: "m79.17 87.5 -29.17 -16.67 -29.17 16.67 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h41.67 a8.33 8.33 0 0 1 8.33 8.33 Z m37.5 41.67 8.33 8.33 16.67 -16.67" },
+ { id: "bookmark-plus", name: "Bookmark Plus", tags: ["bookmark","plus"], d: "m79.17 87.5 -29.17 -16.67 -29.17 16.67 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h41.67 a8.33 8.33 0 0 1 8.33 8.33 v66.67 z M50 29.17 L50 54.17 M62.5 41.67 L37.5 41.67" },
+ { id: "bookmark-x", name: "Bookmark X", tags: ["bookmark","x"], d: "m79.17 87.5 -29.17 -16.67 -29.17 16.67 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h41.67 a8.33 8.33 0 0 1 8.33 8.33 Z m60.42 31.25 -20.83 20.83 m39.58 31.25 20.83 20.83" },
+ { id: "bookmark-minus", name: "Bookmark Minus", tags: ["bookmark","minus"], d: "m79.17 87.5 -29.17 -16.67 -29.17 16.67 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h41.67 a8.33 8.33 0 0 1 8.33 8.33 v66.67 z M62.5 41.67 L37.5 41.67" },
+ { id: "school", name: "School", tags: ["school"], d: "M58.33 91.67 v-16.67 a8.33 8.33 0 1 0 -16.67 0 v16.67 m75 41.67 14.36 7.18 a4.17 4.17 0 0 1 2.3 3.73 V83.33 a8.33 8.33 0 0 1 -8.33 8.33 H16.67 a8.33 8.33 0 0 1 -8.33 -8.33 v-30.76 a4.17 4.17 0 0 1 2.3 -3.73 L25 41.67 M75 20.83 v70.83 m16.67 25 29.61 -14.8 a8.33 8.33 0 0 1 7.45 0 L83.33 25 M25 20.83 v70.83 M41.67 37.5 A8.33 8.33 0 1 0 58.33 37.5 A8.33 8.33 0 1 0 41.67 37.5 Z" },
+ { id: "university", name: "University", tags: ["university"], d: "M58.33 87.5 v-12.5 a8.33 8.33 0 0 0 -16.67 0 v12.5 M75 50 h0.04 M75 66.67 h0.04 M91.67 29.17 a4.17 4.17 0 0 0 -4.17 -4.17 h-8.33 a8.33 8.33 0 0 1 -4.76 -1.5 L54.76 9.83 a8.33 8.33 0 0 0 -9.52 0 L25.6 23.5 A8.33 8.33 0 0 1 20.83 25 H12.5 a4.17 4.17 0 0 0 -4.17 4.17 v50 a8.33 8.33 0 0 0 8.33 8.33 h66.67 a8.33 8.33 0 0 0 8.33 -8.33 z M25 50 h0.04 M25 66.67 h0.04 M41.67 41.67 A8.33 8.33 0 1 0 58.33 41.67 A8.33 8.33 0 1 0 41.67 41.67 Z" },
+ { id: "calculator", name: "Calculator", tags: ["calculator"], d: "M25 8.33 H75 A8.33 8.33 0 0 1 83.33 16.67 V83.33 A8.33 8.33 0 0 1 75 91.67 H25 A8.33 8.33 0 0 1 16.67 83.33 V16.67 A8.33 8.33 0 0 1 25 8.33 Z M33.33 25 L66.67 25 M66.67 58.33 L66.67 75 M66.67 41.67 h0.04 M50 41.67 h0.04 M33.33 41.67 h0.04 M50 58.33 h0.04 M33.33 58.33 h0.04 M50 75 h0.04 M33.33 75 h0.04" },
+ { id: "sigma", name: "Sigma", tags: ["sigma"], d: "M75 29.17 V20.83 a4.17 4.17 0 0 0 -4.17 -4.17 H27.08 a2.08 2.08 0 0 0 -1.67 3.33 l18.75 25 a8.33 8.33 0 0 1 0 10 l-18.75 25 a2.08 2.08 0 0 0 1.67 3.33 H70.83 a4.17 4.17 0 0 0 4.17 -4.17 v-8.33" },
+ { id: "infinity", name: "Infinity", tags: ["infinity"], d: "M25 66.67 c20.83 0 29.17 -33.33 50 -33.33 a16.67 16.67 0 0 1 0 33.33 c-20.83 0 -29.17 -33.33 -50 -33.33 a16.67 16.67 0 1 0 0 33.33" },
+ { id: "divide", name: "Divide", tags: ["divide"], d: "M45.83 25 A4.17 4.17 0 1 0 54.17 25 A4.17 4.17 0 1 0 45.83 25 Z M20.83 50 L79.17 50 M45.83 75 A4.17 4.17 0 1 0 54.17 75 A4.17 4.17 0 1 0 45.83 75 Z" },
+ { id: "pi", name: "Pi", tags: ["pi"], d: "M37.5 16.67 L37.5 83.33 M16.67 29.17 c0 -7.08 5.42 -12.5 12.5 -12.5 h54.17 M75 83.33 c-7.08 0 -12.5 -5.42 -12.5 -12.5 V16.67" },
+ { id: "flask-conical", name: "Flask Conical", tags: ["flask","conical"], d: "M58.33 8.33 v25 a8.33 8.33 0 0 0 1.02 4 l22.96 42 A8.33 8.33 0 0 1 75 91.67 H25 a8.33 8.33 0 0 1 -7.31 -12.33 l22.96 -42 A8.33 8.33 0 0 0 41.67 33.33 V8.33 M26.89 62.5 h46.23 M35.42 8.33 h29.17" },
+ { id: "flask-round", name: "Flask Round", tags: ["flask","round"], d: "M41.67 8.33 v26.22 a29.17 29.17 0 1 0 16.67 0 V8.33 M20.83 62.5 h58.33 M35.42 8.33 h29.17" },
+ { id: "beaker", name: "Beaker", tags: ["beaker"], d: "M18.75 12.5 h62.5 M25 12.5 v66.67 a8.33 8.33 0 0 0 8.33 8.33 h33.33 a8.33 8.33 0 0 0 8.33 -8.33 V12.5 M25 58.33 h50" },
+ { id: "test-tube", name: "Test Tube", tags: ["test","tube"], d: "M60.42 8.33 v72.92 c0 5.83 -4.58 10.42 -10.42 10.42 c-5.83 0 -10.42 -4.58 -10.42 -10.42 V8.33 M35.42 8.33 h29.17 M60.42 66.67 h-20.83" },
+ { id: "test-tube-2", name: "Test Tube 2", tags: ["test","tube","2"], d: "M87.5 29.17 28.42 88.25 a11.79 11.79 0 0 1 -16.63 -0.04 a11.79 11.79 0 0 1 0 -16.67 L70.83 12.5 m66.67 8.33 25 25 M50 66.67 H16.67" },
+ { id: "microscope", name: "Microscope", tags: ["microscope"], d: "M25 75 h33.33 M12.5 91.67 h75 M58.33 91.67 a29.17 29.17 0 1 0 0 -58.33 h-4.17 M37.5 58.33 h8.33 M37.5 50 a8.33 8.33 0 0 1 -8.33 -8.33 V25 h25 v16.67 a8.33 8.33 0 0 1 -8.33 8.33 Z M50 25 V12.5 a4.17 4.17 0 0 0 -4.17 -4.17 H37.5 a4.17 4.17 0 0 0 -4.17 4.17 v12.5" },
+ { id: "dna", name: "Dna", tags: ["dna"], d: "m41.67 66.67 6.25 6.25 m58.33 33.33 -6.25 -6.25 M62.5 8.33 c-7.49 8.33 -10.49 16.65 -11.7 24.97 m68.75 43.75 4.17 4.17 m70.83 25 -12.05 -12.05 M8.33 62.5 c27.78 -25 55.55 0 83.33 -25 m83.33 37.5 3.71 3.71 M12.95 58.79 16.67 62.5 m27.08 52.08 4.17 4.17 m29.17 75 12.05 12.05 M37.5 91.67 c7.49 -8.33 10.49 -16.65 11.7 -24.97" },
+ { id: "atom", name: "Atom", tags: ["atom"], d: "M45.83 50 A4.17 4.17 0 1 0 54.17 50 A4.17 4.17 0 1 0 45.83 50 Z M84.17 84.17 c8.5 -8.46 0.08 -30.67 -18.75 -49.58 -18.92 -18.83 -41.12 -27.25 -49.58 -18.75 -8.5 8.46 -0.08 30.67 18.75 49.58 18.92 18.83 41.13 27.25 49.58 18.75 Z M65.42 65.42 c18.83 -18.92 27.25 -41.12 18.75 -49.58 -8.46 -8.5 -30.67 -0.08 -49.58 18.75 -18.83 18.92 -27.25 41.13 -18.75 49.58 8.46 8.5 30.67 0.08 49.58 -18.75 Z" },
+ { id: "orbit", name: "Orbit", tags: ["orbit"], d: "M84.75 27.02 A41.67 41.67 0 0 1 42.78 91.04 M15.25 72.98 A41.67 41.67 0 0 1 57.25 8.97 M37.5 50 A12.5 12.5 0 1 0 62.5 50 A12.5 12.5 0 1 0 37.5 50 Z M70.83 20.83 A8.33 8.33 0 1 0 87.5 20.83 A8.33 8.33 0 1 0 70.83 20.83 Z M12.5 79.17 A8.33 8.33 0 1 0 29.17 79.17 A8.33 8.33 0 1 0 12.5 79.17 Z" },
+ { id: "telescope", name: "Telescope", tags: ["telescope"], d: "m41.94 52.05 -25.75 5.49 a3.89 3.89 0 0 1 -4.62 -2.92 l-2.24 -8.96 a4.46 4.46 0 0 1 2.88 -5.27 l56.27 -18.5 m56.5 48.95 18.05 -3.85 m66.67 87.5 -12.94 -25.87 M68.69 24.75 a8.33 8.33 0 0 1 6.06 -10.1 l4.54 -1.13 a4.17 4.17 0 0 1 5.05 3.03 l6.31 25.25 a4.17 4.17 0 0 1 -3.03 5.05 l-4.54 1.13 a8.33 8.33 0 0 1 -10.1 -6.06 z m25.66 35.97 4.64 18.57 m33.33 87.5 12.94 -25.87 M41.67 54.17 A8.33 8.33 0 1 0 58.33 54.17 A8.33 8.33 0 1 0 41.67 54.17 Z" },
+ { id: "satellite", name: "Satellite", tags: ["satellite"], d: "m56.25 27.08 -13.12 -13.12 a5.02 5.02 0 0 0 -7.1 0 L26.47 23.53 a5.02 5.02 0 0 0 0 7.1 L39.58 43.75 M68.75 31.25 79.17 20.83 m72.92 43.75 13.12 13.12 a5.02 5.02 0 0 1 0 7.1 l-9.57 9.57 a5.02 5.02 0 0 1 -7.1 0 L56.25 60.42 M37.5 87.5 a25 25 0 0 0 -25 -25 M38.97 44.37 a5.02 5.02 0 0 0 0 7.1 l9.57 9.57 a5.02 5.02 0 0 0 7.1 0 l17.9 -17.9 a5.02 5.02 0 0 0 0 -7.1 l-9.57 -9.57 a5.02 5.02 0 0 0 -7.1 0 z" },
+ { id: "satellite-dish", name: "Satellite Dish", tags: ["satellite","dish"], d: "M16.67 41.67 a30.46 30.46 0 0 0 41.67 41.67 Z m37.5 62.5 12.5 -12.5 M70.83 54.17 a25 25 0 0 0 -25 -25 M87.5 54.17 A41.67 41.67 0 0 0 45.83 12.5" },
+ { id: "eclipse", name: "Eclipse", tags: ["eclipse"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M50 8.33 a29.17 29.17 0 1 0 41.67 41.67" },
+ { id: "star-off", name: "Star Off", tags: ["star","off"], d: "M34.75 34.75 8.33 38.63 l20.83 20.29 L24.25 87.5 50 74.04 75.75 87.5 l-2.46 -14.29 M76.75 53.17 91.67 38.63 l-28.79 -4.17 L50 8.33 l-6 12.13 M8.33 8.33 L91.67 91.67" },
+ { id: "verified", name: "Verified", tags: ["verified"], d: "M16.04 35.92 a16.67 16.67 0 0 1 19.92 -19.87 16.67 16.67 0 0 1 28.08 0 16.67 16.67 0 0 1 19.92 19.92 16.67 16.67 0 0 1 0 28.08 16.67 16.67 0 0 1 -19.87 19.92 16.67 16.67 0 0 1 -28.13 0 16.67 16.67 0 0 1 -19.92 -19.87 16.67 16.67 0 0 1 0 -28.17 Z m37.5 50 8.33 8.33 16.67 -16.67" },
+ { id: "badge-x", name: "Badge X", tags: ["badge","x"], d: "M16.04 35.92 a16.67 16.67 0 0 1 19.92 -19.87 16.67 16.67 0 0 1 28.08 0 16.67 16.67 0 0 1 19.92 19.92 16.67 16.67 0 0 1 0 28.08 16.67 16.67 0 0 1 -19.87 19.92 16.67 16.67 0 0 1 -28.13 0 16.67 16.67 0 0 1 -19.92 -19.87 16.67 16.67 0 0 1 0 -28.17 Z M62.5 37.5 L37.5 62.5 M37.5 37.5 L62.5 62.5" },
+ { id: "badge-alert", name: "Badge Alert", tags: ["badge","alert"], d: "M16.04 35.92 a16.67 16.67 0 0 1 19.92 -19.87 16.67 16.67 0 0 1 28.08 0 16.67 16.67 0 0 1 19.92 19.92 16.67 16.67 0 0 1 0 28.08 16.67 16.67 0 0 1 -19.87 19.92 16.67 16.67 0 0 1 -28.13 0 16.67 16.67 0 0 1 -19.92 -19.87 16.67 16.67 0 0 1 0 -28.17 Z M50 33.33 L50 50 M50 66.67 L50.04 66.67" },
+ { id: "badge-info", name: "Badge Info", tags: ["badge","info"], d: "M16.04 35.92 a16.67 16.67 0 0 1 19.92 -19.87 16.67 16.67 0 0 1 28.08 0 16.67 16.67 0 0 1 19.92 19.92 16.67 16.67 0 0 1 0 28.08 16.67 16.67 0 0 1 -19.87 19.92 16.67 16.67 0 0 1 -28.13 0 16.67 16.67 0 0 1 -19.92 -19.87 16.67 16.67 0 0 1 0 -28.17 Z M50 66.67 L50 50 M50 33.33 L50.04 33.33" },
+ { id: "sticker", name: "Sticker", tags: ["sticker"], d: "M64.58 12.5 H20.83 a8.33 8.33 0 0 0 -8.33 8.33 v58.33 c0 4.58 3.75 8.33 8.33 8.33 h58.33 a8.33 8.33 0 0 0 8.33 -8.33 V35.42 L64.58 12.5 Z M58.33 12.5 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67 M33.33 54.17 h0.04 M66.67 54.17 h0.04 M41.67 66.67 s3.33 4.17 8.33 4.17 c5.42 0 8.33 -4.17 8.33 -4.17" },
+ { id: "sticky-note", name: "Sticky Note", tags: ["sticky","note"], d: "M66.67 12.5 H20.83 a8.33 8.33 0 0 0 -8.33 8.33 v58.33 a8.33 8.33 0 0 0 8.33 8.33 h58.33 a8.33 8.33 0 0 0 8.33 -8.33 V33.33 Z M62.5 12.5 v16.67 a8.33 8.33 0 0 0 8.33 8.33 h16.67" },
+ { id: "signature", name: "Signature", tags: ["signature"], d: "m87.5 70.83 -8.98 -7.78 A2.08 2.08 0 0 0 75 64.58 v2.08 a4.17 4.17 0 0 1 -4.17 4.17 h-8.33 a4.17 4.17 0 0 1 -4.17 -4.17 c0 -10.6 -16.63 -16.54 -35.42 -16.67 a4.17 4.17 0 0 0 0 20.83 c17.3 0 19.77 -47.06 23.78 -56.25 a10.42 10.42 0 1 1 13.79 13.68 M12.5 87.5 h75" },
+ { id: "fingerprint", name: "Fingerprint", tags: ["fingerprint"], d: "M50 41.67 a8.33 8.33 0 0 0 -8.33 8.33 c0 4.25 -0.42 10.46 -1.08 16.67 M58.33 54.67 c0 9.92 0 26.58 -4.17 37 M72.04 87.58 c0.5 -2.5 1.79 -9.58 2.08 -12.58 M8.33 50 a41.67 41.67 0 0 1 75 -25 M8.33 66.67 h0.04 M90.83 66.67 c0.83 -8.33 0.55 -22.31 0 -25 M20.83 81.25 C22.92 75 25 62.5 25 50 a25 25 0 0 1 1.42 -8.33 M36.04 91.67 c0.88 -2.75 1.88 -5.5 2.38 -8.33 M37.5 28.33 a25 25 0 0 1 37.5 21.67 v8.33" },
+ { id: "magnet", name: "Magnet", tags: ["magnet"], d: "m25 62.5 -16.67 -16.67 28.13 -28.21 a32.46 32.46 0 0 1 45.83 45.83 L54.17 91.67 l-16.67 -16.67 26.63 -26.5 a8.92 8.92 0 0 0 -12.5 -12.5 L25 62.5 m20.83 33.33 16.67 16.67 m50 62.5 16.67 16.67" },
+ { id: "zap-off", name: "Zap Off", tags: ["zap","off"], d: "M43.8 20.23 54.67 9.04 a2.08 2.08 0 0 1 3.58 1.92 l-5.74 17.99 M65.23 41.67 H83.33 a4.17 4.17 0 0 1 3.25 6.79 l-7.17 7.39 M67.8 67.8 45.33 90.96 a2.08 2.08 0 0 1 -3.58 -1.92 l8 -25.08 A4.17 4.17 0 0 0 45.83 58.33 H16.67 a4.17 4.17 0 0 1 -3.25 -6.79 l18.78 -19.35 m8.33 8.33 83.33 83.33" },
+ { id: "siren", name: "Siren", tags: ["siren"], d: "M29.17 75 v-25 a20.83 20.83 0 1 1 41.67 0 v25 M20.83 87.5 a4.17 4.17 0 0 0 4.17 4.17 h50 a4.17 4.17 0 0 0 4.17 -4.17 v-4.17 a8.33 8.33 0 0 0 -8.33 -8.33 H29.17 a8.33 8.33 0 0 0 -8.33 8.33 z M87.5 50 h4.17 M77.08 18.75 75 20.83 M8.33 50 h4.17 M50 8.33 v4.17 m20.54 20.54 2.95 2.95 M50 50 v25" },
+ { id: "wallpaper", name: "Wallpaper", tags: ["wallpaper"], d: "M25 37.5 A8.33 8.33 0 1 0 41.67 37.5 A8.33 8.33 0 1 0 25 37.5 Z m37.5 70.83 25.42 -25.42 a8.33 8.33 0 0 1 11.71 0.04 L91.67 62.5 V20.83 a8.33 8.33 0 0 0 -8.33 -8.33 H16.67 a8.33 8.33 0 0 0 -8.33 8.33 v41.67 a8.33 8.33 0 0 0 8.33 8.33 h66.67 a8.33 8.33 0 0 0 8.33 -8.33 M33.33 87.5 h33.33 M50 70.83 v16.67" },
+ { id: "image-plus", name: "Image Plus", tags: ["image","plus"], d: "M66.67 20.83 h25 M79.17 8.33 v25 M87.5 47.92 V79.17 a8.33 8.33 0 0 1 -8.33 8.33 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h31.25 m87.5 62.5 -12.86 -12.86 a8.33 8.33 0 0 0 -11.78 0 L25 87.5 M29.17 37.5 A8.33 8.33 0 1 0 45.83 37.5 A8.33 8.33 0 1 0 29.17 37.5 Z" },
+ { id: "image-down", name: "Image Down", tags: ["image","down"], d: "M42.92 87.5 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h58.33 a8.33 8.33 0 0 1 8.33 8.33 v41.67 l-12.92 -12.92 a8.33 8.33 0 0 0 -11.73 0.06 L25 87.5 m58.33 79.17 12.5 12.5 v-22.92 m70.83 91.67 12.5 -12.5 M29.17 37.5 A8.33 8.33 0 1 0 45.83 37.5 A8.33 8.33 0 1 0 29.17 37.5 Z" },
+ { id: "image-up", name: "Image Up", tags: ["image","up"], d: "M42.92 87.5 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h58.33 a8.33 8.33 0 0 1 8.33 8.33 v41.67 l-12.92 -12.92 a8.33 8.33 0 0 0 -11.73 0.06 L25 87.5 m58.33 81.25 12.5 -12.5 12.5 12.5 M70.83 91.67 v-22.92 M29.17 37.5 A8.33 8.33 0 1 0 45.83 37.5 A8.33 8.33 0 1 0 29.17 37.5 Z" },
+ { id: "image-play", name: "Image Play", tags: ["image","play"], d: "m45.83 66.67 -20.83 20.83 M45.83 87.5 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h58.33 a8.33 8.33 0 0 1 8.33 8.33 v27.08 M65.69 91.67 a2.08 2.08 0 0 1 -3.19 -1.77 V55.75 a2.08 2.08 0 0 1 3.19 -1.77 l24.49 15.31 a4.17 4.17 0 0 1 0 7.07 z M29.17 37.5 A8.33 8.33 0 1 0 45.83 37.5 A8.33 8.33 0 1 0 29.17 37.5 Z" },
+ { id: "gallery-horizontal", name: "Gallery Horizontal", tags: ["gallery","horizontal"], d: "M8.33 12.5 v75 M33.33 12.5 H66.67 A8.33 8.33 0 0 1 75 20.83 V79.17 A8.33 8.33 0 0 1 66.67 87.5 H33.33 A8.33 8.33 0 0 1 25 79.17 V20.83 A8.33 8.33 0 0 1 33.33 12.5 Z M91.67 12.5 v75" },
+ { id: "gallery-vertical", name: "Gallery Vertical", tags: ["gallery","vertical"], d: "M12.5 8.33 h75 M20.83 25 H79.17 A8.33 8.33 0 0 1 87.5 33.33 V66.67 A8.33 8.33 0 0 1 79.17 75 H20.83 A8.33 8.33 0 0 1 12.5 66.67 V33.33 A8.33 8.33 0 0 1 20.83 25 Z M12.5 91.67 h75" },
+ { id: "gallery-thumbnails", name: "Gallery Thumbnails", tags: ["gallery","thumbnails"], d: "M20.83 12.5 H79.17 A8.33 8.33 0 0 1 87.5 20.83 V62.5 A8.33 8.33 0 0 1 79.17 70.83 H20.83 A8.33 8.33 0 0 1 12.5 62.5 V20.83 A8.33 8.33 0 0 1 20.83 12.5 Z M16.67 87.5 h4.17 M37.5 87.5 h4.17 M58.33 87.5 h4.17 M79.17 87.5 h4.17" },
+ { id: "gallery-horizontal-end", name: "Gallery Horizontal End", tags: ["gallery","horizontal","end"], d: "M8.33 29.17 v41.67 M25 20.83 v58.33 M50 12.5 H83.33 A8.33 8.33 0 0 1 91.67 20.83 V79.17 A8.33 8.33 0 0 1 83.33 87.5 H50 A8.33 8.33 0 0 1 41.67 79.17 V20.83 A8.33 8.33 0 0 1 50 12.5 Z" },
+ { id: "gallery-vertical-end", name: "Gallery Vertical End", tags: ["gallery","vertical","end"], d: "M29.17 8.33 h41.67 M20.83 25 h58.33 M20.83 41.67 H79.17 A8.33 8.33 0 0 1 87.5 50 V83.33 A8.33 8.33 0 0 1 79.17 91.67 H20.83 A8.33 8.33 0 0 1 12.5 83.33 V50 A8.33 8.33 0 0 1 20.83 41.67 Z" },
+ { id: "ratio", name: "Ratio", tags: ["ratio"], d: "M33.33 8.33 H66.67 A8.33 8.33 0 0 1 75 16.67 V83.33 A8.33 8.33 0 0 1 66.67 91.67 H33.33 A8.33 8.33 0 0 1 25 83.33 V16.67 A8.33 8.33 0 0 1 33.33 8.33 Z M16.67 25 H83.33 A8.33 8.33 0 0 1 91.67 33.33 V66.67 A8.33 8.33 0 0 1 83.33 75 H16.67 A8.33 8.33 0 0 1 8.33 66.67 V33.33 A8.33 8.33 0 0 1 16.67 25 Z" },
+ { id: "crop", name: "Crop", tags: ["crop"], d: "M25 8.33 v58.33 a8.33 8.33 0 0 0 8.33 8.33 h58.33 M75 91.67 V33.33 a8.33 8.33 0 0 0 -8.33 -8.33 H8.33" },
+ { id: "contrast", name: "Contrast", tags: ["contrast"], d: "M8.33 50 A41.67 41.67 0 1 0 91.67 50 A41.67 41.67 0 1 0 8.33 50 Z M50 75 a25 25 0 0 0 0 -50 v50 z" },
+ { id: "sun-medium", name: "Sun Medium", tags: ["sun","medium"], d: "M33.33 50 A16.67 16.67 0 1 0 66.67 50 A16.67 16.67 0 1 0 33.33 50 Z M50 12.5 v4.17 M50 83.33 v4.17 M12.5 50 h4.17 M83.33 50 h4.17 m76.52 23.48 -2.95 2.95 m26.43 73.57 -2.95 2.95 m23.48 23.48 2.95 2.95 m73.57 73.57 2.95 2.95" },
+ { id: "sun-dim", name: "Sun Dim", tags: ["sun","dim"], d: "M33.33 50 A16.67 16.67 0 1 0 66.67 50 A16.67 16.67 0 1 0 33.33 50 Z M50 16.67 h0.04 M83.33 50 h0.04 M50 83.33 h0.04 M16.67 50 h0.04 M73.57 26.43 h0.04 M73.57 73.57 h0.04 M26.43 73.57 h0.04 M26.43 26.43 h0.04" },
+ { id: "blend", name: "Blend", tags: ["blend"], d: "M8.33 37.5 A29.17 29.17 0 1 0 66.67 37.5 A29.17 29.17 0 1 0 8.33 37.5 Z M33.33 62.5 A29.17 29.17 0 1 0 91.67 62.5 A29.17 29.17 0 1 0 33.33 62.5 Z" },
+ { id: "scissors-line-dashed", name: "Scissors Line Dashed", tags: ["scissors","line","dashed"], d: "M22.58 39.25 33.33 50 M8.33 33.33 A8.33 8.33 0 1 0 25 33.33 A8.33 8.33 0 1 0 8.33 33.33 Z m58.33 25 -35.75 35.75 M8.33 66.67 A8.33 8.33 0 1 0 25 66.67 A8.33 8.33 0 1 0 8.33 66.67 Z M45 61.67 58.33 75 M66.67 50 h-8.33 M91.67 50 h-8.33" },
+ { id: "wand", name: "Wand", tags: ["wand"], d: "M62.5 16.67 V8.33 M62.5 66.67 v-8.33 M33.33 37.5 h8.33 M83.33 37.5 h8.33 M74.17 49.17 79.17 54.17 M62.5 37.5 h0.04 M74.17 25.83 79.17 20.83 m12.5 87.5 37.5 -37.5 M50.83 25.83 45.83 20.83" },
+ { id: "group", name: "Group", tags: ["group"], d: "M12.5 29.17 V20.83 c0 -4.58 3.75 -8.33 8.33 -8.33 h8.33 M70.83 12.5 h8.33 c4.58 0 8.33 3.75 8.33 8.33 v8.33 M87.5 70.83 v8.33 c0 4.58 -3.75 8.33 -8.33 8.33 h-8.33 M29.17 87.5 H20.83 c-4.58 0 -8.33 -3.75 -8.33 -8.33 v-8.33 M33.33 29.17 H54.17 A4.17 4.17 0 0 1 58.33 33.33 V45.83 A4.17 4.17 0 0 1 54.17 50 H33.33 A4.17 4.17 0 0 1 29.17 45.83 V33.33 A4.17 4.17 0 0 1 33.33 29.17 Z M45.83 50 H66.67 A4.17 4.17 0 0 1 70.83 54.17 V66.67 A4.17 4.17 0 0 1 66.67 70.83 H45.83 A4.17 4.17 0 0 1 41.67 66.67 V54.17 A4.17 4.17 0 0 1 45.83 50 Z" },
+ { id: "combine", name: "Combine", tags: ["combine"], d: "M41.67 75 H20.83 a12.5 12.5 0 0 1 -12.5 -12.5 v-4.17 M58.33 8.33 a8.33 8.33 0 0 1 8.33 8.33 v16.67 a8.33 8.33 0 0 1 -8.33 8.33 M83.33 8.33 a8.33 8.33 0 0 1 8.33 8.33 v16.67 a8.33 8.33 0 0 1 -8.33 8.33 m29.17 87.5 12.5 -12.5 -12.5 -12.5 M66.67 58.33 H83.33 A8.33 8.33 0 0 1 91.67 66.67 V83.33 A8.33 8.33 0 0 1 83.33 91.67 H66.67 A8.33 8.33 0 0 1 58.33 83.33 V66.67 A8.33 8.33 0 0 1 66.67 58.33 Z M16.67 8.33 H33.33 A8.33 8.33 0 0 1 41.67 16.67 V33.33 A8.33 8.33 0 0 1 33.33 41.67 H16.67 A8.33 8.33 0 0 1 8.33 33.33 V16.67 A8.33 8.33 0 0 1 16.67 8.33 Z" },
+ { id: "split", name: "Split", tags: ["split"], d: "M66.67 12.5 h20.83 v20.83 M33.33 12.5 H12.5 v20.83 M50 91.67 v-34.58 a16.67 16.67 0 0 0 -4.88 -11.97 L12.5 12.5 m62.5 37.5 25 -25" },
+ { id: "flip-horizontal-2", name: "Flip Horizontal 2", tags: ["flip","horizontal","2"], d: "m12.5 29.17 20.83 20.83 -20.83 20.83 V29.17 m87.5 29.17 -20.83 20.83 20.83 20.83 V29.17 M50 83.33 v8.33 M50 58.33 v8.33 M50 33.33 v8.33 M50 8.33 v8.33" },
+ { id: "flip-vertical-2", name: "Flip Vertical 2", tags: ["flip","vertical","2"], d: "m70.83 12.5 -20.83 20.83 -20.83 -20.83 h41.67 m70.83 87.5 -20.83 -20.83 -20.83 20.83 h41.67 M16.67 50 H8.33 M41.67 50 H33.33 M66.67 50 h-8.33 M91.67 50 h-8.33" },
+ { id: "flip-horizontal", name: "Flip Horizontal", tags: ["flip","horizontal"], d: "M33.33 12.5 H20.83 a8.33 8.33 0 0 0 -8.33 8.33 v58.33 c0 4.58 3.75 8.33 8.33 8.33 h12.5 M66.67 12.5 h12.5 a8.33 8.33 0 0 1 8.33 8.33 v58.33 a8.33 8.33 0 0 1 -8.33 8.33 h-12.5 M50 83.33 v8.33 M50 58.33 v8.33 M50 33.33 v8.33 M50 8.33 v8.33" },
+ { id: "flip-vertical", name: "Flip Vertical", tags: ["flip","vertical"], d: "M87.5 33.33 V20.83 a8.33 8.33 0 0 0 -8.33 -8.33 H20.83 a8.33 8.33 0 0 0 -8.33 8.33 v12.5 M87.5 66.67 v12.5 a8.33 8.33 0 0 1 -8.33 8.33 H20.83 a8.33 8.33 0 0 1 -8.33 -8.33 v-12.5 M16.67 50 H8.33 M41.67 50 H33.33 M66.67 50 h-8.33 M91.67 50 h-8.33" },
+ { id: "bring-to-front", name: "Bring To Front", tags: ["bring","to","front"], d: "M41.67 33.33 H58.33 A8.33 8.33 0 0 1 66.67 41.67 V58.33 A8.33 8.33 0 0 1 58.33 66.67 H41.67 A8.33 8.33 0 0 1 33.33 58.33 V41.67 A8.33 8.33 0 0 1 41.67 33.33 Z M16.67 41.67 a8.33 8.33 0 0 1 -8.33 -8.33 V16.67 a8.33 8.33 0 0 1 8.33 -8.33 h16.67 a8.33 8.33 0 0 1 8.33 8.33 M58.33 83.33 a8.33 8.33 0 0 0 8.33 8.33 h16.67 a8.33 8.33 0 0 0 8.33 -8.33 v-16.67 a8.33 8.33 0 0 0 -8.33 -8.33" },
+ { id: "send-to-back", name: "Send To Back", tags: ["send","to","back"], d: "M66.67 58.33 H83.33 A8.33 8.33 0 0 1 91.67 66.67 V83.33 A8.33 8.33 0 0 1 83.33 91.67 H66.67 A8.33 8.33 0 0 1 58.33 83.33 V66.67 A8.33 8.33 0 0 1 66.67 58.33 Z M16.67 8.33 H33.33 A8.33 8.33 0 0 1 41.67 16.67 V33.33 A8.33 8.33 0 0 1 33.33 41.67 H16.67 A8.33 8.33 0 0 1 8.33 33.33 V16.67 A8.33 8.33 0 0 1 16.67 8.33 Z M29.17 58.33 v4.17 a8.33 8.33 0 0 0 8.33 8.33 h4.17 M58.33 29.17 h4.17 a8.33 8.33 0 0 1 8.33 8.33 v4.17" },
+ { id: "move-3d", name: "Move 3d", tags: ["move","3d"], d: "M20.83 12.5 v66.67 h66.67 m20.83 79.17 25 -25 m8.33 25 12.5 -12.5 12.5 12.5 m75 66.67 12.5 12.5 -12.5 12.5" },
+ { id: "move-diagonal", name: "Move Diagonal", tags: ["move","diagonal"], d: "M45.83 79.17 H20.83 v-25 M54.17 20.83 h25 v25 M79.17 20.83 20.83 79.17" },
+ { id: "move-diagonal-2", name: "Move Diagonal 2", tags: ["move","diagonal","2"], d: "M79.17 54.17 v25 h-25 M20.83 45.83 V20.83 h25 m20.83 20.83 58.33 58.33" },
+ { id: "square-dashed", name: "Square Dashed", tags: ["square","dashed"], d: "M20.83 12.5 a8.33 8.33 0 0 0 -8.33 8.33 M79.17 12.5 a8.33 8.33 0 0 1 8.33 8.33 M87.5 79.17 a8.33 8.33 0 0 1 -8.33 8.33 M20.83 87.5 a8.33 8.33 0 0 1 -8.33 -8.33 M37.5 12.5 h4.17 M37.5 87.5 h4.17 M58.33 12.5 h4.17 M58.33 87.5 h4.17 M12.5 37.5 v4.17 M87.5 37.5 v4.17 M12.5 58.33 v4.17 M87.5 58.33 v4.17" },
+ { id: "square-dashed-bottom", name: "Square Dashed Bottom", tags: ["square","dashed","bottom"], d: "M20.83 87.5 a8.33 8.33 0 0 1 -8.33 -8.33 V20.83 a8.33 8.33 0 0 1 8.33 -8.33 h58.33 a8.33 8.33 0 0 1 8.33 8.33 v58.33 a8.33 8.33 0 0 1 -8.33 8.33 M37.5 87.5 h4.17 M58.33 87.5 h4.17" },
+ { id: "frame", name: "Frame", tags: ["frame"], d: "M91.67 25 L8.33 25 M91.67 75 L8.33 75 M25 8.33 L25 91.67 M75 8.33 L75 91.67" },
+]
+
+/** offline search — name/tag substring match, ranked: name prefix > name > tag */
+export function searchIcons(query: string, limit = 120): IconDef[] {
+ const q = query.trim().toLowerCase()
+ if (!q) return ICONS.slice(0, limit)
+ const scored: { icon: IconDef; score: number }[] = []
+ for (const icon of ICONS) {
+ const name = icon.name.toLowerCase()
+ let score = -1
+ if (name.startsWith(q)) score = 0
+ else if (name.includes(q)) score = 1
+ else if (icon.tags.some((t) => t.startsWith(q))) score = 2
+ else if (icon.tags.some((t) => t.includes(q))) score = 3
+ if (score >= 0) scored.push({ icon, score })
+ }
+ return scored.sort((a, b) => a.score - b.score || a.icon.name.localeCompare(b.icon.name)).slice(0, limit).map((s) => s.icon)
+}
diff --git a/src/lib/assets/illustrations.test.ts b/src/lib/assets/illustrations.test.ts
new file mode 100644
index 0000000..aeb9221
--- /dev/null
+++ b/src/lib/assets/illustrations.test.ts
@@ -0,0 +1,93 @@
+// Unit tests for the illustration packs (v0.17 Wave 2) — the library is
+// hand-authored offline, so these tests guard the invariants the editor
+// and exporters rely on: valid standalone SVG, no external refs, pack
+// structure, and well-formed (balanced) markup.
+
+import { describe, it, expect } from 'vitest'
+import { ILLUSTRATIONS, ILLUSTRATION_PACKS } from './illustrations'
+
+/** stack-based tag-balance check (attrs may contain quoted '>') */
+function tagsBalanced(svg: string): boolean {
+ const stack: string[] = []
+ const re = /<\/?([a-zA-Z][a-zA-Z0-9-]*)((?:"[^"]*"|'[^']*'|[^>"'])*)>/g
+ let m: RegExpExecArray | null
+ let sawRoot = false
+ while ((m = re.exec(svg))) {
+ const [full, tag, attrs = ''] = m
+ if (full.startsWith('</')) {
+ const top = stack.pop()
+ if (top !== tag) return false
+ } else if (full.endsWith('/>')) {
+ // self-closing — no stack entry
+ } else {
+ stack.push(tag)
+ }
+ sawRoot = true
+ }
+ return sawRoot && stack.length === 0
+}
+
+describe('illustration packs (v0.17 Wave 2)', () => {
+ it('ships 6 packs × 8 illustrations = 48', () => {
+ expect(ILLUSTRATION_PACKS).toHaveLength(6)
+ expect(ILLUSTRATIONS).toHaveLength(48)
+ for (const pack of ILLUSTRATION_PACKS) {
+ expect(ILLUSTRATIONS.filter((i) => i.pack === pack.id)).toHaveLength(8)
+ }
+ })
+
+ it('has unique kebab-case ids with names and 2–4 tags', () => {
+ const ids = new Set(ILLUSTRATIONS.map((i) => i.id))
+ expect(ids.size).toBe(ILLUSTRATIONS.length)
+ for (const i of ILLUSTRATIONS) {
+ expect(i.id).toMatch(/^[a-z0-9]+(-[a-z0-9]+)*$/)
+ expect(i.name.length).toBeGreaterThan(0)
+ expect(i.tags.length).toBeGreaterThanOrEqual(2)
+ expect(i.tags.length).toBeLessThanOrEqual(4)
+ for (const t of i.tags) expect(t).toBe(t.toLowerCase())
+ }
+ })
+
+ it('every svg is a standalone <svg> with the 200×200 viewBox', () => {
+ for (const i of ILLUSTRATIONS) {
+ expect(i.svg.startsWith('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200">')).toBe(true)
+ expect(i.svg.endsWith('</svg>')).toBe(true)
+ // sizing attributes are forbidden on the ROOT tag (viewBox drives layout)
+ const root = i.svg.slice(0, i.svg.indexOf('>') + 1)
+ expect(root).not.toMatch(/\s(width|height)=/)
+ // stroke-width etc. are fine on children
+ }
+ })
+
+ it('contains no scripts, external refs, embedded images or <use>', () => {
+ for (const i of ILLUSTRATIONS) {
+ const httpIdx = i.svg.indexOf('http')
+ while (httpIdx !== -1) {
+ // the only http allowed is the xmlns attribute
+ expect(i.svg.slice(Math.max(0, httpIdx - 40), httpIdx)).toContain('xmlns=')
+ const next = i.svg.indexOf('http', httpIdx + 4)
+ if (next !== -1) expect.fail('more than one http occurrence')
+ break
+ }
+ expect(i.svg).not.toContain('script')
+ expect(i.svg.toLowerCase()).not.toContain('href')
+ expect(i.svg).not.toContain('<image')
+ expect(i.svg).not.toContain('<use')
+ expect(i.svg).not.toContain('<style')
+ }
+ })
+
+ it('markup is balanced (every open tag closes in order)', () => {
+ for (const i of ILLUSTRATIONS) expect(tagsBalanced(i.svg)).toBe(true)
+ })
+
+ it('each illustration is substantial but bounded (3–40 elements, 200–4000 chars)', () => {
+ for (const i of ILLUSTRATIONS) {
+ const opens = (i.svg.match(/<[a-zA-Z]/g) ?? []).length
+ expect(opens).toBeGreaterThanOrEqual(4) // svg root + ≥3 shapes
+ expect(opens).toBeLessThanOrEqual(41)
+ expect(i.svg.length).toBeGreaterThanOrEqual(200)
+ expect(i.svg.length).toBeLessThanOrEqual(4000)
+ }
+ })
+})
diff --git a/src/lib/assets/illustrations.ts b/src/lib/assets/illustrations.ts
new file mode 100644
index 0000000..5988587
--- /dev/null
+++ b/src/lib/assets/illustrations.ts
@@ -0,0 +1,366 @@
+// ─────────────────────────────────────────────────────────────
+// Canvix illustration packs (v0.17 Wave 2) — original flat art
+// authored in-house (clean-room: composed from primitives by
+// scripts/gen-illustrations.mjs — nothing copied from elsewhere).
+// 6 packs × 8 illustrations = 48 pieces. Each SVG is standalone,
+// viewBox 0 0 200 200, transparent background, 2–4 colours that
+// read on both white and the #0F1015 dark asset cards.
+// ─────────────────────────────────────────────────────────────
+
+export type IllustrationPack = 'business' | 'people' | 'nature' | 'tech' | 'abstract' | 'festive'
+
+export interface IllustrationDef {
+ id: string
+ name: string
+ pack: IllustrationPack
+ tags: string[]
+ svg: string
+}
+
+export const ILLUSTRATION_PACKS: { id: IllustrationPack; label: string }[] = [
+ { id: 'business', label: 'Business' },
+ { id: 'people', label: 'People' },
+ { id: 'nature', label: 'Nature' },
+ { id: 'tech', label: 'Tech' },
+ { id: 'abstract', label: 'Abstract' },
+ { id: 'festive', label: 'Festive' },
+]
+
+export const ILLUSTRATIONS: IllustrationDef[] = [
+ {
+ id: 'rocket-launch',
+ name: 'Rocket launch',
+ pack: 'business',
+ tags: ['startup', 'growth', 'space'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><polygon points=\"38,40 39.48,43.96 43.71,44.15 40.4,46.78 41.53,50.85 38,48.52 34.47,50.85 35.6,46.78 32.29,44.15 36.52,43.96\" fill=\"#7A8CA5\"/><polygon points=\"164,30 164.99,32.64 167.8,32.76 165.6,34.52 166.35,37.24 164,35.68 161.65,37.24 162.4,34.52 160.2,32.76 163.01,32.64\" fill=\"#7A8CA5\"/><circle cx=\"150\" cy=\"130\" r=\"3\" fill=\"#7A8CA5\"/><polygon points=\"78,108 60,150 86,132\" fill=\"#FF6B5B\"/><polygon points=\"122,108 140,150 114,132\" fill=\"#FF6B5B\"/><path d=\"M100 26 C116 44 118 78 100 112 C82 78 84 44 100 26 Z\" fill=\"#1B2A4A\"/><circle cx=\"100\" cy=\"60\" r=\"11\" fill=\"#F4E3C1\"/><circle cx=\"100\" cy=\"60\" r=\"6\" fill=\"#FF6B5B\"/><path d=\"M100 112 C110 120 108 136 100 148 C92 136 90 120 100 112 Z\" fill=\"#F4E3C1\"/><path d=\"M100 132 C106 144 104 156 100 164 C96 156 94 144 100 132 Z\" fill=\"#FF6B5B\"/><ellipse cx=\"88\" cy=\"150\" rx=\"4\" ry=\"7\" fill=\"#2E9E8F\" transform=\"rotate(-20 88 150)\"/><ellipse cx=\"112\" cy=\"150\" rx=\"4\" ry=\"7\" fill=\"#2E9E8F\" transform=\"rotate(20 112 150)\"/></svg>",
+ },
+ {
+ id: 'growth-chart',
+ name: 'Growth chart',
+ pack: 'business',
+ tags: ['growth', 'chart', 'success'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><rect x=\"34\" y=\"30\" width=\"10\" height=\"140\" rx=\"5\" fill=\"#7A8CA5\"/><rect x=\"34\" y=\"160\" width=\"140\" height=\"10\" rx=\"5\" fill=\"#7A8CA5\"/><rect x=\"58\" y=\"118\" width=\"22\" height=\"36\" rx=\"4\" fill=\"#F4E3C1\"/><rect x=\"92\" y=\"96\" width=\"22\" height=\"58\" rx=\"4\" fill=\"#FF6B5B\"/><rect x=\"126\" y=\"70\" width=\"22\" height=\"84\" rx=\"4\" fill=\"#1B2A4A\"/><path d=\"M52 92 L86 62 L118 74 L158 34\" fill=\"none\" stroke=\"#2E9E8F\" stroke-width=\"9\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><polygon points=\"166,12 146,34 166,34\" fill=\"#2E9E8F\"/><circle cx=\"158\" cy=\"34\" r=\"6\" fill=\"#FF6B5B\"/></svg>",
+ },
+ {
+ id: 'briefcase',
+ name: 'Briefcase',
+ pack: 'business',
+ tags: ['work', 'office', 'business'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M78 52 L78 44 C78 38 82 34 88 34 L112 34 C118 34 122 38 122 44 L122 52\" fill=\"none\" stroke=\"#1B2A4A\" stroke-width=\"8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><rect x=\"30\" y=\"52\" width=\"140\" height=\"92\" rx=\"14\" fill=\"#1B2A4A\"/><rect x=\"30\" y=\"84\" width=\"140\" height=\"14\" fill=\"#FF6B5B\"/><rect x=\"88\" y=\"78\" width=\"24\" height=\"26\" rx=\"5\" fill=\"#F4E3C1\"/><rect x=\"94\" y=\"84\" width=\"12\" height=\"14\" rx=\"3\" fill=\"#7A8CA5\"/><circle cx=\"52\" cy=\"68\" r=\"5\" fill=\"#7A8CA5\"/><circle cx=\"148\" cy=\"68\" r=\"5\" fill=\"#7A8CA5\"/></svg>",
+ },
+ {
+ id: 'target-goal',
+ name: 'Target goal',
+ pack: 'business',
+ tags: ['goal', 'aim', 'focus'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><circle cx=\"96\" cy=\"104\" r=\"64\" fill=\"#F4E3C1\"/><circle cx=\"96\" cy=\"104\" r=\"45\" fill=\"#7A8CA5\"/><circle cx=\"96\" cy=\"104\" r=\"26\" fill=\"#FF6B5B\"/><circle cx=\"96\" cy=\"104\" r=\"11\" fill=\"#1B2A4A\"/><path d=\"M96 104 L160 40\" fill=\"none\" stroke=\"#1B2A4A\" stroke-width=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><polygon points=\"172,28 140,34 160,54\" fill=\"#1B2A4A\"/><circle cx=\"96\" cy=\"104\" r=\"5\" fill=\"#F4E3C1\"/></svg>",
+ },
+ {
+ id: 'handshake',
+ name: 'Handshake',
+ pack: 'business',
+ tags: ['deal', 'partnership', 'agree'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><rect x=\"18\" y=\"86\" width=\"52\" height=\"22\" rx=\"11\" fill=\"#1B2A4A\"/><rect x=\"130\" y=\"86\" width=\"52\" height=\"22\" rx=\"11\" fill=\"#1B2A4A\"/><rect x=\"24\" y=\"80\" width=\"16\" height=\"34\" rx=\"6\" fill=\"#7A8CA5\"/><rect x=\"160\" y=\"80\" width=\"16\" height=\"34\" rx=\"6\" fill=\"#7A8CA5\"/><path d=\"M62 78 C74 66 88 66 100 78 L108 86 C114 92 114 100 108 106 L96 118 C90 124 82 124 76 118 Z\" fill=\"#FF6B5B\"/><path d=\"M138 78 C126 66 112 66 100 78 L92 86 C86 92 86 100 92 106 L104 118 C110 124 118 124 124 118 Z\" fill=\"#2E9E8F\"/><circle cx=\"84\" cy=\"100\" r=\"8\" fill=\"#F4E3C1\"/><circle cx=\"116\" cy=\"100\" r=\"8\" fill=\"#1B2A4A\"/></svg>",
+ },
+ {
+ id: 'meeting-table',
+ name: 'Meeting table',
+ pack: 'business',
+ tags: ['team', 'meeting', 'discussion'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><ellipse cx=\"100\" cy=\"120\" rx=\"62\" ry=\"24\" fill=\"#1B2A4A\"/><rect x=\"58\" y=\"130\" width=\"10\" height=\"40\" rx=\"5\" fill=\"#7A8CA5\"/><rect x=\"132\" y=\"130\" width=\"10\" height=\"40\" rx=\"5\" fill=\"#7A8CA5\"/><circle cx=\"56\" cy=\"58\" r=\"14\" fill=\"#FF6B5B\"/><path d=\"M32 96 C32 78 44 70 56 70 C68 70 80 78 80 96 Z\" fill=\"#FF6B5B\"/><circle cx=\"144\" cy=\"58\" r=\"14\" fill=\"#2E9E8F\"/><path d=\"M120 96 C120 78 132 70 144 70 C156 70 168 78 168 96 Z\" fill=\"#2E9E8F\"/><circle cx=\"100\" cy=\"44\" r=\"16\" fill=\"#F4E3C1\"/><path d=\"M72 86 C72 64 84 54 100 54 C116 54 128 64 128 86 Z\" fill=\"#F4E3C1\"/><rect x=\"88\" y=\"104\" width=\"24\" height=\"10\" rx=\"5\" fill=\"#F4E3C1\"/></svg>",
+ },
+ {
+ id: 'piggy-bank',
+ name: 'Piggy bank',
+ pack: 'business',
+ tags: ['savings', 'money', 'finance'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><ellipse cx=\"102\" cy=\"116\" rx=\"58\" ry=\"40\" fill=\"#F4E3C1\"/><circle cx=\"160\" cy=\"100\" r=\"14\" fill=\"#F4E3C1\"/><rect x=\"168\" y=\"96\" width=\"14\" height=\"8\" rx=\"4\" fill=\"#1B2A4A\"/><rect x=\"64\" y=\"148\" width=\"14\" height=\"22\" rx=\"6\" fill=\"#1B2A4A\"/><rect x=\"124\" y=\"148\" width=\"14\" height=\"22\" rx=\"6\" fill=\"#1B2A4A\"/><circle cx=\"72\" cy=\"104\" r=\"5\" fill=\"#1B2A4A\"/><circle cx=\"70\" cy=\"88\" r=\"7\" fill=\"#7A8CA5\"/><ellipse cx=\"58\" cy=\"122\" rx=\"10\" ry=\"14\" fill=\"#7A8CA5\" transform=\"rotate(-30 58 122)\"/><polygon points=\"112,48 115.46,57.24 125.31,57.67 117.59,63.82 120.23,73.33 112,67.88 103.77,73.33 106.41,63.82 98.69,57.67 108.54,57.24\" fill=\"#FF6B5B\"/><ellipse cx=\"112\" cy=\"62\" rx=\"8\" ry=\"8\" fill=\"#F4E3C1\"/></svg>",
+ },
+ {
+ id: 'trophy-win',
+ name: 'Trophy win',
+ pack: 'business',
+ tags: ['award', 'win', 'champion'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M62 36 L138 36 L132 92 C130 112 116 124 100 124 C84 124 70 112 68 92 Z\" fill=\"#F4E3C1\"/><path d=\"M62 46 C46 46 42 68 58 76 L66 80\" fill=\"none\" stroke=\"#F4E3C1\" stroke-width=\"9\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M138 46 C154 46 158 68 142 76 L134 80\" fill=\"none\" stroke=\"#F4E3C1\" stroke-width=\"9\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><rect x=\"92\" y=\"124\" width=\"16\" height=\"22\" rx=\"4\" fill=\"#7A8CA5\"/><rect x=\"66\" y=\"146\" width=\"68\" height=\"14\" rx=\"6\" fill=\"#1B2A4A\"/><polygon points=\"100,52 105.43,66.52 120.92,67.2 108.79,76.86 112.93,91.8 100,83.24 87.07,91.8 91.21,76.86 79.08,67.2 94.57,66.52\" fill=\"#FF6B5B\"/><rect x=\"94\" y=\"30\" width=\"12\" height=\"8\" rx=\"3\" fill=\"#1B2A4A\"/></svg>",
+ },
+ {
+ id: 'collaboration',
+ name: 'Collaboration',
+ pack: 'people',
+ tags: ['teamwork', 'together', 'share'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><circle cx=\"58\" cy=\"74\" r=\"20\" fill=\"#E76F51\"/><path d=\"M26 132 C26 104 40 92 58 92 C76 92 90 104 90 132 Z\" fill=\"#E76F51\"/><circle cx=\"142\" cy=\"74\" r=\"20\" fill=\"#2A9D8F\"/><path d=\"M110 132 C110 104 124 92 142 92 C160 92 174 104 174 132 Z\" fill=\"#2A9D8F\"/><rect x=\"76\" y=\"104\" width=\"48\" height=\"56\" rx=\"8\" fill=\"#FAF3E0\"/><rect x=\"84\" y=\"116\" width=\"32\" height=\"5\" rx=\"3\" fill=\"#6D4C6F\"/><rect x=\"84\" y=\"128\" width=\"32\" height=\"5\" rx=\"3\" fill=\"#6D4C6F\"/><rect x=\"84\" y=\"140\" width=\"20\" height=\"5\" rx=\"3\" fill=\"#6D4C6F\"/><polygon points=\"100,50 102.96,57.92 111.41,58.29 104.79,63.56 107.05,71.71 100,67.04 92.95,71.71 95.21,63.56 88.59,58.29 97.04,57.92\" fill=\"#F4A261\"/><polygon points=\"38,37 39.73,41.62 44.66,41.84 40.8,44.91 42.11,49.66 38,46.94 33.89,49.66 35.2,44.91 31.34,41.84 36.27,41.62\" fill=\"#F4A261\"/><polygon points=\"164,37 165.73,41.62 170.66,41.84 166.8,44.91 168.11,49.66 164,46.94 159.89,49.66 161.2,44.91 157.34,41.84 162.27,41.62\" fill=\"#F4A261\"/></svg>",
+ },
+ {
+ id: 'presentation',
+ name: 'Presentation',
+ pack: 'people',
+ tags: ['pitch', 'speech', 'report'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><rect x=\"40\" y=\"30\" width=\"120\" height=\"80\" rx=\"8\" fill=\"#FAF3E0\"/><rect x=\"52\" y=\"76\" width=\"16\" height=\"22\" rx=\"3\" fill=\"#2A9D8F\"/><rect x=\"74\" y=\"62\" width=\"16\" height=\"36\" rx=\"3\" fill=\"#E76F51\"/><rect x=\"96\" y=\"48\" width=\"16\" height=\"50\" rx=\"3\" fill=\"#6D4C6F\"/><path d=\"M100 110 L100 140\" fill=\"none\" stroke=\"#6D4C6F\" stroke-width=\"8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M74 140 L126 140\" fill=\"none\" stroke=\"#6D4C6F\" stroke-width=\"8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><circle cx=\"148\" cy=\"108\" r=\"13\" fill=\"#E76F51\"/><path d=\"M126 148 C126 132 136 124 148 124 C160 124 170 132 170 148 Z\" fill=\"#E76F51\"/><path d=\"M136 116 L120 100\" fill=\"none\" stroke=\"#E76F51\" stroke-width=\"7\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>",
+ },
+ {
+ id: 'freelancer',
+ name: 'Freelancer',
+ pack: 'people',
+ tags: ['remote', 'work', 'laptop'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M30 160 C40 120 70 104 100 104 C130 104 160 120 170 160\" fill=\"none\" stroke=\"#6D4C6F\" stroke-width=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><circle cx=\"100\" cy=\"60\" r=\"18\" fill=\"#E76F51\"/><path d=\"M70 110 C70 84 82 74 100 74 C118 74 130 84 130 110 Z\" fill=\"#2A9D8F\"/><path d=\"M64 138 L136 138 L128 112 L72 112 Z\" fill=\"#FAF3E0\"/><rect x=\"66\" y=\"140\" width=\"68\" height=\"8\" rx=\"4\" fill=\"#F4A261\"/><ellipse cx=\"158\" cy=\"96\" rx=\"12\" ry=\"9\" fill=\"#E76F51\" transform=\"rotate(-15 158 96)\"/><rect x=\"150\" y=\"100\" width=\"18\" height=\"12\" rx=\"4\" fill=\"#6D4C6F\"/><path d=\"M150 84 C146 76 152 70 148 62\" fill=\"none\" stroke=\"#F4A261\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>",
+ },
+ {
+ id: 'team-highfive',
+ name: 'Team high five',
+ pack: 'people',
+ tags: ['celebrate', 'team', 'success'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><circle cx=\"64\" cy=\"78\" r=\"19\" fill=\"#E76F51\"/><path d=\"M34 140 C34 112 46 100 64 100 C82 100 94 112 94 140 Z\" fill=\"#E76F51\"/><circle cx=\"136\" cy=\"78\" r=\"19\" fill=\"#2A9D8F\"/><path d=\"M106 140 C106 112 118 100 136 100 C154 100 166 112 166 140 Z\" fill=\"#2A9D8F\"/><path d=\"M70 106 L84 62\" fill=\"none\" stroke=\"#E76F51\" stroke-width=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M130 106 L116 62\" fill=\"none\" stroke=\"#2A9D8F\" stroke-width=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><polygon points=\"100,28 104.94,41.2 119.02,41.82 107.99,50.6 111.76,64.18 100,56.4 88.24,64.18 92.01,50.6 80.98,41.82 95.06,41.2\" fill=\"#F4A261\"/><polygon points=\"100,39 102.22,44.94 108.56,45.22 103.59,49.17 105.29,55.28 100,51.78 94.71,55.28 96.41,49.17 91.44,45.22 97.78,44.94\" fill=\"#FAF3E0\"/><polygon points=\"58,30 59.97,35.28 65.61,35.53 61.2,39.04 62.7,44.47 58,41.36 53.3,44.47 54.8,39.04 50.39,35.53 56.03,35.28\" fill=\"#F4A261\"/><polygon points=\"142,30 143.97,35.28 149.61,35.53 145.2,39.04 146.7,44.47 142,41.36 137.3,44.47 138.8,39.04 134.39,35.53 140.03,35.28\" fill=\"#F4A261\"/></svg>",
+ },
+ {
+ id: 'thinking-woman',
+ name: 'Thinking woman',
+ pack: 'people',
+ tags: ['idea', 'think', 'plan'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><circle cx=\"78\" cy=\"92\" r=\"26\" fill=\"#E76F51\"/><path d=\"M38 168 C38 134 56 120 78 120 C100 120 118 134 118 168 Z\" fill=\"#2A9D8F\"/><circle cx=\"130\" cy=\"70\" r=\"18\" fill=\"#FAF3E0\"/><circle cx=\"152\" cy=\"50\" r=\"12\" fill=\"#FAF3E0\"/><circle cx=\"168\" cy=\"32\" r=\"7\" fill=\"#FAF3E0\"/><polygon points=\"140,59 141.73,63.62 146.66,63.84 142.8,66.91 144.11,71.66 140,68.94 135.89,71.66 137.2,66.91 133.34,63.84 138.27,63.62\" fill=\"#F4A261\"/><ellipse cx=\"66\" cy=\"132\" rx=\"10\" ry=\"14\" fill=\"#6D4C6F\" transform=\"rotate(-20 66 132)\"/></svg>",
+ },
+ {
+ id: 'reading-book',
+ name: 'Reading book',
+ pack: 'people',
+ tags: ['book', 'study', 'learn'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M100 92 C86 78 62 74 40 80 L40 152 C62 146 86 150 100 162 Z\" fill=\"#FAF3E0\"/><path d=\"M100 92 C114 78 138 74 160 80 L160 152 C138 146 114 150 100 162 Z\" fill=\"#FAF3E0\"/><path d=\"M100 92 L100 162\" fill=\"none\" stroke=\"#6D4C6F\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><rect x=\"52\" y=\"92\" width=\"36\" height=\"5\" rx=\"2\" fill=\"#6D4C6F\"/><rect x=\"52\" y=\"104\" width=\"36\" height=\"5\" rx=\"2\" fill=\"#6D4C6F\"/><rect x=\"52\" y=\"116\" width=\"28\" height=\"5\" rx=\"2\" fill=\"#6D4C6F\"/><rect x=\"112\" y=\"92\" width=\"36\" height=\"5\" rx=\"2\" fill=\"#6D4C6F\"/><rect x=\"112\" y=\"104\" width=\"36\" height=\"5\" rx=\"2\" fill=\"#6D4C6F\"/><rect x=\"112\" y=\"116\" width=\"28\" height=\"5\" rx=\"2\" fill=\"#6D4C6F\"/><circle cx=\"100\" cy=\"46\" r=\"18\" fill=\"#E76F51\"/><path d=\"M74 82 C74 60 84 52 100 52 C116 52 126 60 126 82 Z\" fill=\"#E76F51\"/></svg>",
+ },
+ {
+ id: 'coffee-chat',
+ name: 'Coffee chat',
+ pack: 'people',
+ tags: ['coffee', 'talk', 'cafe'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M44 84 L96 84 L90 132 C89 142 80 148 70 148 C60 148 51 142 50 132 Z\" fill=\"#E76F51\"/><path d=\"M96 92 C112 92 112 116 96 116\" fill=\"none\" stroke=\"#E76F51\" stroke-width=\"6\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M104 84 L156 84 L150 132 C149 142 140 148 130 148 C120 148 111 142 110 132 Z\" fill=\"#2A9D8F\"/><path d=\"M156 92 C172 92 172 116 156 116\" fill=\"none\" stroke=\"#2A9D8F\" stroke-width=\"6\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M62 70 C58 62 66 56 62 48\" fill=\"none\" stroke=\"#F4A261\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M78 70 C74 62 82 56 78 48\" fill=\"none\" stroke=\"#F4A261\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M122 70 C118 62 126 56 122 48\" fill=\"none\" stroke=\"#F4A261\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M138 70 C134 62 142 56 138 48\" fill=\"none\" stroke=\"#F4A261\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><rect x=\"40\" y=\"156\" width=\"120\" height=\"8\" rx=\"4\" fill=\"#6D4C6F\"/></svg>",
+ },
+ {
+ id: 'work-desk',
+ name: 'Work desk',
+ pack: 'people',
+ tags: ['desk', 'workspace', 'setup'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><rect x=\"28\" y=\"120\" width=\"144\" height=\"10\" rx=\"5\" fill=\"#6D4C6F\"/><rect x=\"38\" y=\"130\" width=\"10\" height=\"44\" rx=\"4\" fill=\"#6D4C6F\"/><rect x=\"152\" y=\"130\" width=\"10\" height=\"44\" rx=\"4\" fill=\"#6D4C6F\"/><rect x=\"56\" y=\"58\" width=\"72\" height=\"52\" rx=\"6\" fill=\"#2A9D8F\"/><rect x=\"62\" y=\"64\" width=\"60\" height=\"40\" rx=\"3\" fill=\"#FAF3E0\"/><rect x=\"50\" y=\"110\" width=\"84\" height=\"8\" rx=\"4\" fill=\"#2A9D8F\"/><rect x=\"74\" y=\"46\" width=\"36\" height=\"10\" rx=\"4\" fill=\"#6D4C6F\"/><rect x=\"140\" y=\"88\" width=\"26\" height=\"32\" rx=\"5\" fill=\"#E76F51\"/><path d=\"M146 118 L166 118 L170 128 L142 128 Z\" fill=\"#F4A261\"/><circle cx=\"149\" cy=\"82\" r=\"5\" fill=\"#F4A261\"/></svg>",
+ },
+ {
+ id: 'mountain-sunrise',
+ name: 'Mountain sunrise',
+ pack: 'nature',
+ tags: ['mountain', 'sun', 'travel'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><circle cx=\"140\" cy=\"60\" r=\"26\" fill=\"#FFD166\"/><polygon points=\"16,150 76,62 136,150\" fill=\"#2D6A4F\"/><polygon points=\"68,84 76,62 84,84 76,96\" fill=\"#A8DADC\"/><polygon points=\"96,150 146,78 192,150\" fill=\"#1B4332\"/><polygon points=\"138,96 146,78 154,96 146,108\" fill=\"#A8DADC\"/><ellipse cx=\"52\" cy=\"56\" rx=\"22\" ry=\"12\" fill=\"#A8DADC\"/><ellipse cx=\"66\" cy=\"62\" rx=\"16\" ry=\"9\" fill=\"#A8DADC\"/><rect x=\"8\" y=\"150\" width=\"184\" height=\"22\" rx=\"11\" fill=\"#74C69D\"/></svg>",
+ },
+ {
+ id: 'forest-pines',
+ name: 'Forest pines',
+ pack: 'nature',
+ tags: ['forest', 'trees', 'woods'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><polygon points=\"40,140 58,60 76,140\" fill=\"#2D6A4F\"/><rect x=\"54\" y=\"140\" width=\"8\" height=\"18\" rx=\"3\" fill=\"#1B4332\"/><polygon points=\"86,140 108,44 130,140\" fill=\"#1B4332\"/><rect x=\"102\" y=\"140\" width=\"10\" height=\"20\" rx=\"4\" fill=\"#2D6A4F\"/><polygon points=\"140,140 156,76 172,140\" fill=\"#2D6A4F\"/><rect x=\"152\" y=\"140\" width=\"8\" height=\"16\" rx=\"3\" fill=\"#1B4332\"/><ellipse cx=\"100\" cy=\"164\" rx=\"88\" ry=\"16\" fill=\"#74C69D\"/></svg>",
+ },
+ {
+ id: 'cactus-desert',
+ name: 'Cactus desert',
+ pack: 'nature',
+ tags: ['desert', 'cactus', 'southwest'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><circle cx=\"150\" cy=\"56\" r=\"22\" fill=\"#FFD166\"/><rect x=\"86\" y=\"66\" width=\"28\" height=\"100\" rx=\"14\" fill=\"#2D6A4F\"/><path d=\"M86 108 C70 108 64 100 64 88 L64 80 C64 74 74 74 74 80 L74 88 C74 94 78 98 86 98 Z\" fill=\"#2D6A4F\"/><path d=\"M114 122 C130 122 136 114 136 102 L136 82 C136 76 126 76 126 82 L126 102 C126 108 122 112 114 112 Z\" fill=\"#2D6A4F\"/><ellipse cx=\"50\" cy=\"156\" rx=\"12\" ry=\"8\" fill=\"#74C69D\" transform=\"rotate(-12 50 156)\"/><ellipse cx=\"70\" cy=\"162\" rx=\"14\" ry=\"8\" fill=\"#74C69D\" transform=\"rotate(8 70 162)\"/><ellipse cx=\"140\" cy=\"160\" rx=\"16\" ry=\"9\" fill=\"#74C69D\" transform=\"rotate(-6 140 160)\"/><ellipse cx=\"164\" cy=\"156\" rx=\"12\" ry=\"7\" fill=\"#74C69D\" transform=\"rotate(10 164 156)\"/><circle cx=\"60\" cy=\"96\" r=\"4\" fill=\"#FFD166\"/><circle cx=\"140\" cy=\"110\" r=\"4\" fill=\"#FFD166\"/><circle cx=\"100\" cy=\"84\" r=\"4\" fill=\"#FFD166\"/></svg>",
+ },
+ {
+ id: 'ocean-waves',
+ name: 'Ocean waves',
+ pack: 'nature',
+ tags: ['ocean', 'sea', 'water'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M10 70 C40 54 70 54 100 70 C130 86 160 86 190 70 L190 92 C160 108 130 108 100 92 C70 76 40 76 10 92 Z\" fill=\"#A8DADC\"/><path d=\"M10 104 C40 88 70 88 100 104 C130 120 160 120 190 104 L190 126 C160 142 130 142 100 126 C70 110 40 110 10 126 Z\" fill=\"#74C69D\"/><path d=\"M10 138 C40 122 70 122 100 138 C130 154 160 154 190 138 L190 160 C160 176 130 176 100 160 C70 144 40 144 10 160 Z\" fill=\"#2D6A4F\"/><circle cx=\"52\" cy=\"44\" r=\"14\" fill=\"#FFD166\"/></svg>",
+ },
+ {
+ id: 'leaf-rain',
+ name: 'Leaf rain',
+ pack: 'nature',
+ tags: ['leaf', 'rain', 'eco'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><ellipse cx=\"62\" cy=\"44\" rx=\"30\" ry=\"16\" fill=\"#A8DADC\"/><ellipse cx=\"84\" cy=\"52\" rx=\"22\" ry=\"12\" fill=\"#A8DADC\"/><path d=\"M100 74 C100 128 76 158 40 170 C34 132 56 98 100 74 Z\" fill=\"#2D6A4F\"/><path d=\"M100 74 C84 108 68 136 44 158\" fill=\"none\" stroke=\"#74C69D\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M126 92 L118 112\" fill=\"none\" stroke=\"#74C69D\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M146 106 L138 126\" fill=\"none\" stroke=\"#74C69D\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M120 132 L114 148\" fill=\"none\" stroke=\"#74C69D\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M152 138 L146 154\" fill=\"none\" stroke=\"#74C69D\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><circle cx=\"168\" cy=\"72\" r=\"5\" fill=\"#74C69D\"/><circle cx=\"140\" cy=\"78\" r=\"4\" fill=\"#74C69D\"/></svg>",
+ },
+ {
+ id: 'butterfly-garden',
+ name: 'Butterfly garden',
+ pack: 'nature',
+ tags: ['butterfly', 'garden', 'spring'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M96 84 C72 56 34 58 34 88 C34 114 66 120 92 104 Z\" fill=\"#74C69D\"/><path d=\"M104 84 C128 56 166 58 166 88 C166 114 134 120 108 104 Z\" fill=\"#74C69D\"/><path d=\"M96 102 C78 116 58 122 56 138 C78 142 96 128 100 112 Z\" fill=\"#2D6A4F\"/><path d=\"M104 102 C122 116 142 122 144 138 C122 142 104 128 100 112 Z\" fill=\"#2D6A4F\"/><ellipse cx=\"100\" cy=\"96\" rx=\"6\" ry=\"24\" fill=\"#1B4332\"/><path d=\"M94 72 C88 62 82 60 78 62\" fill=\"none\" stroke=\"#1B4332\" stroke-width=\"3\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M106 72 C112 62 118 60 122 62\" fill=\"none\" stroke=\"#1B4332\" stroke-width=\"3\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><circle cx=\"70\" cy=\"40\" r=\"7\" fill=\"#FFD166\"/><polygon points=\"138,33 140.22,38.94 146.56,39.22 141.59,43.17 143.29,49.28 138,45.78 132.71,49.28 134.41,43.17 129.44,39.22 135.78,38.94\" fill=\"#FFD166\"/><circle cx=\"42\" cy=\"156\" r=\"6\" fill=\"#FFD166\"/><circle cx=\"158\" cy=\"156\" r=\"6\" fill=\"#FFD166\"/></svg>",
+ },
+ {
+ id: 'moon-stars',
+ name: 'Moon and stars',
+ pack: 'nature',
+ tags: ['night', 'moon', 'sleep'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M128 32 C96 40 76 66 76 96 C76 126 96 152 128 160 C104 172 72 166 52 142 C30 116 32 76 56 50 C76 28 106 22 128 32 Z\" fill=\"#A8DADC\"/><polygon points=\"146,50 148.96,57.92 157.41,58.29 150.79,63.56 153.05,71.71 146,67.04 138.95,71.71 141.21,63.56 134.59,58.29 143.04,57.92\" fill=\"#FFD166\"/><polygon points=\"160,98 161.97,103.28 167.61,103.53 163.2,107.04 164.7,112.47 160,109.36 155.3,112.47 156.8,107.04 152.39,103.53 158.03,103.28\" fill=\"#FFD166\"/><polygon points=\"138,129 139.73,133.62 144.66,133.84 140.8,136.91 142.11,141.66 138,138.94 133.89,141.66 135.2,136.91 131.34,133.84 136.27,133.62\" fill=\"#FFD166\"/><polygon points=\"48,31 50.22,36.94 56.56,37.22 51.59,41.17 53.29,47.28 48,43.78 42.71,47.28 44.41,41.17 39.44,37.22 45.78,36.94\" fill=\"#FFD166\"/><circle cx=\"168\" cy=\"42\" r=\"4\" fill=\"#74C69D\"/><circle cx=\"126\" cy=\"52\" r=\"3\" fill=\"#74C69D\"/></svg>",
+ },
+ {
+ id: 'flower-bloom',
+ name: 'Flower bloom',
+ pack: 'nature',
+ tags: ['flower', 'bloom', 'spring'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><ellipse cx=\"100\" cy=\"70\" rx=\"16\" ry=\"30\" fill=\"#74C69D\" transform=\"rotate(0 100 70)\"/><ellipse cx=\"100\" cy=\"70\" rx=\"16\" ry=\"30\" fill=\"#74C69D\" transform=\"rotate(60 100 70)\"/><ellipse cx=\"100\" cy=\"70\" rx=\"16\" ry=\"30\" fill=\"#74C69D\" transform=\"rotate(120 100 70)\"/><ellipse cx=\"100\" cy=\"70\" rx=\"16\" ry=\"30\" fill=\"#74C69D\" transform=\"rotate(180 100 70)\"/><ellipse cx=\"100\" cy=\"70\" rx=\"16\" ry=\"30\" fill=\"#74C69D\" transform=\"rotate(240 100 70)\"/><ellipse cx=\"100\" cy=\"70\" rx=\"16\" ry=\"30\" fill=\"#74C69D\" transform=\"rotate(300 100 70)\"/><circle cx=\"100\" cy=\"70\" r=\"14\" fill=\"#FFD166\"/><path d=\"M100 88 C100 122 96 148 88 172\" fill=\"none\" stroke=\"#2D6A4F\" stroke-width=\"6\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M92 140 C74 132 62 136 56 148 C70 156 84 152 92 140 Z\" fill=\"#2D6A4F\"/></svg>",
+ },
+ {
+ id: 'laptop-code',
+ name: 'Laptop code',
+ pack: 'tech',
+ tags: ['code', 'dev', 'programming'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><rect x=\"48\" y=\"44\" width=\"104\" height=\"68\" rx=\"8\" fill=\"#3A0CA3\"/><rect x=\"56\" y=\"52\" width=\"88\" height=\"52\" rx=\"4\" fill=\"#F8F9FA\"/><rect x=\"64\" y=\"62\" width=\"34\" height=\"6\" rx=\"3\" fill=\"#4CC9F0\"/><rect x=\"64\" y=\"74\" width=\"52\" height=\"6\" rx=\"3\" fill=\"#7209B7\"/><rect x=\"64\" y=\"86\" width=\"26\" height=\"6\" rx=\"3\" fill=\"#5E60CE\"/><path d=\"M142 62 L152 70 L142 78\" fill=\"none\" stroke=\"#4CC9F0\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M130 62 L120 70 L130 78\" fill=\"none\" stroke=\"#4CC9F0\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M32 118 L168 118 L158 138 L42 138 Z\" fill=\"#5E60CE\"/><rect x=\"88\" y=\"124\" width=\"24\" height=\"4\" rx=\"2\" fill=\"#F8F9FA\"/></svg>",
+ },
+ {
+ id: 'smartphone-app',
+ name: 'Smartphone app',
+ pack: 'tech',
+ tags: ['phone', 'mobile', 'app'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><rect x=\"66\" y=\"26\" width=\"68\" height=\"128\" rx=\"14\" fill=\"#3A0CA3\"/><rect x=\"74\" y=\"40\" width=\"52\" height=\"100\" rx=\"6\" fill=\"#F8F9FA\"/><rect x=\"88\" y=\"32\" width=\"24\" height=\"6\" rx=\"3\" fill=\"#5E60CE\"/><circle cx=\"90\" cy=\"58\" r=\"12\" fill=\"#4CC9F0\"/><circle cx=\"122\" cy=\"58\" r=\"12\" fill=\"#7209B7\"/><rect x=\"78\" y=\"80\" width=\"24\" height=\"16\" rx=\"5\" fill=\"#7209B7\"/><rect x=\"110\" y=\"80\" width=\"24\" height=\"16\" rx=\"5\" fill=\"#4CC9F0\"/><rect x=\"78\" y=\"104\" width=\"24\" height=\"16\" rx=\"5\" fill=\"#5E60CE\"/><rect x=\"110\" y=\"104\" width=\"24\" height=\"16\" rx=\"5\" fill=\"#7209B7\"/><circle cx=\"100\" cy=\"132\" r=\"7\" fill=\"#4CC9F0\"/></svg>",
+ },
+ {
+ id: 'cloud-sync',
+ name: 'Cloud sync',
+ pack: 'tech',
+ tags: ['cloud', 'sync', 'backup'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><circle cx=\"70\" cy=\"92\" r=\"26\" fill=\"#4CC9F0\"/><circle cx=\"100\" cy=\"76\" r=\"32\" fill=\"#4CC9F0\"/><circle cx=\"130\" cy=\"94\" r=\"24\" fill=\"#4CC9F0\"/><rect x=\"66\" y=\"92\" width=\"70\" height=\"26\" rx=\"13\" fill=\"#4CC9F0\"/><path d=\"M76 122 C80 142 120 142 124 122\" fill=\"none\" stroke=\"#3A0CA3\" stroke-width=\"8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><polygon points=\"124,112 136,126 118,130\" fill=\"#3A0CA3\"/><polygon points=\"76,132 64,118 82,114\" fill=\"#3A0CA3\"/><circle cx=\"62\" cy=\"46\" r=\"5\" fill=\"#7209B7\"/><circle cx=\"146\" cy=\"52\" r=\"4\" fill=\"#5E60CE\"/></svg>",
+ },
+ {
+ id: 'database-server',
+ name: 'Database server',
+ pack: 'tech',
+ tags: ['database', 'server', 'data'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><ellipse cx=\"100\" cy=\"52\" rx=\"44\" ry=\"16\" fill=\"#4CC9F0\"/><rect x=\"56\" y=\"52\" width=\"88\" height=\"26\" fill=\"#4CC9F0\"/><ellipse cx=\"100\" cy=\"78\" rx=\"44\" ry=\"16\" fill=\"#7209B7\"/><ellipse cx=\"100\" cy=\"90\" rx=\"44\" ry=\"16\" fill=\"#4CC9F0\"/><rect x=\"56\" y=\"90\" width=\"88\" height=\"26\" fill=\"#4CC9F0\"/><ellipse cx=\"100\" cy=\"116\" rx=\"44\" ry=\"16\" fill=\"#7209B7\"/><ellipse cx=\"100\" cy=\"128\" rx=\"44\" ry=\"16\" fill=\"#4CC9F0\"/><rect x=\"56\" y=\"128\" width=\"88\" height=\"26\" fill=\"#4CC9F0\"/><ellipse cx=\"100\" cy=\"154\" rx=\"44\" ry=\"16\" fill=\"#7209B7\"/><circle cx=\"148\" cy=\"65\" r=\"4\" fill=\"#F8F9FA\"/><circle cx=\"148\" cy=\"103\" r=\"4\" fill=\"#F8F9FA\"/><circle cx=\"148\" cy=\"141\" r=\"4\" fill=\"#F8F9FA\"/></svg>",
+ },
+ {
+ id: 'ai-chip',
+ name: 'AI chip',
+ pack: 'tech',
+ tags: ['ai', 'chip', 'processor'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><rect x=\"58\" y=\"58\" width=\"84\" height=\"84\" rx=\"12\" fill=\"#7209B7\"/><rect x=\"72\" y=\"72\" width=\"56\" height=\"56\" rx=\"8\" fill=\"#3A0CA3\"/><circle cx=\"88\" cy=\"88\" r=\"8\" fill=\"#4CC9F0\"/><circle cx=\"112\" cy=\"88\" r=\"8\" fill=\"#F8F9FA\"/><circle cx=\"88\" cy=\"112\" r=\"8\" fill=\"#F8F9FA\"/><circle cx=\"112\" cy=\"112\" r=\"8\" fill=\"#4CC9F0\"/><rect x=\"46\" y=\"76\" width=\"12\" height=\"6\" rx=\"3\" fill=\"#5E60CE\"/><rect x=\"46\" y=\"94\" width=\"12\" height=\"6\" rx=\"3\" fill=\"#5E60CE\"/><rect x=\"46\" y=\"118\" width=\"12\" height=\"6\" rx=\"3\" fill=\"#5E60CE\"/><rect x=\"142\" y=\"76\" width=\"12\" height=\"6\" rx=\"3\" fill=\"#5E60CE\"/><rect x=\"142\" y=\"94\" width=\"12\" height=\"6\" rx=\"3\" fill=\"#5E60CE\"/><rect x=\"142\" y=\"118\" width=\"12\" height=\"6\" rx=\"3\" fill=\"#5E60CE\"/><rect x=\"76\" y=\"46\" width=\"6\" height=\"12\" rx=\"3\" fill=\"#5E60CE\"/><rect x=\"97\" y=\"46\" width=\"6\" height=\"12\" rx=\"3\" fill=\"#5E60CE\"/><rect x=\"118\" y=\"46\" width=\"6\" height=\"12\" rx=\"3\" fill=\"#5E60CE\"/><rect x=\"76\" y=\"142\" width=\"6\" height=\"12\" rx=\"3\" fill=\"#5E60CE\"/><rect x=\"97\" y=\"142\" width=\"6\" height=\"12\" rx=\"3\" fill=\"#5E60CE\"/><rect x=\"118\" y=\"142\" width=\"6\" height=\"12\" rx=\"3\" fill=\"#5E60CE\"/></svg>",
+ },
+ {
+ id: 'wifi-signal',
+ name: 'Wifi signal',
+ pack: 'tech',
+ tags: ['wifi', 'internet', 'connection'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M40 92 C70 62 130 62 160 92\" fill=\"none\" stroke=\"#3A0CA3\" stroke-width=\"12\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M62 116 C82 96 118 96 138 116\" fill=\"none\" stroke=\"#5E60CE\" stroke-width=\"12\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M84 138 C92 130 108 130 116 138\" fill=\"none\" stroke=\"#4CC9F0\" stroke-width=\"12\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><circle cx=\"100\" cy=\"160\" r=\"11\" fill=\"#7209B7\"/><polygon points=\"48,45 49.73,49.62 54.66,49.84 50.8,52.91 52.11,57.66 48,54.94 43.89,57.66 45.2,52.91 41.34,49.84 46.27,49.62\" fill=\"#4CC9F0\"/><polygon points=\"158,45 159.73,49.62 164.66,49.84 160.8,52.91 162.11,57.66 158,54.94 153.89,57.66 155.2,52.91 151.34,49.84 156.27,49.62\" fill=\"#4CC9F0\"/></svg>",
+ },
+ {
+ id: 'robot-helper',
+ name: 'Robot helper',
+ pack: 'tech',
+ tags: ['robot', 'assistant', 'automation'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M100 42 L100 30\" fill=\"none\" stroke=\"#5E60CE\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><circle cx=\"100\" cy=\"26\" r=\"7\" fill=\"#7209B7\"/><rect x=\"64\" y=\"42\" width=\"72\" height=\"56\" rx=\"16\" fill=\"#3A0CA3\"/><circle cx=\"84\" cy=\"68\" r=\"9\" fill=\"#4CC9F0\"/><circle cx=\"116\" cy=\"68\" r=\"9\" fill=\"#4CC9F0\"/><rect x=\"86\" y=\"84\" width=\"28\" height=\"8\" rx=\"4\" fill=\"#7209B7\"/><rect x=\"72\" y=\"106\" width=\"56\" height=\"48\" rx=\"14\" fill=\"#5E60CE\"/><rect x=\"84\" y=\"118\" width=\"32\" height=\"8\" rx=\"4\" fill=\"#4CC9F0\"/><rect x=\"50\" y=\"110\" width=\"16\" height=\"34\" rx=\"8\" fill=\"#7209B7\"/><rect x=\"134\" y=\"110\" width=\"16\" height=\"34\" rx=\"8\" fill=\"#7209B7\"/><rect x=\"78\" y=\"158\" width=\"12\" height=\"16\" rx=\"5\" fill=\"#3A0CA3\"/><rect x=\"110\" y=\"158\" width=\"12\" height=\"16\" rx=\"5\" fill=\"#3A0CA3\"/></svg>",
+ },
+ {
+ id: 'circuit-board',
+ name: 'Circuit board',
+ pack: 'tech',
+ tags: ['circuit', 'hardware', 'electronics'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><rect x=\"36\" y=\"48\" width=\"128\" height=\"104\" rx=\"10\" fill=\"#3A0CA3\"/><rect x=\"80\" y=\"78\" width=\"40\" height=\"40\" rx=\"6\" fill=\"#7209B7\"/><circle cx=\"84\" cy=\"98\" r=\"4\" fill=\"#4CC9F0\"/><circle cx=\"100\" cy=\"98\" r=\"4\" fill=\"#4CC9F0\"/><circle cx=\"116\" cy=\"98\" r=\"4\" fill=\"#4CC9F0\"/><path d=\"M80 88 L60 88 L60 66\" fill=\"none\" stroke=\"#4CC9F0\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M120 108 L140 108 L140 136\" fill=\"none\" stroke=\"#4CC9F0\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M80 108 L60 108 L60 132\" fill=\"none\" stroke=\"#5E60CE\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M120 88 L142 88 L142 64\" fill=\"none\" stroke=\"#5E60CE\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><circle cx=\"60\" cy=\"66\" r=\"5\" fill=\"#4CC9F0\"/><circle cx=\"140\" cy=\"136\" r=\"5\" fill=\"#4CC9F0\"/><circle cx=\"60\" cy=\"132\" r=\"5\" fill=\"#5E60CE\"/><circle cx=\"142\" cy=\"64\" r=\"5\" fill=\"#5E60CE\"/><circle cx=\"52\" cy=\"60\" r=\"5\" fill=\"#F8F9FA\"/><circle cx=\"148\" cy=\"140\" r=\"5\" fill=\"#F8F9FA\"/></svg>",
+ },
+ {
+ id: 'blob-duo',
+ name: 'Blob duo',
+ pack: 'abstract',
+ tags: ['blob', 'organic', 'shapes'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M64 44 C92 28 128 40 134 68 C140 96 118 120 90 120 C60 120 36 100 38 72 C39 58 50 50 64 44 Z\" fill=\"#7630D7\"/><path d=\"M120 92 C146 80 168 94 166 118 C164 142 140 156 118 148 C96 140 92 112 104 100 C108 96 114 94 120 92 Z\" fill=\"#02C0CC\"/><path d=\"M96 108 C112 102 128 112 126 126 C124 140 108 148 96 142 C84 136 82 114 96 108 Z\" fill=\"#FF5C8A\"/></svg>",
+ },
+ {
+ id: 'gradient-spheres',
+ name: 'Gradient spheres',
+ pack: 'abstract',
+ tags: ['gradient', 'sphere', 'balls'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><defs><linearGradient id=\"gs1\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\"><stop offset=\"0\" stop-color=\"#7630D7\"/><stop offset=\"1\" stop-color=\"#8B5CF6\"/></linearGradient></defs><defs><linearGradient id=\"gs2\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\"><stop offset=\"0\" stop-color=\"#02C0CC\"/><stop offset=\"1\" stop-color=\"#8B5CF6\"/></linearGradient></defs><defs><linearGradient id=\"gs3\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\"><stop offset=\"0\" stop-color=\"#FF5C8A\"/><stop offset=\"1\" stop-color=\"#FFE066\"/></linearGradient></defs><circle cx=\"72\" cy=\"76\" r=\"38\" fill=\"url(#gs1)\"/><circle cx=\"134\" cy=\"96\" r=\"30\" fill=\"url(#gs2)\"/><circle cx=\"96\" cy=\"146\" r=\"24\" fill=\"url(#gs3)\"/></svg>",
+ },
+ {
+ id: 'wave-lines',
+ name: 'Wave lines',
+ pack: 'abstract',
+ tags: ['wave', 'lines', 'flow'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M16 56 C56 36 96 76 136 56 C160 44 178 50 188 60\" fill=\"none\" stroke=\"#7630D7\" stroke-width=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M16 92 C56 72 96 112 136 92 C160 80 178 86 188 96\" fill=\"none\" stroke=\"#02C0CC\" stroke-width=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M16 128 C56 108 96 148 136 128 C160 116 178 122 188 132\" fill=\"none\" stroke=\"#FF5C8A\" stroke-width=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M16 164 C56 144 96 184 136 164 C160 152 178 158 188 168\" fill=\"none\" stroke=\"#FFE066\" stroke-width=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>",
+ },
+ {
+ id: 'geometric-stack',
+ name: 'Geometric stack',
+ pack: 'abstract',
+ tags: ['geometric', 'stack', 'layers'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><polygon points=\"100,24 152,60 100,96 48,60\" fill=\"#7630D7\"/><polygon points=\"100,66 152,102 100,138 48,102\" fill=\"#02C0CC\"/><polygon points=\"100,108 152,144 100,180 48,144\" fill=\"#FF5C8A\"/><circle cx=\"100\" cy=\"60\" r=\"8\" fill=\"#FFE066\"/><circle cx=\"100\" cy=\"102\" r=\"8\" fill=\"#FFE066\"/><circle cx=\"100\" cy=\"144\" r=\"8\" fill=\"#FFE066\"/></svg>",
+ },
+ {
+ id: 'spiral-motion',
+ name: 'Spiral motion',
+ pack: 'abstract',
+ tags: ['spiral', 'motion', 'swirl'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M100 100 C100 84 116 76 130 82 C150 90 154 116 142 134 C126 158 92 158 74 138 C52 114 56 78 80 60 C108 40 150 46 166 76\" fill=\"none\" stroke=\"#7630D7\" stroke-width=\"12\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><circle cx=\"100\" cy=\"100\" r=\"10\" fill=\"#02C0CC\"/><polygon points=\"170,57 172.22,62.94 178.56,63.22 173.59,67.17 175.29,73.28 170,69.78 164.71,73.28 166.41,67.17 161.44,63.22 167.78,62.94\" fill=\"#FF5C8A\"/><polygon points=\"46,133 47.73,137.62 52.66,137.84 48.8,140.91 50.11,145.66 46,142.94 41.89,145.66 43.2,140.91 39.34,137.84 44.27,137.62\" fill=\"#FFE066\"/></svg>",
+ },
+ {
+ id: 'confetti-burst',
+ name: 'Confetti burst',
+ pack: 'abstract',
+ tags: ['confetti', 'party', 'celebrate'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><polygon points=\"100,70 107.41,89.81 128.53,90.73 111.98,103.89 117.63,124.27 100,112.6 82.37,124.27 88.02,103.89 71.47,90.73 92.59,89.81\" fill=\"#FF5C8A\"/><circle cx=\"100\" cy=\"100\" r=\"10\" fill=\"#FFE066\"/><rect x=\"40\" y=\"40\" width=\"14\" height=\"6\" rx=\"3\" fill=\"#7630D7\" transform=\"rotate(30 47 43)\"/><rect x=\"150\" y=\"44\" width=\"14\" height=\"6\" rx=\"3\" fill=\"#02C0CC\" transform=\"rotate(-20 157 47)\"/><rect x=\"36\" y=\"140\" width=\"14\" height=\"6\" rx=\"3\" fill=\"#FFE066\" transform=\"rotate(-35 43 143)\"/><rect x=\"156\" y=\"138\" width=\"14\" height=\"6\" rx=\"3\" fill=\"#8B5CF6\" transform=\"rotate(25 163 141)\"/><circle cx=\"52\" cy=\"88\" r=\"7\" fill=\"#02C0CC\"/><circle cx=\"148\" cy=\"92\" r=\"7\" fill=\"#FFE066\"/><circle cx=\"88\" cy=\"34\" r=\"6\" fill=\"#FF5C8A\"/><circle cx=\"112\" cy=\"166\" r=\"6\" fill=\"#7630D7\"/><rect x=\"92\" y=\"24\" width=\"16\" height=\"5\" rx=\"2\" fill=\"#FF5C8A\" transform=\"rotate(12 100 26.5)\"/><rect x=\"96\" y=\"172\" width=\"16\" height=\"5\" rx=\"2\" fill=\"#7630D7\" transform=\"rotate(-10 104 174.5)\"/></svg>",
+ },
+ {
+ id: 'fluid-ribbon',
+ name: 'Fluid ribbon',
+ pack: 'abstract',
+ tags: ['ribbon', 'fluid', 'dance'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M20 100 C40 40 90 40 110 90 C130 140 160 150 184 110 L184 140 C150 180 104 164 84 118 C68 82 44 82 20 130 Z\" fill=\"#7630D7\"/><path d=\"M20 60 C44 20 96 18 120 58 C142 96 160 100 184 78 L184 106 C152 132 122 122 102 86 C84 52 46 52 20 92 Z\" fill=\"#02C0CC\"/><path d=\"M20 158 C40 132 66 132 82 150 C98 168 126 172 148 156 C164 144 176 146 184 152 L184 168 C154 184 116 180 96 164 C80 150 60 150 20 176 Z\" fill=\"#FF5C8A\"/><polygon points=\"166,26 168.47,32.6 175.51,32.91 169.99,37.3 171.88,44.09 166,40.2 160.12,44.09 162.01,37.3 156.49,32.91 163.53,32.6\" fill=\"#FFE066\"/></svg>",
+ },
+ {
+ id: 'crystal-shards',
+ name: 'Crystal shards',
+ pack: 'abstract',
+ tags: ['crystal', 'shards', 'gems'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><polygon points=\"72,32 92,76 60,88 48,56\" fill=\"#02C0CC\"/><polygon points=\"92,76 128,62 136,100 60,88\" fill=\"#8B5CF6\"/><polygon points=\"60,88 136,100 104,168 52,128\" fill=\"#7630D7\"/><polygon points=\"104,168 136,100 156,132 128,172\" fill=\"#FF5C8A\"/><polygon points=\"60,88 52,128 30,112 36,80\" fill=\"#FFE066\"/></svg>",
+ },
+ {
+ id: 'birthday-cake',
+ name: 'Birthday cake',
+ pack: 'festive',
+ tags: ['birthday', 'cake', 'party'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><rect x=\"48\" y=\"108\" width=\"104\" height=\"30\" rx=\"6\" fill=\"#003049\"/><rect x=\"38\" y=\"134\" width=\"124\" height=\"34\" rx=\"8\" fill=\"#D62828\"/><path d=\"M48 108 C58 122 68 122 78 110 C88 124 100 124 110 110 C120 124 132 124 142 110 C148 118 150 118 152 112 L152 108 Z\" fill=\"#FCBF49\"/><rect x=\"70\" y=\"92\" width=\"8\" height=\"20\" rx=\"3\" fill=\"#EAE2B7\"/><rect x=\"96\" y=\"84\" width=\"8\" height=\"28\" rx=\"3\" fill=\"#EAE2B7\"/><rect x=\"122\" y=\"92\" width=\"8\" height=\"20\" rx=\"3\" fill=\"#EAE2B7\"/><ellipse cx=\"74\" cy=\"84\" rx=\"5\" ry=\"8\" fill=\"#F77F00\"/><ellipse cx=\"100\" cy=\"76\" rx=\"5\" ry=\"8\" fill=\"#F77F00\"/><ellipse cx=\"126\" cy=\"84\" rx=\"5\" ry=\"8\" fill=\"#F77F00\"/><circle cx=\"64\" cy=\"148\" r=\"5\" fill=\"#FCBF49\"/><circle cx=\"90\" cy=\"150\" r=\"5\" fill=\"#FCBF49\"/><circle cx=\"116\" cy=\"148\" r=\"5\" fill=\"#FCBF49\"/><circle cx=\"140\" cy=\"150\" r=\"5\" fill=\"#FCBF49\"/></svg>",
+ },
+ {
+ id: 'party-popper',
+ name: 'Party popper',
+ pack: 'festive',
+ tags: ['party', 'popper', 'celebration'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><polygon points=\"30,190 14,108 86,140\" fill=\"#D62828\"/><polygon points=\"30,190 14,108 50,124\" fill=\"#003049\"/><path d=\"M60 128 L86 76\" fill=\"none\" stroke=\"#F77F00\" stroke-width=\"6\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M84 138 L128 108\" fill=\"none\" stroke=\"#FCBF49\" stroke-width=\"6\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M70 116 L64 68\" fill=\"none\" stroke=\"#FCBF49\" stroke-width=\"6\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M100 128 L144 128\" fill=\"none\" stroke=\"#F77F00\" stroke-width=\"6\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><polygon points=\"120,44 123.95,54.56 135.22,55.06 126.39,62.08 129.4,72.94 120,66.72 110.6,72.94 113.61,62.08 104.78,55.06 116.05,54.56\" fill=\"#F77F00\"/><polygon points=\"160,80 162.96,87.92 171.41,88.29 164.79,93.56 167.05,101.71 160,97.04 152.95,101.71 155.21,93.56 148.59,88.29 157.04,87.92\" fill=\"#FCBF49\"/><polygon points=\"92,32 94.47,38.6 101.51,38.91 95.99,43.3 97.88,50.09 92,46.2 86.12,50.09 88.01,43.3 82.49,38.91 89.53,38.6\" fill=\"#D62828\"/><circle cx=\"150\" cy=\"52\" r=\"6\" fill=\"#FCBF49\"/><circle cx=\"170\" cy=\"130\" r=\"5\" fill=\"#D62828\"/><circle cx=\"136\" cy=\"80\" r=\"5\" fill=\"#003049\"/></svg>",
+ },
+ {
+ id: 'gift-box',
+ name: 'Gift box',
+ pack: 'festive',
+ tags: ['gift', 'present', 'box'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><rect x=\"44\" y=\"84\" width=\"112\" height=\"84\" rx=\"8\" fill=\"#003049\"/><rect x=\"36\" y=\"64\" width=\"128\" height=\"26\" rx=\"8\" fill=\"#D62828\"/><rect x=\"90\" y=\"64\" width=\"20\" height=\"104\" fill=\"#FCBF49\"/><path d=\"M100 64 C80 40 52 44 56 58 C60 72 84 68 100 64 Z\" fill=\"#FCBF49\"/><path d=\"M100 64 C120 40 148 44 144 58 C140 72 116 68 100 64 Z\" fill=\"#FCBF49\"/><circle cx=\"100\" cy=\"62\" r=\"7\" fill=\"#F77F00\"/></svg>",
+ },
+ {
+ id: 'balloons',
+ name: 'Balloons',
+ pack: 'festive',
+ tags: ['balloons', 'party', 'float'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><ellipse cx=\"64\" cy=\"74\" rx=\"30\" ry=\"36\" fill=\"#D62828\"/><polygon points=\"56,106 72,106 64,116\" fill=\"#003049\"/><ellipse cx=\"132\" cy=\"92\" rx=\"26\" ry=\"32\" fill=\"#F77F00\"/><polygon points=\"125,120 139,120 132,129\" fill=\"#003049\"/><ellipse cx=\"96\" cy=\"50\" rx=\"22\" ry=\"27\" fill=\"#FCBF49\"/><polygon points=\"90,74 102,74 96,82\" fill=\"#003049\"/><path d=\"M64 116 C56 142 68 158 58 184\" fill=\"none\" stroke=\"#003049\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M132 129 C126 152 140 168 130 190\" fill=\"none\" stroke=\"#003049\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M96 82 C90 106 102 122 92 146\" fill=\"none\" stroke=\"#003049\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><ellipse cx=\"56\" cy=\"62\" rx=\"7\" ry=\"10\" fill=\"#EAE2B7\" transform=\"rotate(-20 56 62)\"/><ellipse cx=\"124\" cy=\"80\" rx=\"6\" ry=\"9\" fill=\"#EAE2B7\" transform=\"rotate(-20 124 80)\"/><ellipse cx=\"90\" cy=\"42\" rx=\"5\" ry=\"8\" fill=\"#EAE2B7\" transform=\"rotate(-20 90 42)\"/></svg>",
+ },
+ {
+ id: 'fireworks',
+ name: 'Fireworks',
+ pack: 'festive',
+ tags: ['fireworks', 'new-year', 'celebrate'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><polygon points=\"64,66 66.47,72.6 73.51,72.91 67.99,77.3 69.88,84.09 64,80.2 58.12,84.09 60.01,77.3 54.49,72.91 61.53,72.6\" fill=\"#FCBF49\"/><path d=\"M64 62 L64 34\" fill=\"none\" stroke=\"#F77F00\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M64 90 L64 118\" fill=\"none\" stroke=\"#F77F00\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M50 76 L24 66\" fill=\"none\" stroke=\"#F77F00\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M78 76 L104 66\" fill=\"none\" stroke=\"#F77F00\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M54 66 L38 46\" fill=\"none\" stroke=\"#FCBF49\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M74 66 L90 46\" fill=\"none\" stroke=\"#FCBF49\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><polygon points=\"140,108 142.47,114.6 149.51,114.91 143.99,119.3 145.88,126.09 140,122.2 134.12,126.09 136.01,119.3 130.49,114.91 137.53,114.6\" fill=\"#FCBF49\"/><path d=\"M140 104 L140 76\" fill=\"none\" stroke=\"#D62828\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M140 132 L140 160\" fill=\"none\" stroke=\"#D62828\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M126 118 L100 108\" fill=\"none\" stroke=\"#D62828\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><path d=\"M154 118 L180 108\" fill=\"none\" stroke=\"#D62828\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><polygon points=\"104,151 105.73,155.62 110.66,155.84 106.8,158.91 108.11,163.66 104,160.94 99.89,163.66 101.2,158.91 97.34,155.84 102.27,155.62\" fill=\"#F77F00\"/><polygon points=\"42,144 43.48,147.96 47.71,148.15 44.4,150.78 45.53,154.85 42,152.52 38.47,154.85 39.6,150.78 36.29,148.15 40.52,147.96\" fill=\"#FCBF49\"/><polygon points=\"172,54 173.48,57.96 177.71,58.15 174.4,60.78 175.53,64.85 172,62.52 168.47,64.85 169.6,60.78 166.29,58.15 170.52,57.96\" fill=\"#D62828\"/><polygon points=\"30,39 31.23,42.3 34.76,42.45 32,44.65 32.94,48.05 30,46.1 27.06,48.05 28,44.65 25.24,42.45 28.77,42.3\" fill=\"#F77F00\"/></svg>",
+ },
+ {
+ id: 'holly-wreath',
+ name: 'Holly wreath',
+ pack: 'festive',
+ tags: ['christmas', 'holly', 'wreath'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><circle cx=\"100\" cy=\"100\" r=\"62\" fill=\"none\" stroke=\"#1E5B34\" stroke-width=\"22\"/><path d=\"M100 40 C88 50 88 60 100 66 C112 60 112 50 100 40 Z\" fill=\"#2D7A45\"/><path d=\"M100 134 C88 144 88 154 100 160 C112 154 112 144 100 134 Z\" fill=\"#2D7A45\"/><path d=\"M44 96 C34 106 36 118 48 120 C56 110 54 100 44 96 Z\" fill=\"#2D7A45\"/><path d=\"M156 96 C166 106 164 118 152 120 C144 110 146 100 156 96 Z\" fill=\"#2D7A45\"/><polygon points=\"76,75 79.21,83.58 88.36,83.98 81.19,89.69 83.64,98.52 76,93.46 68.36,98.52 70.81,89.69 63.64,83.98 72.79,83.58\" fill=\"#D62828\"/><polygon points=\"126,85 128.72,92.26 136.46,92.6 130.39,97.43 132.47,104.9 126,100.62 119.53,104.9 121.61,97.43 115.54,92.6 123.28,92.26\" fill=\"#D62828\"/><polygon points=\"96,118 98.47,124.6 105.51,124.91 99.99,129.3 101.88,136.09 96,132.2 90.12,136.09 92.01,129.3 86.49,124.91 93.53,124.6\" fill=\"#D62828\"/><polygon points=\"120,52 121.97,57.28 127.61,57.53 123.2,61.04 124.7,66.47 120,63.36 115.3,66.47 116.8,61.04 112.39,57.53 118.03,57.28\" fill=\"#D62828\"/><polygon points=\"66,114 67.97,119.28 73.61,119.53 69.2,123.04 70.7,128.47 66,125.36 61.3,128.47 62.8,123.04 58.39,119.53 64.03,119.28\" fill=\"#D62828\"/><polygon points=\"100,82 104.44,93.88 117.12,94.44 107.19,102.34 110.58,114.56 100,107.56 89.42,114.56 92.81,102.34 82.88,94.44 95.56,93.88\" fill=\"#FCBF49\"/></svg>",
+ },
+ {
+ id: 'lantern-glow',
+ name: 'Lantern glow',
+ pack: 'festive',
+ tags: ['lantern', 'light', 'festival'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><defs><radialGradient id=\"lg1\" cx=\"0.5\" cy=\"0.5\" r=\"0.5\"><stop offset=\"0\" stop-color=\"#FCBF49\"/><stop offset=\"1\" stop-color=\"#F77F00\"/></radialGradient></defs><circle cx=\"100\" cy=\"104\" r=\"62\" fill=\"url(#lg1)\"/><rect x=\"84\" y=\"44\" width=\"32\" height=\"12\" rx=\"6\" fill=\"#003049\"/><rect x=\"72\" y=\"56\" width=\"56\" height=\"96\" rx=\"16\" fill=\"#FCBF49\"/><rect x=\"78\" y=\"68\" width=\"44\" height=\"72\" rx=\"10\" fill=\"#EAE2B7\"/><rect x=\"80\" y=\"60\" width=\"40\" height=\"8\" rx=\"4\" fill=\"#F77F00\"/><rect x=\"80\" y=\"140\" width=\"40\" height=\"8\" rx=\"4\" fill=\"#F77F00\"/><rect x=\"94\" y=\"152\" width=\"12\" height=\"10\" rx=\"4\" fill=\"#003049\"/><path d=\"M100 162 L100 184\" fill=\"none\" stroke=\"#003049\" stroke-width=\"4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><circle cx=\"100\" cy=\"188\" r=\"5\" fill=\"#D62828\"/></svg>",
+ },
+ {
+ id: 'champagne-toast',
+ name: 'Champagne toast',
+ pack: 'festive',
+ tags: ['champagne', 'toast', 'celebration'],
+ svg: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 200\"><path d=\"M58 30 L86 30 L82 66 C80 76 64 76 62 66 Z\" fill=\"#EAE2B7\"/><path d=\"M72 76 L70 122\" fill=\"none\" stroke=\"#EAE2B7\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><ellipse cx=\"70\" cy=\"128\" rx=\"12\" ry=\"6\" fill=\"#003049\"/><path d=\"M114 30 L142 30 L138 66 C136 76 120 76 118 66 Z\" fill=\"#EAE2B7\"/><path d=\"M128 76 L126 122\" fill=\"none\" stroke=\"#EAE2B7\" stroke-width=\"5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/><ellipse cx=\"126\" cy=\"128\" rx=\"12\" ry=\"6\" fill=\"#003049\"/><circle cx=\"70\" cy=\"46\" r=\"4\" fill=\"#FCBF49\"/><circle cx=\"76\" cy=\"58\" r=\"3\" fill=\"#FCBF49\"/><circle cx=\"66\" cy=\"60\" r=\"3\" fill=\"#F77F00\"/><circle cx=\"126\" cy=\"46\" r=\"4\" fill=\"#FCBF49\"/><circle cx=\"132\" cy=\"58\" r=\"3\" fill=\"#FCBF49\"/><circle cx=\"122\" cy=\"60\" r=\"3\" fill=\"#F77F00\"/><polygon points=\"100,26 103.46,35.24 113.31,35.67 105.59,41.82 108.23,51.33 100,45.88 91.77,51.33 94.41,41.82 86.69,35.67 96.54,35.24\" fill=\"#FCBF49\"/><polygon points=\"46,44 47.97,49.28 53.61,49.53 49.2,53.04 50.7,58.47 46,55.36 41.3,58.47 42.8,53.04 38.39,49.53 44.03,49.28\" fill=\"#F77F00\"/><polygon points=\"156,44 157.97,49.28 163.61,49.53 159.2,53.04 160.7,58.47 156,55.36 151.3,58.47 152.8,53.04 148.39,49.53 154.03,49.28\" fill=\"#F77F00\"/><polygon points=\"100,81 101.73,85.62 106.66,85.84 102.8,88.91 104.11,93.66 100,90.94 95.89,93.66 97.2,88.91 93.34,85.84 98.27,85.62\" fill=\"#F77F00\"/></svg>",
+ },
+]
diff --git a/src/lib/editor-utils.ts b/src/lib/editor-utils.ts
index 35894dc..3ab5839 100644
--- a/src/lib/editor-utils.ts
+++ b/src/lib/editor-utils.ts
@@ -6,83 +6,13 @@ import type { AnyElement, GradientFill, PageData } from './types'
// ── Fonts (loaded in layout via Google Fonts) ────────────────
-export interface FontOption {
- family: string
- label: string
- weights: string
- category: 'sans' | 'serif' | 'display' | 'handwriting' | 'mono'
-}
+// ── Fonts ────────────────────────────────────────────────────
+// v0.17 (Wave 2): the catalog moved to lib/fonts/catalog.ts (63 → 369
+// families, on-demand loading via lib/fonts/loader.ts). Re-exported
+// here so every historic import keeps working.
-export const FONTS: FontOption[] = [
- // ── Sans (18) ──
- { family: 'Inter', label: 'Inter', weights: '400,500,600,700,800', category: 'sans' },
- { family: 'Poppins', label: 'Poppins', weights: '400,600,700,800', category: 'sans' },
- { family: 'Montserrat', label: 'Montserrat', weights: '600,700,800,900', category: 'sans' },
- { family: 'Space Grotesk', label: 'Space Grotesk', weights: '500,700', category: 'sans' },
- { family: 'Oswald', label: 'Oswald', weights: '500,700', category: 'sans' },
- { family: 'Raleway', label: 'Raleway', weights: '400,700', category: 'sans' },
- { family: 'Lato', label: 'Lato', weights: '400,700', category: 'sans' },
- { family: 'Open Sans', label: 'Open Sans', weights: '400,700', category: 'sans' },
- { family: 'Nunito', label: 'Nunito', weights: '400,700', category: 'sans' },
- { family: 'Quicksand', label: 'Quicksand', weights: '400,700', category: 'sans' },
- { family: 'Rubik', label: 'Rubik', weights: '400,700', category: 'sans' },
- { family: 'Work Sans', label: 'Work Sans', weights: '400,700', category: 'sans' },
- { family: 'DM Sans', label: 'DM Sans', weights: '400,700', category: 'sans' },
- { family: 'Josefin Sans', label: 'Josefin Sans', weights: '400,700', category: 'sans' },
- { family: 'Barlow', label: 'Barlow', weights: '400,700', category: 'sans' },
- { family: 'Manrope', label: 'Manrope', weights: '400,700', category: 'sans' },
- { family: 'Outfit', label: 'Outfit', weights: '400,700', category: 'sans' },
- { family: 'Figtree', label: 'Figtree', weights: '400,700', category: 'sans' },
- // ── Serif (14) ──
- { family: 'Playfair Display', label: 'Playfair Display', weights: '400,700,800', category: 'serif' },
- { family: 'Abril Fatface', label: 'Abril Fatface', weights: '400', category: 'serif' },
- { family: 'Roboto Slab', label: 'Roboto Slab', weights: '400,700', category: 'serif' },
- { family: 'Lora', label: 'Lora', weights: '400,700', category: 'serif' },
- { family: 'Merriweather', label: 'Merriweather', weights: '400,700', category: 'serif' },
- { family: 'Libre Baskerville', label: 'Libre Baskerville', weights: '400,700', category: 'serif' },
- { family: 'EB Garamond', label: 'EB Garamond', weights: '400,700', category: 'serif' },
- { family: 'Cormorant Garamond', label: 'Cormorant Garamond', weights: '400,700', category: 'serif' },
- { family: 'DM Serif Display', label: 'DM Serif Display', weights: '400', category: 'serif' },
- { family: 'Prata', label: 'Prata', weights: '400', category: 'serif' },
- { family: 'Bitter', label: 'Bitter', weights: '400,700', category: 'serif' },
- { family: 'Fraunces', label: 'Fraunces', weights: '400,700', category: 'serif' },
- { family: 'Bodoni Moda', label: 'Bodoni Moda', weights: '400,700', category: 'serif' },
- { family: 'Cinzel', label: 'Cinzel', weights: '400,700', category: 'serif' },
- // ── Display (14) ──
- { family: 'Bebas Neue', label: 'Bebas Neue', weights: '400', category: 'display' },
- { family: 'Anton', label: 'Anton', weights: '400', category: 'display' },
- { family: 'Archivo Black', label: 'Archivo Black', weights: '400', category: 'display' },
- { family: 'Lobster', label: 'Lobster', weights: '400', category: 'display' },
- { family: 'Alfa Slab One', label: 'Alfa Slab One', weights: '400', category: 'display' },
- { family: 'Bungee', label: 'Bungee', weights: '400', category: 'display' },
- { family: 'Righteous', label: 'Righteous', weights: '400', category: 'display' },
- { family: 'Ultra', label: 'Ultra', weights: '400', category: 'display' },
- { family: 'Passion One', label: 'Passion One', weights: '400,700', category: 'display' },
- { family: 'Monoton', label: 'Monoton', weights: '400', category: 'display' },
- { family: 'Rye', label: 'Rye', weights: '400', category: 'display' },
- { family: 'Titan One', label: 'Titan One', weights: '400', category: 'display' },
- { family: 'Luckiest Guy', label: 'Luckiest Guy', weights: '400', category: 'display' },
- { family: 'Permanent Marker', label: 'Permanent Marker', weights: '400', category: 'display' },
- // ── Handwriting (14) ──
- { family: 'Pacifico', label: 'Pacifico', weights: '400', category: 'handwriting' },
- { family: 'Caveat', label: 'Caveat', weights: '400,700', category: 'handwriting' },
- { family: 'Dancing Script', label: 'Dancing Script', weights: '400,700', category: 'handwriting' },
- { family: 'Great Vibes', label: 'Great Vibes', weights: '400', category: 'handwriting' },
- { family: 'Sacramento', label: 'Sacramento', weights: '400', category: 'handwriting' },
- { family: 'Satisfy', label: 'Satisfy', weights: '400', category: 'handwriting' },
- { family: 'Kaushan Script', label: 'Kaushan Script', weights: '400', category: 'handwriting' },
- { family: 'Alex Brush', label: 'Alex Brush', weights: '400', category: 'handwriting' },
- { family: 'Allura', label: 'Allura', weights: '400', category: 'handwriting' },
- { family: 'Parisienne', label: 'Parisienne', weights: '400', category: 'handwriting' },
- { family: 'Amatic SC', label: 'Amatic SC', weights: '400,700', category: 'handwriting' },
- { family: 'Shadows Into Light', label: 'Shadows Into Light', weights: '400', category: 'handwriting' },
- { family: 'Indie Flower', label: 'Indie Flower', weights: '400', category: 'handwriting' },
- { family: 'Kalam', label: 'Kalam', weights: '400,700', category: 'handwriting' },
- // ── Mono (3) ──
- { family: 'DM Mono', label: 'DM Mono', weights: '400,500', category: 'mono' },
- { family: 'JetBrains Mono', label: 'JetBrains Mono', weights: '400,700', category: 'mono' },
- { family: 'Space Mono', label: 'Space Mono', weights: '400,700', category: 'mono' },
-]
+export type { FontOption } from './fonts/catalog'
+export { FONTS, PRELOADED_FONTS } from './fonts/catalog'
// Curated "font pairings" shown in the Text panel (Canva-style)
export const FONT_STYLES: {
@@ -419,6 +349,14 @@ export function elementGradientProps(
}
}
+export interface SizePreset {
+ name: string
+ width: number
+ height: number
+ hint: string
+}
+
+/** the eight historic quick-start cards (unchanged) */
export const PRESET_SIZES = [
{ name: 'Instagram post', width: 1080, height: 1080, hint: '1080 × 1080 px' },
{ name: 'Instagram story', width: 1080, height: 1920, hint: '1080 × 1920 px' },
@@ -430,6 +368,102 @@ export const PRESET_SIZES = [
{ name: 'Business card', width: 1050, height: 600, hint: '1.75 × 1 in' },
] as const
+// ── v0.17 (Wave 2): the full preset catalog — 60+ sizes across five
+// groups. The dashboard quick cards stay PRESET_SIZES; the grouped
+// browser behind "More sizes" renders PRESET_GROUPS.
+export const PRESET_GROUPS: { id: string; label: string; presets: SizePreset[] }[] = [
+ {
+ id: 'social',
+ label: 'Social media',
+ presets: [
+ { name: 'Instagram post', width: 1080, height: 1080, hint: '1080 × 1080 px' },
+ { name: 'Instagram portrait', width: 1080, height: 1350, hint: '1080 × 1350 px' },
+ { name: 'Instagram story', width: 1080, height: 1920, hint: '1080 × 1920 px' },
+ { name: 'Facebook post', width: 1200, height: 630, hint: '1200 × 630 px' },
+ { name: 'Facebook cover', width: 1640, height: 856, hint: '1640 × 856 px' },
+ { name: 'Facebook ad', width: 1200, height: 628, hint: '1200 × 628 px' },
+ { name: 'X post', width: 1600, height: 900, hint: '1600 × 900 px' },
+ { name: 'X header', width: 1500, height: 500, hint: '1500 × 500 px' },
+ { name: 'LinkedIn post', width: 1200, height: 1200, hint: '1200 × 1200 px' },
+ { name: 'LinkedIn banner', width: 1584, height: 396, hint: '1584 × 396 px' },
+ { name: 'Pinterest pin', width: 1000, height: 1500, hint: '1000 × 1500 px' },
+ { name: 'Pinterest long pin', width: 1000, height: 2100, hint: '1000 × 2100 px' },
+ { name: 'TikTok video', width: 1080, height: 1920, hint: '1080 × 1920 px' },
+ { name: 'Threads post', width: 1080, height: 1350, hint: '1080 × 1350 px' },
+ { name: 'WhatsApp status', width: 1080, height: 1920, hint: '1080 × 1920 px' },
+ { name: 'Twitch banner', width: 1920, height: 480, hint: '1920 × 480 px' },
+ { name: 'Discord banner', width: 960, height: 540, hint: '960 × 540 px' },
+ ],
+ },
+ {
+ id: 'video',
+ label: 'Video & thumbnails',
+ presets: [
+ { name: 'YouTube thumbnail', width: 1280, height: 720, hint: '1280 × 720 px' },
+ { name: 'YouTube banner', width: 2560, height: 1440, hint: '2560 × 1440 px' },
+ { name: 'YouTube end screen', width: 1920, height: 1080, hint: '1920 × 1080 px' },
+ { name: 'Video 16:9', width: 1920, height: 1080, hint: '1920 × 1080 px' },
+ { name: 'Video 9:16', width: 1080, height: 1920, hint: '1080 × 1920 px' },
+ { name: 'Video 1:1', width: 1080, height: 1080, hint: '1080 × 1080 px' },
+ { name: 'Video 4:5', width: 1080, height: 1350, hint: '1080 × 1350 px' },
+ { name: 'Podcast cover', width: 1400, height: 1400, hint: '1400 × 1400 px' },
+ ],
+ },
+ {
+ id: 'docs',
+ label: 'Presentations & docs',
+ presets: [
+ { name: 'Presentation 16:9', width: 1920, height: 1080, hint: '1920 × 1080 px' },
+ { name: 'Presentation 4:3', width: 1440, height: 1080, hint: '1440 × 1080 px' },
+ { name: 'A4 document', width: 1240, height: 1754, hint: 'A4 portrait' },
+ { name: 'A4 landscape', width: 1754, height: 1240, hint: 'A4 landscape' },
+ { name: 'US Letter doc', width: 1275, height: 1650, hint: '8.5 × 11 in' },
+ { name: 'Resume', width: 1240, height: 1754, hint: 'A4 one-pager' },
+ { name: 'Invoice', width: 1240, height: 1754, hint: 'A4 one-pager' },
+ { name: 'Certificate', width: 1754, height: 1240, hint: 'A4 landscape' },
+ { name: 'Ebook page', width: 1600, height: 2400, hint: '1600 × 2400 px' },
+ ],
+ },
+ {
+ id: 'print',
+ label: 'Print',
+ presets: [
+ { name: 'Poster A4', width: 1240, height: 1754, hint: 'A4 poster' },
+ { name: 'Poster A3', width: 1754, height: 2480, hint: 'A3 poster' },
+ { name: 'Poster 18 × 24 in', width: 1800, height: 2400, hint: '18 × 24 in' },
+ { name: 'Flyer', width: 1240, height: 1754, hint: 'A4 flyer' },
+ { name: 'Business card', width: 1050, height: 600, hint: '1.75 × 1 in' },
+ { name: 'Business card EU', width: 1004, height: 650, hint: '85 × 55 mm' },
+ { name: 'Postcard', width: 1800, height: 1200, hint: '6 × 4 in' },
+ { name: 'Menu', width: 1240, height: 1754, hint: 'A4 menu' },
+ { name: 'Ticket', width: 700, height: 350, hint: '700 × 350 px' },
+ { name: 'Invitation', width: 1050, height: 750, hint: '5 × 7 in at 150 DPI' },
+ { name: 'Book cover', width: 1600, height: 2400, hint: '1600 × 2400 px' },
+ { name: 'Album cover', width: 1400, height: 1400, hint: '1400 × 1400 px' },
+ { name: 'Sticker sheet', width: 1200, height: 1800, hint: 'A4 sheet' },
+ ],
+ },
+ {
+ id: 'web',
+ label: 'Web & marketing',
+ presets: [
+ { name: 'Web banner', width: 1920, height: 600, hint: '1920 × 600 px' },
+ { name: 'Hero header', width: 2560, height: 1440, hint: '2560 × 1440 px' },
+ { name: 'Leaderboard ad', width: 728, height: 90, hint: '728 × 90 px' },
+ { name: 'Square ad', width: 300, height: 250, hint: '300 × 250 px' },
+ { name: 'Skyscraper ad', width: 160, height: 600, hint: '160 × 600 px' },
+ { name: 'Email header', width: 1200, height: 400, hint: '1200 × 400 px' },
+ { name: 'Newsletter', width: 1200, height: 1600, hint: '1200 × 1600 px' },
+ { name: 'Infographic', width: 800, height: 2000, hint: '800 × 2000 px' },
+ { name: 'Favicon', width: 512, height: 512, hint: '512 × 512 px' },
+ { name: 'App icon', width: 1024, height: 1024, hint: '1024 × 1024 px' },
+ { name: 'Logo', width: 500, height: 500, hint: '500 × 500 px' },
+ { name: 'Desktop wallpaper', width: 1920, height: 1080, hint: '1920 × 1080 px' },
+ { name: 'Phone wallpaper', width: 1080, height: 1920, hint: '1080 × 1920 px' },
+ ],
+ },
+]
+
// ── Interaction mode (v0.11.6 — QA finding F3) ──────────────
/**
diff --git a/src/lib/fonts/catalog.test.ts b/src/lib/fonts/catalog.test.ts
new file mode 100644
index 0000000..70103f3
--- /dev/null
+++ b/src/lib/fonts/catalog.test.ts
@@ -0,0 +1,57 @@
+// Unit tests for the font catalog (v0.17 Wave 2) — structure invariants
+// the font dropdown, brand kit and on-demand loader depend on.
+
+import { describe, it, expect } from 'vitest'
+import { FONTS, PRELOADED_FONTS } from './catalog'
+
+describe('font catalog (v0.17 Wave 2)', () => {
+ it('ships 250+ families', () => {
+ expect(FONTS.length).toBeGreaterThanOrEqual(250)
+ })
+
+ it('has unique families (one category per family)', () => {
+ const families = FONTS.map((f) => f.family)
+ expect(new Set(families).size).toBe(families.length)
+ })
+
+ it('every entry is well-formed', () => {
+ for (const f of FONTS) {
+ expect(f.family).toMatch(/^[A-Za-z0-9]+( [A-Za-z0-9]+)*$/)
+ expect(f.label.length).toBeGreaterThan(0)
+ expect(f.category).toMatch(/^(sans|serif|display|handwriting|mono)$/)
+ // weights: comma-separated 3-digit numbers 100–900
+ expect(f.weights).toMatch(/^(?:[1-9]00)(?:,[1-9]00)*$/)
+ }
+ })
+
+ it('covers every category substantially', () => {
+ const by: Record<string, number> = {}
+ for (const f of FONTS) by[f.category] = (by[f.category] ?? 0) + 1
+ expect(by.sans).toBeGreaterThanOrEqual(60)
+ expect(by.serif).toBeGreaterThanOrEqual(40)
+ expect(by.display).toBeGreaterThanOrEqual(80)
+ expect(by.handwriting).toBeGreaterThanOrEqual(40)
+ expect(by.mono).toBeGreaterThanOrEqual(15)
+ })
+
+ it('tracks the preloaded set accurately (every name is a catalog family)', () => {
+ expect(PRELOADED_FONTS.size).toBeGreaterThanOrEqual(60)
+ const families = new Set(FONTS.map((f) => f.family))
+ for (const fam of PRELOADED_FONTS) {
+ expect(families.has(fam), `${fam} in preload set but missing from catalog`).toBe(true)
+ }
+ for (const must of [
+ 'Inter', 'Poppins', 'Montserrat', 'Playfair Display', 'Abril Fatface',
+ 'Bebas Neue', 'Anton', 'Pacifico', 'Caveat', 'DM Mono', 'JetBrains Mono',
+ ]) {
+ expect(PRELOADED_FONTS.has(must), `${must} missing from preload set`).toBe(true)
+ }
+ })
+
+ it('defaults used by docs & templates resolve to real catalog entries', () => {
+ const families = new Set(FONTS.map((f) => f.family))
+ for (const must of ['Inter', 'Poppins', 'Montserrat', 'Space Grotesk', 'Oswald', 'Playfair Display', 'Roboto Slab', 'Caveat', 'Abril Fatface', 'Anton']) {
+ expect(families.has(must), `${must} missing`).toBe(true)
+ }
+ })
+})
diff --git a/src/lib/fonts/catalog.ts b/src/lib/fonts/catalog.ts
new file mode 100644
index 0000000..afa90f4
--- /dev/null
+++ b/src/lib/fonts/catalog.ts
@@ -0,0 +1,476 @@
+// ─────────────────────────────────────────────────────────────
+// Canvix font catalog (v0.17 Wave 2) — 63 → 260+ families.
+//
+// The first 63 families remain pinned to the preload <link> in
+// app/layout.tsx (fast first paint for existing documents); every
+// additional family loads ON DEMAND via the loader in
+// ./loader.ts (ensureFontLoaded) — the font dropdown, brand kit,
+// and document-open scanner all call it, so a catalog of hundreds
+// costs nothing until a family is actually previewed or used.
+//
+// All families are Google Fonts; `weights` mirrors the css2 axis
+// string the loader requests.
+// ─────────────────────────────────────────────────────────────
+
+export interface FontOption {
+ family: string
+ label: string
+ weights: string
+ category: 'sans' | 'serif' | 'display' | 'handwriting' | 'mono'
+}
+
+export const FONTS: FontOption[] = [
+ // ── Sans — the original 18 (preloaded) ──
+ { family: 'Inter', label: 'Inter', weights: '400,500,600,700,800', category: 'sans' },
+ { family: 'Poppins', label: 'Poppins', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Montserrat', label: 'Montserrat', weights: '600,700,800,900', category: 'sans' },
+ { family: 'Space Grotesk', label: 'Space Grotesk', weights: '500,700', category: 'sans' },
+ { family: 'Oswald', label: 'Oswald', weights: '500,700', category: 'sans' },
+ { family: 'Raleway', label: 'Raleway', weights: '400,700', category: 'sans' },
+ { family: 'Lato', label: 'Lato', weights: '400,700', category: 'sans' },
+ { family: 'Open Sans', label: 'Open Sans', weights: '400,700', category: 'sans' },
+ { family: 'Nunito', label: 'Nunito', weights: '400,700', category: 'sans' },
+ { family: 'Quicksand', label: 'Quicksand', weights: '400,700', category: 'sans' },
+ { family: 'Rubik', label: 'Rubik', weights: '400,700', category: 'sans' },
+ { family: 'Work Sans', label: 'Work Sans', weights: '400,700', category: 'sans' },
+ { family: 'DM Sans', label: 'DM Sans', weights: '400,700', category: 'sans' },
+ { family: 'Josefin Sans', label: 'Josefin Sans', weights: '400,700', category: 'sans' },
+ { family: 'Barlow', label: 'Barlow', weights: '400,700', category: 'sans' },
+ { family: 'Manrope', label: 'Manrope', weights: '400,700', category: 'sans' },
+ { family: 'Outfit', label: 'Outfit', weights: '400,700', category: 'sans' },
+ { family: 'Figtree', label: 'Figtree', weights: '400,700', category: 'sans' },
+ // ── Sans — Wave 2 additions (on-demand) ──
+ { family: 'Roboto', label: 'Roboto', weights: '400,500,700,900', category: 'sans' },
+ { family: 'Noto Sans', label: 'Noto Sans', weights: '400,700', category: 'sans' },
+ { family: 'Mulish', label: 'Mulish', weights: '400,700,800', category: 'sans' },
+ { family: 'Karla', label: 'Karla', weights: '400,700,800', category: 'sans' },
+ { family: 'Heebo', label: 'Heebo', weights: '400,700,800', category: 'sans' },
+ { family: 'Urbanist', label: 'Urbanist', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Plus Jakarta Sans', label: 'Plus Jakarta Sans', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Sora', label: 'Sora', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Epilogue', label: 'Epilogue', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Lexend', label: 'Lexend', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Assistant', label: 'Assistant', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Cabin', label: 'Cabin', weights: '400,600,700', category: 'sans' },
+ { family: 'Catamaran', label: 'Catamaran', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Chivo', label: 'Chivo', weights: '400,700', category: 'sans' },
+ { family: 'Dosis', label: 'Dosis', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Exo 2', label: 'Exo 2', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Fira Sans', label: 'Fira Sans', weights: '400,600,700', category: 'sans' },
+ { family: 'IBM Plex Sans', label: 'IBM Plex Sans', weights: '400,600,700', category: 'sans' },
+ { family: 'Jost', label: 'Jost', weights: '400,600,700', category: 'sans' },
+ { family: 'Kanit', label: 'Kanit', weights: '400,600,700', category: 'sans' },
+ { family: 'Mada', label: 'Mada', weights: '400,600,700', category: 'sans' },
+ { family: 'Mitr', label: 'Mitr', weights: '400,600,700', category: 'sans' },
+ { family: 'Overpass', label: 'Overpass', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Public Sans', label: 'Public Sans', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Questrial', label: 'Questrial', weights: '400', category: 'sans' },
+ { family: 'Rajdhani', label: 'Rajdhani', weights: '400,600,700', category: 'sans' },
+ { family: 'Red Hat Display', label: 'Red Hat Display', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Saira', label: 'Saira', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Sarabun', label: 'Sarabun', weights: '400,600,700', category: 'sans' },
+ { family: 'Titillium Web', label: 'Titillium Web', weights: '400,600,700', category: 'sans' },
+ { family: 'Ubuntu', label: 'Ubuntu', weights: '400,500,700', category: 'sans' },
+ { family: 'Varela Round', label: 'Varela Round', weights: '400', category: 'sans' },
+ { family: 'Yantramanav', label: 'Yantramanav', weights: '400,500,700', category: 'sans' },
+ { family: 'Asap', label: 'Asap', weights: '400,600,700', category: 'sans' },
+ { family: 'Baloo 2', label: 'Baloo 2', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Encode Sans', label: 'Encode Sans', weights: '400,600,700', category: 'sans' },
+ { family: 'Hanken Grotesk', label: 'Hanken Grotesk', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Onest', label: 'Onest', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Instrument Sans', label: 'Instrument Sans', weights: '400,600,700', category: 'sans' },
+ { family: 'Bricolage Grotesque', label: 'Bricolage Grotesque', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Schibsted Grotesk', label: 'Schibsted Grotesk', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Anek Latin', label: 'Anek Latin', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Familjen Grotesk', label: 'Familjen Grotesk', weights: '400,600,700', category: 'sans' },
+ { family: 'Gabarito', label: 'Gabarito', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Geologica', label: 'Geologica', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Wix Madefor Text', label: 'Wix Madefor Text', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Nunito Sans', label: 'Nunito Sans', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Source Sans 3', label: 'Source Sans 3', weights: '400,600,700', category: 'sans' },
+ { family: 'Archivo', label: 'Archivo', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Oxygen', label: 'Oxygen', weights: '400,700', category: 'sans' },
+ { family: 'Pontano Sans', label: 'Pontano Sans', weights: '400,700', category: 'sans' },
+ { family: 'Spline Sans', label: 'Spline Sans', weights: '400,600,700', category: 'sans' },
+ { family: 'Geist', label: 'Geist', weights: '400,500,600,700,800', category: 'sans' },
+ { family: 'Anybody', label: 'Anybody', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Sen', label: 'Sen', weights: '400,700,800', category: 'sans' },
+ { family: 'Tomorrow', label: 'Tomorrow', weights: '400,600,700', category: 'sans' },
+ { family: 'Chilanka', label: 'Chilanka', weights: '400', category: 'sans' },
+ { family: 'Gantari', label: 'Gantari', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Kumbh Sans', label: 'Kumbh Sans', weights: '400,600,700', category: 'sans' },
+ { family: 'Radio Canada', label: 'Radio Canada', weights: '400,600,700', category: 'sans' },
+ { family: 'Syne', label: 'Syne', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Commissioner', label: 'Commissioner', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Wix Madefor Display', label: 'Wix Madefor Display', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Martel Sans', label: 'Martel Sans', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Tourney', label: 'Tourney', weights: '400,700', category: 'sans' },
+ { family: 'Rethink Sans', label: 'Rethink Sans', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Blinker', label: 'Blinker', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Krona One', label: 'Krona One', weights: '400', category: 'sans' },
+ { family: 'Jomhuria', label: 'Jomhuria', weights: '400', category: 'sans' },
+ { family: 'Russo One', label: 'Russo One', weights: '400', category: 'sans' },
+ { family: 'Michroma', label: 'Michroma', weights: '400', category: 'sans' },
+ { family: 'Orbitron', label: 'Orbitron', weights: '400,600,700,800', category: 'sans' },
+ { family: 'Audiowide', label: 'Audiowide', weights: '400', category: 'sans' },
+ { family: 'Saira Condensed', label: 'Saira Condensed', weights: '400,600,700', category: 'sans' },
+ { family: 'Archivo Narrow', label: 'Archivo Narrow', weights: '400,600,700', category: 'sans' },
+
+ // ── Serif — the original 14 (preloaded) ──
+ { family: 'Playfair Display', label: 'Playfair Display', weights: '400,700,800', category: 'serif' },
+ { family: 'Abril Fatface', label: 'Abril Fatface', weights: '400', category: 'serif' },
+ { family: 'Roboto Slab', label: 'Roboto Slab', weights: '400,700', category: 'serif' },
+ { family: 'Lora', label: 'Lora', weights: '400,700', category: 'serif' },
+ { family: 'Merriweather', label: 'Merriweather', weights: '400,700', category: 'serif' },
+ { family: 'Libre Baskerville', label: 'Libre Baskerville', weights: '400,700', category: 'serif' },
+ { family: 'EB Garamond', label: 'EB Garamond', weights: '400,700', category: 'serif' },
+ { family: 'Cormorant Garamond', label: 'Cormorant Garamond', weights: '400,700', category: 'serif' },
+ { family: 'DM Serif Display', label: 'DM Serif Display', weights: '400', category: 'serif' },
+ { family: 'Prata', label: 'Prata', weights: '400', category: 'serif' },
+ { family: 'Bitter', label: 'Bitter', weights: '400,700', category: 'serif' },
+ { family: 'Fraunces', label: 'Fraunces', weights: '400,700', category: 'serif' },
+ { family: 'Bodoni Moda', label: 'Bodoni Moda', weights: '400,700', category: 'serif' },
+ { family: 'Cinzel', label: 'Cinzel', weights: '400,700', category: 'serif' },
+ // ── Serif — Wave 2 additions (on-demand) ──
+ { family: 'Noto Serif', label: 'Noto Serif', weights: '400,700', category: 'serif' },
+ { family: 'Roboto Serif', label: 'Roboto Serif', weights: '400,700', category: 'serif' },
+ { family: 'Source Serif 4', label: 'Source Serif 4', weights: '400,600,700', category: 'serif' },
+ { family: 'PT Serif', label: 'PT Serif', weights: '400,700', category: 'serif' },
+ { family: 'Cardo', label: 'Cardo', weights: '400,700', category: 'serif' },
+ { family: 'Crimson Text', label: 'Crimson Text', weights: '400,600,700', category: 'serif' },
+ { family: 'Crimson Pro', label: 'Crimson Pro', weights: '400,600,700', category: 'serif' },
+ { family: 'Newsreader', label: 'Newsreader', weights: '400,600,700', category: 'serif' },
+ { family: 'Literata', label: 'Literata', weights: '400,600,700', category: 'serif' },
+ { family: 'Petrona', label: 'Petrona', weights: '400,600,700', category: 'serif' },
+ { family: 'Frank Ruhl Libre', label: 'Frank Ruhl Libre', weights: '400,600,700', category: 'serif' },
+ { family: 'Arvo', label: 'Arvo', weights: '400,700', category: 'serif' },
+ { family: 'Domine', label: 'Domine', weights: '400,700', category: 'serif' },
+ { family: 'Rokkitt', label: 'Rokkitt', weights: '400,700', category: 'serif' },
+ { family: 'Vollkorn', label: 'Vollkorn', weights: '400,600,700', category: 'serif' },
+ { family: 'Zilla Slab', label: 'Zilla Slab', weights: '400,600,700', category: 'serif' },
+ { family: 'Aleo', label: 'Aleo', weights: '400,700', category: 'serif' },
+ { family: 'Spectral', label: 'Spectral', weights: '400,600,700', category: 'serif' },
+ { family: 'Faustina', label: 'Faustina', weights: '400,600,700', category: 'serif' },
+ { family: 'Gelasio', label: 'Gelasio', weights: '400,700', category: 'serif' },
+ { family: 'Kreon', label: 'Kreon', weights: '400,600,700', category: 'serif' },
+ { family: 'Markazi Text', label: 'Markazi Text', weights: '400,600,700', category: 'serif' },
+ { family: 'Vidaloka', label: 'Vidaloka', weights: '400', category: 'serif' },
+ { family: 'Yeseva One', label: 'Yeseva One', weights: '400', category: 'serif' },
+ { family: 'Marcellus', label: 'Marcellus', weights: '400', category: 'serif' },
+ { family: 'Marcellus SC', label: 'Marcellus SC', weights: '400', category: 'serif' },
+ { family: 'Italiana', label: 'Italiana', weights: '400', category: 'serif' },
+ { family: 'Trirong', label: 'Trirong', weights: '400,600,700', category: 'serif' },
+ { family: 'Bellefair', label: 'Bellefair', weights: '400', category: 'serif' },
+ { family: 'David Libre', label: 'David Libre', weights: '400,700', category: 'serif' },
+ { family: 'Podkova', label: 'Podkova', weights: '400,600,700,800', category: 'serif' },
+ { family: 'Rozha One', label: 'Rozha One', weights: '400', category: 'serif' },
+ { family: 'Shrikhand', label: 'Shrikhand', weights: '400', category: 'serif' },
+ { family: 'Amiri', label: 'Amiri', weights: '400,700', category: 'serif' },
+ { family: 'Lilita One', label: 'Lilita One', weights: '400', category: 'serif' },
+ { family: 'Convergence', label: 'Convergence', weights: '400', category: 'serif' },
+ { family: 'Bentham', label: 'Bentham', weights: '400', category: 'serif' },
+ { family: 'Besley', label: 'Besley', weights: '400,600,700,800', category: 'serif' },
+ { family: 'Eczar', label: 'Eczar', weights: '400,600,700,800', category: 'serif' },
+ { family: 'Gilda Display', label: 'Gilda Display', weights: '400', category: 'serif' },
+ { family: 'Judson', label: 'Judson', weights: '400,700', category: 'serif' },
+ { family: 'Karma', label: 'Karma', weights: '400,700', category: 'serif' },
+ { family: 'Trocchi', label: 'Trocchi', weights: '400', category: 'serif' },
+ { family: 'Vollkorn SC', label: 'Vollkorn SC', weights: '400,700', category: 'serif' },
+ { family: 'Abhaya Libre', label: 'Abhaya Libre', weights: '400,600,700,800', category: 'serif' },
+ { family: 'Alike', label: 'Alike', weights: '400', category: 'serif' },
+ { family: 'Alice', label: 'Alice', weights: '400', category: 'serif' },
+ { family: 'Halant', label: 'Halant', weights: '400,600,700', category: 'serif' },
+ { family: 'Taviraj', label: 'Taviraj', weights: '400,600,700', category: 'serif' },
+
+ // ── Display — the original 14 (preloaded) ──
+ { family: 'Bebas Neue', label: 'Bebas Neue', weights: '400', category: 'display' },
+ { family: 'Anton', label: 'Anton', weights: '400', category: 'display' },
+ { family: 'Archivo Black', label: 'Archivo Black', weights: '400', category: 'display' },
+ { family: 'Lobster', label: 'Lobster', weights: '400', category: 'display' },
+ { family: 'Alfa Slab One', label: 'Alfa Slab One', weights: '400', category: 'display' },
+ { family: 'Bungee', label: 'Bungee', weights: '400', category: 'display' },
+ { family: 'Righteous', label: 'Righteous', weights: '400', category: 'display' },
+ { family: 'Ultra', label: 'Ultra', weights: '400', category: 'display' },
+ { family: 'Passion One', label: 'Passion One', weights: '400,700', category: 'display' },
+ { family: 'Monoton', label: 'Monoton', weights: '400', category: 'display' },
+ { family: 'Rye', label: 'Rye', weights: '400', category: 'display' },
+ { family: 'Titan One', label: 'Titan One', weights: '400', category: 'display' },
+ { family: 'Luckiest Guy', label: 'Luckiest Guy', weights: '400', category: 'display' },
+ { family: 'Permanent Marker', label: 'Permanent Marker', weights: '400', category: 'display' },
+ // ── Display — Wave 2 additions (on-demand) ──
+ { family: 'Black Ops One', label: 'Black Ops One', weights: '400', category: 'display' },
+ { family: 'Bowlby One SC', label: 'Bowlby One SC', weights: '400', category: 'display' },
+ { family: 'Bungee Shade', label: 'Bungee Shade', weights: '400', category: 'display' },
+ { family: 'Bungee Inline', label: 'Bungee Inline', weights: '400', category: 'display' },
+ { family: 'Cabin Sketch', label: 'Cabin Sketch', weights: '400,700', category: 'display' },
+ { family: 'Chango', label: 'Chango', weights: '400', category: 'display' },
+ { family: 'Chewy', label: 'Chewy', weights: '400', category: 'display' },
+ { family: 'Comfortaa', label: 'Comfortaa', weights: '400,600,700', category: 'display' },
+ { family: 'Concert One', label: 'Concert One', weights: '400', category: 'display' },
+ { family: 'Dongle', label: 'Dongle', weights: '400,700', category: 'display' },
+ { family: 'Eater', label: 'Eater', weights: '400', category: 'display' },
+ { family: 'Fugaz One', label: 'Fugaz One', weights: '400', category: 'display' },
+ { family: 'Iceberg', label: 'Iceberg', weights: '400', category: 'display' },
+ { family: 'Moo Lah Lah', label: 'Moo Lah Lah', weights: '400', category: 'display' },
+ { family: 'Nosifer', label: 'Nosifer', weights: '400', category: 'display' },
+ { family: 'Oxanium', label: 'Oxanium', weights: '400,600,700', category: 'display' },
+ { family: 'Patua One', label: 'Patua One', weights: '400', category: 'display' },
+ { family: 'Piedra', label: 'Piedra', weights: '400', category: 'display' },
+ { family: 'Press Start 2P', label: 'Press Start 2P', weights: '400', category: 'display' },
+ { family: 'Pridi', label: 'Pridi', weights: '400,600,700', category: 'display' },
+ { family: 'Racing Sans One', label: 'Racing Sans One', weights: '400', category: 'display' },
+ { family: 'Rammetto One', label: 'Rammetto One', weights: '400', category: 'display' },
+ { family: 'Rubik Mono One', label: 'Rubik Mono One', weights: '400', category: 'display' },
+ { family: 'Rubik Wet Paint', label: 'Rubik Wet Paint', weights: '400', category: 'display' },
+ { family: 'Rubik Beastly', label: 'Rubik Beastly', weights: '400', category: 'display' },
+ { family: 'Sail', label: 'Sail', weights: '400', category: 'display' },
+ { family: 'Sarina', label: 'Sarina', weights: '400', category: 'display' },
+ { family: 'Spicy Rice', label: 'Spicy Rice', weights: '400', category: 'display' },
+ { family: 'Staatliches', label: 'Staatliches', weights: '400', category: 'display' },
+ { family: 'Supermercado One', label: 'Supermercado One', weights: '400', category: 'display' },
+ { family: 'Train One', label: 'Train One', weights: '400', category: 'display' },
+ { family: 'UnifrakturMaguntia', label: 'UnifrakturMaguntia', weights: '400', category: 'display' },
+ { family: 'Wellfleet', label: 'Wellfleet', weights: '400', category: 'display' },
+ { family: 'Wallpoet', label: 'Wallpoet', weights: '400', category: 'display' },
+ { family: 'Vampiro One', label: 'Vampiro One', weights: '400', category: 'display' },
+ { family: 'Rubik Glitch', label: 'Rubik Glitch', weights: '400', category: 'display' },
+ { family: 'Rubik Puddles', label: 'Rubik Puddles', weights: '400', category: 'display' },
+ { family: 'Metamorphous', label: 'Metamorphous', weights: '400', category: 'display' },
+ { family: 'MedievalSharp', label: 'MedievalSharp', weights: '400', category: 'display' },
+ { family: 'Grenze Gotisch', label: 'Grenze Gotisch', weights: '400,700', category: 'display' },
+ { family: 'Grechen Fuemen', label: 'Grechen Fuemen', weights: '400', category: 'display' },
+ { family: 'Fascinate', label: 'Fascinate', weights: '400', category: 'display' },
+ { family: 'Emblema One', label: 'Emblema One', weights: '400', category: 'display' },
+ { family: 'Diplomata SC', label: 'Diplomata SC', weights: '400', category: 'display' },
+ { family: 'Della Respira', label: 'Della Respira', weights: '400', category: 'display' },
+ { family: 'Creepster', label: 'Creepster', weights: '400', category: 'display' },
+ { family: 'Butcherman', label: 'Butcherman', weights: '400', category: 'display' },
+ { family: 'Bilbo Swash Caps', label: 'Bilbo Swash Caps', weights: '400', category: 'display' },
+ { family: 'Bigshot One', label: 'Bigshot One', weights: '400', category: 'display' },
+ { family: 'Bevan', label: 'Bevan', weights: '400', category: 'display' },
+ { family: 'Baumans', label: 'Baumans', weights: '400', category: 'display' },
+ { family: 'Baskervville', label: 'Baskervville', weights: '400', category: 'display' },
+ { family: 'Aladin', label: 'Aladin', weights: '400', category: 'display' },
+ { family: 'Aubrey', label: 'Aubrey', weights: '400', category: 'display' },
+ { family: 'Barriecito', label: 'Barriecito', weights: '400', category: 'display' },
+ { family: 'Bungee Spice', label: 'Bungee Spice', weights: '400', category: 'display' },
+ { family: 'Codystar', label: 'Codystar', weights: '300,400', category: 'display' },
+ { family: 'Dawning of a New Day', label: 'Dawning of a New Day', weights: '400', category: 'display' },
+ { family: 'Delius Unicase', label: 'Delius Unicase', weights: '400,700', category: 'display' },
+ { family: 'Dr Sugiyama', label: 'Dr Sugiyama', weights: '400', category: 'display' },
+ { family: 'Esteban', label: 'Esteban', weights: '400', category: 'display' },
+ { family: 'Faster One', label: 'Faster One', weights: '400', category: 'display' },
+ { family: 'Federant', label: 'Federant', weights: '400', category: 'display' },
+ { family: 'Fontdiner Swanky', label: 'Fontdiner Swanky', weights: '400', category: 'display' },
+ { family: 'Frijole', label: 'Frijole', weights: '400', category: 'display' },
+ { family: 'Fruktur', label: 'Fruktur', weights: '400', category: 'display' },
+ { family: 'Girassol', label: 'Girassol', weights: '400', category: 'display' },
+ { family: 'Grenze', label: 'Grenze', weights: '400,700', category: 'display' },
+ { family: 'Hachi Maru Pop', label: 'Hachi Maru Pop', weights: '400', category: 'display' },
+ { family: 'Hanalei', label: 'Hanalei', weights: '400', category: 'display' },
+ { family: 'Hanalei Fill', label: 'Hanalei Fill', weights: '400', category: 'display' },
+ { family: 'Imprima', label: 'Imprima', weights: '400', category: 'display' },
+ { family: 'Inder', label: 'Inder', weights: '400', category: 'display' },
+ { family: 'Inknut Antiqua', label: 'Inknut Antiqua', weights: '400,700', category: 'display' },
+ { family: 'Irish Grover', label: 'Irish Grover', weights: '400', category: 'display' },
+ { family: 'Jim Nightshade', label: 'Jim Nightshade', weights: '400', category: 'display' },
+ { family: 'Jolly Lodger', label: 'Jolly Lodger', weights: '400', category: 'display' },
+ { family: 'Kranky', label: 'Kranky', weights: '400', category: 'display' },
+ { family: 'Leckerli One', label: 'Leckerli One', weights: '400', category: 'display' },
+ { family: 'Lemon', label: 'Lemon', weights: '400', category: 'display' },
+ { family: 'Liu Jian Mao Cao', label: 'Liu Jian Mao Cao', weights: '400', category: 'display' },
+ { family: 'Long Cang', label: 'Long Cang', weights: '400', category: 'display' },
+ { family: 'Loved by the King', label: 'Loved by the King', weights: '400', category: 'display' },
+ { family: 'Lovers Quarrel', label: 'Lovers Quarrel', weights: '400', category: 'display' },
+ { family: 'Ma Shan Zheng', label: 'Ma Shan Zheng', weights: '400', category: 'display' },
+ { family: 'Major Mono Display', label: 'Major Mono Display', weights: '400', category: 'display' },
+ { family: 'Metal Mania', label: 'Metal Mania', weights: '400', category: 'display' },
+ { family: 'Miltonian', label: 'Miltonian', weights: '400', category: 'display' },
+ { family: 'Miltonian Tattoo', label: 'Miltonian Tattoo', weights: '400', category: 'display' },
+ { family: 'Mina', label: 'Mina', weights: '400,700', category: 'display' },
+ { family: 'Modak', label: 'Modak', weights: '400', category: 'display' },
+ { family: 'Monofett', label: 'Monofett', weights: '400', category: 'display' },
+ { family: 'Moul', label: 'Moul', weights: '400', category: 'display' },
+ { family: 'Moulpali', label: 'Moulpali', weights: '400', category: 'display' },
+ { family: 'Mouse Memoirs', label: 'Mouse Memoirs', weights: '400', category: 'display' },
+ { family: 'Mr Bedfort', label: 'Mr Bedfort', weights: '400', category: 'display' },
+ { family: 'Mr Dafoe', label: 'Mr Dafoe', weights: '400', category: 'display' },
+ { family: 'Mrs Saint Delafield', label: 'Mrs Saint Delafield', weights: '400', category: 'display' },
+ { family: 'Mrs Sheppards', label: 'Mrs Sheppards', weights: '400', category: 'display' },
+ { family: 'New Rocker', label: 'New Rocker', weights: '400', category: 'display' },
+ { family: 'Nothing You Could Do', label: 'Nothing You Could Do', weights: '400', category: 'display' },
+ { family: 'Oooh Baby', label: 'Oooh Baby', weights: '400', category: 'display' },
+ { family: 'Petit Formal Script', label: 'Petit Formal Script', weights: '400', category: 'display' },
+ { family: 'Pinyon Script', label: 'Pinyon Script', weights: '400', category: 'display' },
+ { family: 'Playfair Display SC', label: 'Playfair Display SC', weights: '400,700', category: 'display' },
+ { family: 'Redressed', label: 'Redressed', weights: '400', category: 'display' },
+ { family: 'Reenie Beanie', label: 'Reenie Beanie', weights: '400', category: 'display' },
+ { family: 'Rochester', label: 'Rochester', weights: '400', category: 'display' },
+ { family: 'Rock Salt', label: 'Rock Salt', weights: '400', category: 'display' },
+ { family: 'Ruthie', label: 'Ruthie', weights: '400', category: 'display' },
+ { family: 'Saintyplex', label: 'Saintyplex', weights: '400', category: 'display' },
+ { family: 'Sancreek', label: 'Sancreek', weights: '400', category: 'display' },
+ { family: 'Sedgwick Ave', label: 'Sedgwick Ave', weights: '400', category: 'display' },
+ { family: 'Sedgwick Ave Display', label: 'Sedgwick Ave Display', weights: '400', category: 'display' },
+ { family: 'Sniglet', label: 'Sniglet', weights: '400,800', category: 'display' },
+ { family: 'Sofia', label: 'Sofia', weights: '400', category: 'display' },
+ { family: 'Special Elite', label: 'Special Elite', weights: '400', category: 'display' },
+ { family: 'Sriracha', label: 'Sriracha', weights: '400', category: 'display' },
+ { family: 'Sue Ellen Francisco', label: 'Sue Ellen Francisco', weights: '400', category: 'display' },
+ { family: 'Sunflower', label: 'Sunflower', weights: '300,500,700', category: 'display' },
+ { family: 'Tangerine', label: 'Tangerine', weights: '400,700', category: 'display' },
+ { family: 'Tenor Sans', label: 'Tenor Sans', weights: '400', category: 'display' },
+ { family: 'The Girl Next Door', label: 'The Girl Next Door', weights: '400', category: 'display' },
+ { family: 'Trade Winds', label: 'Trade Winds', weights: '400', category: 'display' },
+ { family: 'Tulip One', label: 'Tulip One', weights: '400', category: 'display' },
+ { family: 'UnifrakturCook', label: 'UnifrakturCook', weights: '700', category: 'display' },
+ { family: 'Vast Shadow', label: 'Vast Shadow', weights: '400', category: 'display' },
+ { family: 'Vibur', label: 'Vibur', weights: '400', category: 'display' },
+ { family: 'Waiting for the Sunrise', label: 'Waiting for the Sunrise', weights: '400', category: 'display' },
+ { family: 'Warnes', label: 'Warnes', weights: '400', category: 'display' },
+ { family: 'Wire One', label: 'Wire One', weights: '400', category: 'display' },
+ { family: 'Yesteryear', label: 'Yesteryear', weights: '400', category: 'display' },
+ { family: 'Zeyada', label: 'Zeyada', weights: '400', category: 'display' },
+ { family: 'Zilla Slab Highlight', label: 'Zilla Slab Highlight', weights: '400,700', category: 'display' },
+
+ // ── Handwriting — the original 14 (preloaded) ──
+ { family: 'Pacifico', label: 'Pacifico', weights: '400', category: 'handwriting' },
+ { family: 'Caveat', label: 'Caveat', weights: '400,700', category: 'handwriting' },
+ { family: 'Dancing Script', label: 'Dancing Script', weights: '400,700', category: 'handwriting' },
+ { family: 'Great Vibes', label: 'Great Vibes', weights: '400', category: 'handwriting' },
+ { family: 'Sacramento', label: 'Sacramento', weights: '400', category: 'handwriting' },
+ { family: 'Satisfy', label: 'Satisfy', weights: '400', category: 'handwriting' },
+ { family: 'Kaushan Script', label: 'Kaushan Script', weights: '400', category: 'handwriting' },
+ { family: 'Alex Brush', label: 'Alex Brush', weights: '400', category: 'handwriting' },
+ { family: 'Allura', label: 'Allura', weights: '400', category: 'handwriting' },
+ { family: 'Parisienne', label: 'Parisienne', weights: '400', category: 'handwriting' },
+ { family: 'Amatic SC', label: 'Amatic SC', weights: '400,700', category: 'handwriting' },
+ { family: 'Shadows Into Light', label: 'Shadows Into Light', weights: '400', category: 'handwriting' },
+ { family: 'Indie Flower', label: 'Indie Flower', weights: '400', category: 'handwriting' },
+ { family: 'Kalam', label: 'Kalam', weights: '400,700', category: 'handwriting' },
+ // ── Handwriting — Wave 2 additions (on-demand) ──
+ { family: 'Architects Daughter', label: 'Architects Daughter', weights: '400', category: 'handwriting' },
+ { family: 'Bad Script', label: 'Bad Script', weights: '400', category: 'handwriting' },
+ { family: 'Homemade Apple', label: 'Homemade Apple', weights: '400', category: 'handwriting' },
+ { family: 'La Belle Aurore', label: 'La Belle Aurore', weights: '400', category: 'handwriting' },
+ { family: 'League Script', label: 'League Script', weights: '400', category: 'handwriting' },
+ { family: 'Marck Script', label: 'Marck Script', weights: '400', category: 'handwriting' },
+ { family: 'Mea Culpa', label: 'Mea Culpa', weights: '400', category: 'handwriting' },
+ { family: 'Merienda', label: 'Merienda', weights: '400,700', category: 'handwriting' },
+ { family: 'MonteCarlo', label: 'MonteCarlo', weights: '400', category: 'handwriting' },
+ { family: 'Mali', label: 'Mali', weights: '400,600,700', category: 'handwriting' },
+ { family: 'Nanum Pen Script', label: 'Nanum Pen Script', weights: '400', category: 'handwriting' },
+ { family: 'Nanum Brush Script', label: 'Nanum Brush Script', weights: '400', category: 'handwriting' },
+ { family: 'Patrick Hand', label: 'Patrick Hand', weights: '400', category: 'handwriting' },
+ { family: 'Patrick Hand SC', label: 'Patrick Hand SC', weights: '400', category: 'handwriting' },
+ { family: 'Playwrite', label: 'Playwrite', weights: '400', category: 'handwriting' },
+ { family: 'Schoolbell', label: 'Schoolbell', weights: '400', category: 'handwriting' },
+ { family: 'Shadows Into Light Two', label: 'Shadows Into Light Two', weights: '400', category: 'handwriting' },
+ { family: 'Signika Negative', label: 'Signika Negative', weights: '400,600,700', category: 'handwriting' },
+ { family: 'Solitreo', label: 'Solitreo', weights: '400', category: 'handwriting' },
+ { family: 'Sweet Pea', label: 'Sweet Pea', weights: '400', category: 'handwriting' },
+ { family: 'Tabby GG', label: 'Tabby GG', weights: '400', category: 'handwriting' },
+ { family: 'Thasadith', label: 'Thasadith', weights: '400,700', category: 'handwriting' },
+ { family: 'Tillana', label: 'Tillana', weights: '400,600,700', category: 'handwriting' },
+ { family: 'Water Brush', label: 'Water Brush', weights: '400', category: 'handwriting' },
+ { family: 'Whisper', label: 'Whisper', weights: '400', category: 'handwriting' },
+ { family: 'WindSong', label: 'WindSong', weights: '400,500', category: 'handwriting' },
+ { family: 'Yellowtail', label: 'Yellowtail', weights: '400', category: 'handwriting' },
+ { family: 'Yomogi', label: 'Yomogi', weights: '400', category: 'handwriting' },
+ { family: 'Zen Loop', label: 'Zen Loop', weights: '400,700', category: 'handwriting' },
+ { family: 'Playwrite AU SA', label: 'Playwrite AU SA', weights: '400', category: 'handwriting' },
+ { family: 'Playwrite US Modern', label: 'Playwrite US Modern', weights: '400', category: 'handwriting' },
+ { family: 'Delius', label: 'Delius', weights: '400', category: 'handwriting' },
+ { family: 'Delius Swash Caps', label: 'Delius Swash Caps', weights: '400', category: 'handwriting' },
+
+ // ── Mono — the original 3 (preloaded) + additions ──
+ { family: 'DM Mono', label: 'DM Mono', weights: '400,500', category: 'mono' },
+ { family: 'JetBrains Mono', label: 'JetBrains Mono', weights: '400,700', category: 'mono' },
+ { family: 'Space Mono', label: 'Space Mono', weights: '400,700', category: 'mono' },
+ { family: 'Anonymous Pro', label: 'Anonymous Pro', weights: '400,700', category: 'mono' },
+ { family: 'Cutive Mono', label: 'Cutive Mono', weights: '400', category: 'mono' },
+ { family: 'Fira Code', label: 'Fira Code', weights: '400,600,700', category: 'mono' },
+ { family: 'IBM Plex Mono', label: 'IBM Plex Mono', weights: '400,600,700', category: 'mono' },
+ { family: 'Inconsolata', label: 'Inconsolata', weights: '400,700', category: 'mono' },
+ { family: 'Source Code Pro', label: 'Source Code Pro', weights: '400,600,700', category: 'mono' },
+ { family: 'Ubuntu Mono', label: 'Ubuntu Mono', weights: '400,700', category: 'mono' },
+ { family: 'VT323', label: 'VT323', weights: '400', category: 'mono' },
+ { family: 'Spline Sans Mono', label: 'Spline Sans Mono', weights: '400,600,700', category: 'mono' },
+ { family: 'Martian Mono', label: 'Martian Mono', weights: '400,700', category: 'mono' },
+ { family: 'Red Hat Mono', label: 'Red Hat Mono', weights: '400,600,700', category: 'mono' },
+ { family: 'Kode Mono', label: 'Kode Mono', weights: '400,700', category: 'mono' },
+ { family: 'Chivo Mono', label: 'Chivo Mono', weights: '400,700', category: 'mono' },
+ { family: 'Noto Sans Mono', label: 'Noto Sans Mono', weights: '400,700', category: 'mono' },
+ { family: 'Geist Mono', label: 'Geist Mono', weights: '400,500,600,700', category: 'mono' },
+];
+
+/**
+ * The historic 63 families pinned to the preload <link> in app/layout.tsx.
+ * The on-demand loader skips these (they arrive with first paint); every
+ * other catalog family loads lazily via ensureFontLoaded().
+ */
+export const PRELOADED_FONTS = new Set<string>([
+ 'Inter',
+ 'Poppins',
+ 'Montserrat',
+ 'Space Grotesk',
+ 'Oswald',
+ 'Raleway',
+ 'Lato',
+ 'Open Sans',
+ 'Nunito',
+ 'Quicksand',
+ 'Rubik',
+ 'Work Sans',
+ 'DM Sans',
+ 'Josefin Sans',
+ 'Barlow',
+ 'Manrope',
+ 'Outfit',
+ 'Figtree',
+ 'Playfair Display',
+ 'Abril Fatface',
+ 'Roboto Slab',
+ 'Lora',
+ 'Merriweather',
+ 'Libre Baskerville',
+ 'EB Garamond',
+ 'Cormorant Garamond',
+ 'DM Serif Display',
+ 'Prata',
+ 'Bitter',
+ 'Fraunces',
+ 'Bodoni Moda',
+ 'Cinzel',
+ 'Bebas Neue',
+ 'Anton',
+ 'Archivo Black',
+ 'Lobster',
+ 'Alfa Slab One',
+ 'Bungee',
+ 'Righteous',
+ 'Ultra',
+ 'Passion One',
+ 'Monoton',
+ 'Rye',
+ 'Titan One',
+ 'Luckiest Guy',
+ 'Permanent Marker',
+ 'Pacifico',
+ 'Caveat',
+ 'Dancing Script',
+ 'Great Vibes',
+ 'Sacramento',
+ 'Satisfy',
+ 'Kaushan Script',
+ 'Alex Brush',
+ 'Allura',
+ 'Parisienne',
+ 'Amatic SC',
+ 'Shadows Into Light',
+ 'Indie Flower',
+ 'Kalam',
+ 'DM Mono',
+ 'JetBrains Mono',
+ 'Space Mono',
+])
diff --git a/src/lib/fonts/loader.ts b/src/lib/fonts/loader.ts
new file mode 100644
index 0000000..33b918f
--- /dev/null
+++ b/src/lib/fonts/loader.ts
@@ -0,0 +1,117 @@
+// ─────────────────────────────────────────────────────────────
+// Canvix on-demand font loader (v0.17 Wave 2).
+//
+// With a 369-family catalog, preloading everything is off the table.
+// The historic 63 families stay on the layout <link>; every other
+// family loads here the moment it is previewed or used:
+//
+// ensureFontLoaded('Shrikhand') — css2 <link> injection
+// ensureDocumentFonts(pages) — scan a document's text
+// registerCustomFont(family, url, format) — FontFace from /api/media
+//
+// Konva stages don't redraw on webfont arrival, so after a font
+// settles we broadcast `canvix:fonts-loaded`; CanvasStage listens
+// and batchDraws.
+// ─────────────────────────────────────────────────────────────
+
+import { FONTS, PRELOADED_FONTS } from './catalog'
+import type { PageData } from '../types'
+
+const injected = new Set<string>()
+
+/** css2 axis string for a family ('400;700' etc.) */
+export function weightAxisFor(family: string): string {
+ const entry = FONTS.find((f) => f.family === family)
+ return (entry?.weights ?? '400,700').split(',').join(';')
+}
+
+function broadcastFontsLoaded() {
+ if (typeof window === 'undefined') return
+ window.dispatchEvent(new CustomEvent('canvix:fonts-loaded'))
+}
+
+/**
+ * Load a Google-font family on demand. No-op for preloaded families,
+ * SSR, unknown families (they may be custom uploads) and repeat calls.
+ */
+export function ensureFontLoaded(family: string): void {
+ if (typeof document === 'undefined') return
+ if (!family || PRELOADED_FONTS.has(family) || injected.has(family)) return
+ // only load catalog families through the Google path — custom uploads
+ // register via registerCustomFont instead
+ if (!FONTS.some((f) => f.family === family)) return
+ injected.add(family)
+ const id = `canvix-font-${family.replace(/[^a-zA-Z0-9]/g, '-')}`
+ if (document.getElementById(id)) return
+ const link = document.createElement('link')
+ link.id = id
+ link.rel = 'stylesheet'
+ link.href = `https://fonts.googleapis.com/css2?family=${family.replace(/ /g, '+')}:wght@${weightAxisFor(family)}&display=swap`
+ link.onload = () => {
+ void document.fonts.ready.then(broadcastFontsLoaded)
+ }
+ document.head.appendChild(link)
+}
+
+/**
+ * Ensure every font family used by a document's text elements is
+ * loaded (editor open, template apply, preview mount).
+ */
+export function ensureDocumentFonts(pages: PageData[] | undefined): void {
+ if (!pages?.length) return
+ for (const page of pages) {
+ for (const el of page.elements ?? []) {
+ if (el.type === 'text') {
+ const family = (el as { fontFamily?: string }).fontFamily
+ if (family) ensureFontLoaded(family)
+ }
+ }
+ }
+}
+
+// ── custom (uploaded) fonts ───────────────────────────────────
+
+export interface CustomFont {
+ id: string
+ family: string
+ url: string
+ format: string
+}
+
+const customRegistered = new Map<string, Promise<void>>()
+
+/** register an uploaded font with the document FontFace set */
+export function registerCustomFont(font: CustomFont): Promise<void> {
+ if (typeof document === 'undefined') return Promise.resolve()
+ const existing = customRegistered.get(font.id)
+ if (existing) return existing
+ const p = (async () => {
+ const res = await fetch(font.url)
+ if (!res.ok) throw new Error(`font fetch failed (${res.status})`)
+ const buf = await res.arrayBuffer()
+ const face = new FontFace(font.family, buf, { weight: '400 700' })
+ await face.load()
+ document.fonts.add(face)
+ broadcastFontsLoaded()
+ })().catch((err) => {
+ // failed registrations may be retried on next panel open
+ customRegistered.delete(font.id)
+ throw err
+ })
+ customRegistered.set(font.id, p)
+ return p
+}
+
+/** fetch the caller's uploaded fonts and register them all */
+export async function loadCustomFonts(): Promise<CustomFont[]> {
+ if (typeof window === 'undefined') return []
+ try {
+ const res = await fetch('/api/fonts/custom', { cache: 'no-store' })
+ if (!res.ok) return []
+ const fonts = (await res.json()) as { fonts?: CustomFont[] }
+ await Promise.allSettled((fonts.fonts ?? []).map((f) => registerCustomFont(f)))
+ return fonts.fonts ?? []
+ } catch {
+ return []
+ }
+}
diff --git a/src/lib/rate-limit.ts b/src/lib/rate-limit.ts
index b28e351..5ecd793 100644
--- a/src/lib/rate-limit.ts
+++ b/src/lib/rate-limit.ts
@@ -44,7 +44,8 @@ export type RateLimitBucket =
| 'plugins:serve'
| 'stockvideo:search'
| 'stockphoto:search'
- | 'stockphoto:search'
+ | 'icons:search'
+ | 'templates:fill'
export interface RateLimitConfig {
/** window length in milliseconds */
@@ -86,6 +87,14 @@ export const RATE_LIMITS: Record<RateLimitBucket, RateLimitConfig> = {
// — one shared bucket shape with the video rail (the panel also
// debounces at 600 ms and caches server-side for 24 h)
'stockphoto:search': { windowMs: 60_000, max: 20 },
+ // v0.17 (Wave 2): iconify search/svg proxy — free public API, no key,
+ // but every hit is outbound traffic from the Worker; the panel debounces
+ // at 500 ms and caches, so 30/min per IP is generous for humans
+ 'icons:search': { windowMs: 60_000, max: 30 },
+ // v0.17 (Wave 2): template fill renders documents (CPU) and may create
+ // designs in persist mode — 30/min per IP covers CSV batches (≤ 100
+ // rows each) while blocking bulk-abuse
+ 'templates:fill': { windowMs: 60_000, max: 30 },
}
export function rateLimitsDisabled(): boolean {
diff --git a/src/lib/templates/collection-v17-fields.ts b/src/lib/templates/collection-v17-fields.ts
new file mode 100644
index 0000000..efeafac
--- /dev/null
+++ b/src/lib/templates/collection-v17-fields.ts
@@ -0,0 +1,421 @@
+// ─────────────────────────────────────────────────────────────
+// collection-v17/fields — 12 smart templates (v0.17 Wave 2).
+// Text elements carry {{key}} markers; the fill dialog, CSV bulk
+// fill and the REST fill API substitute per-row values. Fields:
+// certificates ×4, business cards ×3, quote posts ×2, event
+// flyers ×2, invoice ×1. Original designs.
+// ─────────────────────────────────────────────────────────────
+
+import type { TemplateDef } from './helpers'
+import { tx, sh, ln, st, gr } from './helpers'
+
+export const COLLECTION_V17_FIELDS: TemplateDef[] = [
+ // 1 ── Certificate of excellence · classic serif
+ {
+ slug: 'certificate-excellence',
+ name: 'Certificate of Excellence',
+ category: 'print',
+ width: 1754,
+ height: 1240,
+ accent: '#B45309',
+ badge: 'new',
+ fields: [
+ { key: 'recipient_name', label: 'Recipient name', example: 'Ada Lovelace' },
+ { key: 'course_name', label: 'Course / achievement', example: 'Advanced Data Structures' },
+ { key: 'date', label: 'Date', example: '14 March 2026' },
+ { key: 'presenter_name', label: 'Presenter / signatory', example: 'Dr. Grace Hopper' },
+ ],
+ pages: [
+ {
+ id: 'p1',
+ background: { type: 'solid', color: '#FDFBF7' },
+ elements: [
+ sh('rect', { x: 40, y: 40, width: 1674, height: 1160, cornerRadius: 0, fill: 'transparent', stroke: '#B45309', strokeWidth: 8 }),
+ sh('rect', { x: 64, y: 64, width: 1626, height: 1112, cornerRadius: 0, fill: 'transparent', stroke: '#D9A45B', strokeWidth: 2 }),
+ gr('badge', { x: 797, y: 120, width: 160, height: 160, fill: '#B45309' }),
+ tx({ x: 277, y: 300, width: 1200, height: 70, text: 'CERTIFICATE OF EXCELLENCE', fontFamily: 'Cinzel', bold: true, fontSize: 54, letterSpacing: 10, fill: '#78350F', align: 'center' }),
+ ln({ x: 677, y: 400, width: 400, height: 0, stroke: '#B45309', strokeWidth: 3 }),
+ tx({ x: 377, y: 440, width: 1000, height: 50, text: 'This certificate is proudly presented to', fontFamily: 'EB Garamond', italic: true, fontSize: 30, fill: '#57534E', align: 'center' }),
+ tx({ x: 177, y: 520, width: 1400, height: 110, text: '{{recipient_name}}', fontFamily: 'Playfair Display', bold: true, fontSize: 84, fill: '#1C1917', align: 'center' }),
+ ln({ x: 477, y: 660, width: 800, height: 0, stroke: '#D9A45B', strokeWidth: 2 }),
+ tx({ x: 377, y: 700, width: 1000, height: 120, text: 'for outstanding achievement in\n{{course_name}}', fontFamily: 'EB Garamond', fontSize: 34, fill: '#44403C', align: 'center' }),
+ tx({ x: 227, y: 940, width: 400, height: 50, text: '{{date}}', fontFamily: 'EB Garamond', fontSize: 28, fill: '#57534E', align: 'center' }),
+ ln({ x: 247, y: 1000, width: 360, height: 0, stroke: '#B45309', strokeWidth: 2 }),
+ tx({ x: 227, y: 1015, width: 400, height: 40, text: 'DATE', fontFamily: 'Inter', bold: true, fontSize: 18, letterSpacing: 4, fill: '#A8A29E', align: 'center' }),
+ tx({ x: 1127, y: 940, width: 400, height: 50, text: '{{presenter_name}}', fontFamily: 'Great Vibes', fontSize: 48, fill: '#1C1917', align: 'center' }),
+ ln({ x: 1147, y: 1000, width: 360, height: 0, stroke: '#B45309', strokeWidth: 2 }),
+ tx({ x: 1127, y: 1015, width: 400, height: 40, text: 'SIGNATURE', fontFamily: 'Inter', bold: true, fontSize: 18, letterSpacing: 4, fill: '#A8A29E', align: 'center' }),
+ ],
+ },
+ ],
+ },
+
+ // 2 ── Certificate of achievement · modern colour blocks
+ {
+ slug: 'certificate-achievement-modern',
+ name: 'Modern Achievement Certificate',
+ category: 'print',
+ width: 1754,
+ height: 1240,
+ accent: '#0F766E',
+ badge: 'new',
+ fields: [
+ { key: 'recipient_name', label: 'Recipient name', example: 'Grace Hopper' },
+ { key: 'achievement', label: 'Achievement', example: ' completing the Mentor Program' },
+ { key: 'date', label: 'Date', example: '20 June 2026' },
+ { key: 'organisation', label: 'Organisation', example: 'Canvix Academy' },
+ ],
+ pages: [
+ {
+ id: 'p1',
+ background: { type: 'solid', color: '#F0FDFA' },
+ elements: [
+ sh('rect', { x: 0, y: 0, width: 1754, height: 120, cornerRadius: 0, fill: '#0F766E' }),
+ sh('rect', { x: 0, y: 1120, width: 1754, height: 120, cornerRadius: 0, fill: '#0F766E' }),
+ st('🏅', { x: 807, y: 170, width: 140, height: 140, fontSize: 100 }),
+ tx({ x: 277, y: 330, width: 1200, height: 80, text: 'CERTIFICATE OF ACHIEVEMENT', fontFamily: 'Space Grotesk', bold: true, fontSize: 58, letterSpacing: 6, fill: '#134E4A', align: 'center' }),
+ tx({ x: 477, y: 440, width: 800, height: 50, text: 'presented to', fontFamily: 'Inter', fontSize: 28, fill: '#5EEAD4', align: 'center' }),
+ tx({ x: 177, y: 500, width: 1400, height: 120, text: '{{recipient_name}}', fontFamily: 'Poppins', bold: true, fontSize: 90, fill: '#0F172A', align: 'center' }),
+ tx({ x: 377, y: 650, width: 1000, height: 60, text: 'in recognition of{{achievement}}', fontFamily: 'Inter', fontSize: 32, fill: '#334155', align: 'center' }),
+ ln({ x: 727, y: 760, width: 300, height: 0, stroke: '#14B8A6', strokeWidth: 4 }),
+ tx({ x: 577, y: 800, width: 600, height: 50, text: '{{date}}', fontFamily: 'Inter', bold: true, fontSize: 30, fill: '#134E4A', align: 'center' }),
+ tx({ x: 577, y: 940, width: 600, height: 50, text: '{{organisation}}', fontFamily: 'Space Grotesk', bold: true, fontSize: 40, fill: '#0F766E', align: 'center' }),
+ ],
+ },
+ ],
+ },
+
+ // 3 ── Certificate of completion · dark premium
+ {
+ slug: 'certificate-completion-dark',
+ name: 'Dark Premium Certificate',
+ category: 'print',
+ width: 1754,
+ height: 1240,
+ accent: '#F59E0B',
+ badge: 'new',
+ fields: [
+ { key: 'recipient_name', label: 'Recipient name', example: 'Alan Turing' },
+ { key: 'program', label: 'Program', example: 'Machine Learning Foundations' },
+ { key: 'hours', label: 'Hours completed', example: '120' },
+ { key: 'date', label: 'Date', example: '1 December 2026' },
+ ],
+ pages: [
+ {
+ id: 'p1',
+ background: { type: 'solid', color: '#111827' },
+ elements: [
+ sh('rect', { x: 40, y: 40, width: 1674, height: 1160, cornerRadius: 24, fill: 'transparent', stroke: '#F59E0B', strokeWidth: 3 }),
+ gr('star', { x: 817, y: 110, width: 120, height: 120, fill: '#F59E0B' }),
+ tx({ x: 377, y: 260, width: 1000, height: 70, text: 'CERTIFICATE OF COMPLETION', fontFamily: 'Bebas Neue', fontSize: 72, letterSpacing: 12, fill: '#FBBF24', align: 'center' }),
+ tx({ x: 477, y: 360, width: 800, height: 50, text: 'awarded by distinction to', fontFamily: 'Inter', fontSize: 26, letterSpacing: 3, fill: '#9CA3AF', align: 'center' }),
+ tx({ x: 177, y: 420, width: 1400, height: 120, text: '{{recipient_name}}', fontFamily: 'Playfair Display', bold: true, fontSize: 92, fill: '#F9FAFB', align: 'center' }),
+ tx({ x: 377, y: 580, width: 1000, height: 60, text: '{{program}}', fontFamily: 'Outfit', fontSize: 38, fill: '#FBBF24', align: 'center' }),
+ ln({ x: 697, y: 680, width: 360, height: 0, stroke: '#374151', strokeWidth: 3 }),
+ tx({ x: 477, y: 720, width: 800, height: 50, text: '{{hours}} hours of study · completed {{date}}', fontFamily: 'Inter', fontSize: 28, fill: '#D1D5DB', align: 'center' }),
+ sh('rect', { x: 627, y: 860, width: 500, height: 90, cornerRadius: 45, fill: '#F59E0B' }),
+ tx({ x: 627, y: 882, width: 500, height: 50, text: 'WITH DISTINCTION', fontFamily: 'Space Grotesk', bold: true, fontSize: 26, letterSpacing: 5, fill: '#111827', align: 'center' }),
+ ],
+ },
+ ],
+ },
+
+ // 4 ── Certificate of appreciation · soft warm
+ {
+ slug: 'certificate-appreciation',
+ name: 'Appreciation Certificate',
+ category: 'print',
+ width: 1754,
+ height: 1240,
+ accent: '#DB2777',
+ badge: 'new',
+ fields: [
+ { key: 'recipient_name', label: 'Recipient name', example: 'Katherine Johnson' },
+ { key: 'reason', label: 'Reason', example: 'her extraordinary volunteer work' },
+ { key: 'date', label: 'Date', example: '5 May 2026' },
+ { key: 'from', label: 'From', example: 'The Community Team' },
+ ],
+ pages: [
+ {
+ id: 'p1',
+ background: { type: 'solid', color: '#FDF2F8' },
+ elements: [
+ sh('ellipse', { x: -120, y: -120, width: 420, height: 420, fill: '#FBCFE8' }),
+ sh('ellipse', { x: 1454, y: 940, width: 420, height: 420, fill: '#FBCFE8' }),
+ st('🌸', { x: 120, y: 100, width: 120, height: 120, fontSize: 90 }),
+ st('🌸', { x: 1514, y: 1020, width: 120, height: 120, fontSize: 90 }),
+ tx({ x: 277, y: 240, width: 1200, height: 70, text: 'CERTIFICATE OF APPRECIATION', fontFamily: 'Cormorant Garamond', bold: true, fontSize: 62, letterSpacing: 8, fill: '#9D174D', align: 'center' }),
+ tx({ x: 477, y: 350, width: 800, height: 50, text: 'with gratitude, we honour', fontFamily: 'Caveat', fontSize: 40, fill: '#DB2777', align: 'center' }),
+ tx({ x: 177, y: 420, width: 1400, height: 110, text: '{{recipient_name}}', fontFamily: 'Dancing Script', bold: true, fontSize: 96, fill: '#831843', align: 'center' }),
+ ln({ x: 577, y: 570, width: 600, height: 0, stroke: '#F9A8D4', strokeWidth: 3 }),
+ tx({ x: 377, y: 610, width: 1000, height: 120, text: 'in warm appreciation of\n{{reason}}', fontFamily: 'Cormorant Garamond', fontSize: 36, fill: '#500724', align: 'center' }),
+ tx({ x: 577, y: 830, width: 600, height: 50, text: '{{date}}', fontFamily: 'Inter', fontSize: 26, fill: '#9D174D', align: 'center' }),
+ tx({ x: 577, y: 950, width: 600, height: 50, text: '— {{from}}', fontFamily: 'Caveat', fontSize: 44, fill: '#BE185D', align: 'center' }),
+ ],
+ },
+ ],
+ },
+
+ // 5 ── Business card · professional navy
+ {
+ slug: 'business-card-pro',
+ name: 'Professional Business Card',
+ category: 'print',
+ width: 1050,
+ height: 600,
+ accent: '#1E3A8A',
+ badge: 'new',
+ fields: [
+ { key: 'full_name', label: 'Full name', example: 'Ada Lovelace' },
+ { key: 'job_title', label: 'Job title', example: 'Chief Mathematician' },
+ { key: 'company', label: 'Company', example: 'Analytical Engines Ltd' },
+ { key: 'phone', label: 'Phone', example: '+44 20 7946 0102' },
+ { key: 'email', label: 'Email', example: '[email protected]' },
+ ],
+ pages: [
+ {
+ id: 'p1',
+ background: { type: 'solid', color: '#FFFFFF' },
+ elements: [
+ sh('rect', { x: 0, y: 0, width: 360, height: 600, cornerRadius: 0, fill: '#1E3A8A' }),
+ gr('diamond', { x: 130, y: 130, width: 100, height: 100, fill: '#FFFFFF' }),
+ tx({ x: 30, y: 470, width: 300, height: 60, text: '{{company}}', fontFamily: 'Montserrat', bold: true, fontSize: 26, letterSpacing: 3, fill: '#FFFFFF', align: 'center' }),
+ tx({ x: 400, y: 150, width: 600, height: 70, text: '{{full_name}}', fontFamily: 'Playfair Display', bold: true, fontSize: 52, fill: '#0F172A' }),
+ tx({ x: 400, y: 230, width: 600, height: 45, text: '{{job_title}}', fontFamily: 'Inter', fontSize: 24, letterSpacing: 2, fill: '#1E3A8A' }),
+ ln({ x: 400, y: 300, width: 120, height: 0, stroke: '#1E3A8A', strokeWidth: 4 }),
+ tx({ x: 400, y: 340, width: 600, height: 40, text: '{{phone}}', fontFamily: 'Inter', fontSize: 22, fill: '#334155' }),
+ tx({ x: 400, y: 390, width: 600, height: 40, text: '{{email}}', fontFamily: 'Inter', fontSize: 22, fill: '#334155' }),
+ ],
+ },
+ ],
+ },
+
+ // 6 ── Business card · creative coral
+ {
+ slug: 'business-card-creative',
+ name: 'Creative Business Card',
+ category: 'print',
+ width: 1050,
+ height: 600,
+ accent: '#F97316',
+ badge: 'new',
+ fields: [
+ { key: 'full_name', label: 'Full name', example: 'Frida Vega' },
+ { key: 'role', label: 'Role', example: 'Illustrator & Muralist' },
+ { key: 'handle', label: 'Social handle', example: '@fridadraws' },
+ { key: 'website', label: 'Website', example: 'fridavega.art' },
+ ],
+ pages: [
+ {
+ id: 'p1',
+ background: { type: 'solid', color: '#FFF7ED' },
+ elements: [
+ sh('ellipse', { x: 770, y: -90, width: 400, height: 400, fill: '#FDBA74' }),
+ sh('ellipse', { x: 830, y: 430, width: 340, height: 340, fill: '#FFEDD5' }),
+ st('🎨', { x: 60, y: 60, width: 90, height: 90, fontSize: 64 }),
+ tx({ x: 60, y: 190, width: 700, height: 80, text: '{{full_name}}', fontFamily: 'Caveat', bold: true, fontSize: 76, fill: '#7C2D12' }),
+ tx({ x: 60, y: 290, width: 700, height: 45, text: '{{role}}', fontFamily: 'Poppins', fontSize: 28, fill: '#C2410C' }),
+ ln({ x: 60, y: 360, width: 150, height: 0, stroke: '#F97316', strokeWidth: 5 }),
+ tx({ x: 60, y: 400, width: 700, height: 40, text: '{{handle}}', fontFamily: 'Space Mono', fontSize: 24, fill: '#431407' }),
+ tx({ x: 60, y: 450, width: 700, height: 40, text: '{{website}}', fontFamily: 'Space Mono', fontSize: 24, fill: '#431407' }),
+ ],
+ },
+ ],
+ },
+
+ // 7 ── Business card · minimal mono
+ {
+ slug: 'business-card-minimal',
+ name: 'Minimal Business Card',
+ category: 'print',
+ width: 1050,
+ height: 600,
+ accent: '#0F172A',
+ badge: 'new',
+ fields: [
+ { key: 'full_name', label: 'Full name', example: 'Kenji Mori' },
+ { key: 'title', label: 'Title', example: 'Product Designer' },
+ { key: 'email', label: 'Email', example: '[email protected]' },
+ { key: 'phone', label: 'Phone', example: '+81 3 1234 5678' },
+ ],
+ pages: [
+ {
+ id: 'p1',
+ background: { type: 'solid', color: '#FAFAFA' },
+ elements: [
+ sh('rect', { x: 44, y: 44, width: 962, height: 512, cornerRadius: 0, fill: 'transparent', stroke: '#0F172A', strokeWidth: 2 }),
+ tx({ x: 80, y: 180, width: 600, height: 70, text: '{{full_name}}', fontFamily: 'Inter', bold: true, fontSize: 48, letterSpacing: 1, fill: '#0F172A' }),
+ tx({ x: 80, y: 270, width: 600, height: 40, text: '{{title}}', fontFamily: 'Inter', fontSize: 22, letterSpacing: 4, fill: '#64748B' }),
+ ln({ x: 80, y: 380, width: 60, height: 0, stroke: '#0F172A', strokeWidth: 3 }),
+ tx({ x: 80, y: 410, width: 600, height: 36, text: '{{email}}', fontFamily: 'DM Mono', fontSize: 20, fill: '#334155' }),
+ tx({ x: 80, y: 452, width: 600, height: 36, text: '{{phone}}', fontFamily: 'DM Mono', fontSize: 20, fill: '#334155' }),
+ ],
+ },
+ ],
+ },
+
+ // 8 ── Quote post · elegant serif (square)
+ {
+ slug: 'quote-post-elegant',
+ name: 'Elegant Quote Post',
+ category: 'social',
+ width: 1080,
+ height: 1080,
+ accent: '#7C2D12',
+ badge: 'new',
+ fields: [
+ { key: 'quote', label: 'Quote', example: 'Simplicity is the ultimate sophistication.' },
+ { key: 'author', label: 'Author', example: 'Leonardo da Vinci' },
+ ],
+ pages: [
+ {
+ id: 'p1',
+ background: { type: 'solid', color: '#FAF5F0' },
+ elements: [
+ tx({ x: 465, y: 130, width: 150, height: 140, text: '“', fontFamily: 'Playfair Display', bold: true, fontSize: 160, fill: '#D6BFA8', align: 'center' }),
+ tx({ x: 140, y: 320, width: 800, height: 400, text: '{{quote}}', fontFamily: 'Playfair Display', fontSize: 56, italic: true, fill: '#4A2E1A', align: 'center' }),
+ ln({ x: 440, y: 790, width: 200, height: 0, stroke: '#B45309', strokeWidth: 3 }),
+ tx({ x: 240, y: 830, width: 600, height: 50, text: '{{author}}', fontFamily: 'Inter', bold: true, fontSize: 26, letterSpacing: 5, fill: '#9A6B3F', align: 'center' }),
+ sh('rect', { x: 0, y: 1060, width: 1080, height: 20, cornerRadius: 0, fill: '#B45309' }),
+ ],
+ },
+ ],
+ },
+
+ // 9 ── Quote post · bold contrast (portrait)
+ {
+ slug: 'quote-post-bold',
+ name: 'Bold Quote Post',
+ category: 'social',
+ width: 1080,
+ height: 1350,
+ accent: '#4338CA',
+ badge: 'new',
+ fields: [
+ { key: 'quote', label: 'Quote', example: 'Make it work, make it right, make it fast.' },
+ { key: 'author', label: 'Author', example: 'Kent Beck' },
+ { key: 'handle', label: 'Your handle', example: '@buildinpublic' },
+ ],
+ pages: [
+ {
+ id: 'p1',
+ background: { type: 'solid', color: '#1E1B4B' },
+ elements: [
+ sh('rect', { x: 60, y: 60, width: 960, height: 1230, cornerRadius: 24, fill: 'transparent', stroke: '#818CF8', strokeWidth: 2 }),
+ tx({ x: 140, y: 240, width: 800, height: 500, text: '{{quote}}', fontFamily: 'Space Grotesk', bold: true, fontSize: 72, fill: '#EEF2FF', align: 'left' }),
+ ln({ x: 140, y: 830, width: 260, height: 0, stroke: '#F59E0B', strokeWidth: 6 }),
+ tx({ x: 140, y: 870, width: 800, height: 60, text: '{{author}}', fontFamily: 'Space Grotesk', fontSize: 40, fill: '#A5B4FC' }),
+ tx({ x: 140, y: 1120, width: 800, height: 45, text: '{{handle}}', fontFamily: 'Space Mono', fontSize: 28, fill: '#F59E0B' }),
+ ],
+ },
+ ],
+ },
+
+ // 10 ── Event flyer · modern split
+ {
+ slug: 'event-flyer-modern',
+ name: 'Modern Event Flyer',
+ category: 'print',
+ width: 1240,
+ height: 1754,
+ accent: '#6D28D9',
+ badge: 'new',
+ fields: [
+ { key: 'event_name', label: 'Event name', example: 'DESIGN WEEK 26' },
+ { key: 'date', label: 'Date', example: 'SAT 12 SEP · 18:00' },
+ { key: 'venue', label: 'Venue', example: 'The Foundry, 21 Maker St' },
+ { key: 'ticket_price', label: 'Ticket price', example: '$25' },
+ ],
+ pages: [
+ {
+ id: 'p1',
+ background: { type: 'solid', color: '#F5F3FF' },
+ elements: [
+ sh('rect', { x: 0, y: 0, width: 1240, height: 640, cornerRadius: 0, fill: '#6D28D9' }),
+ gr('burst', { x: 880, y: 80, width: 280, height: 280, fill: '#F59E0B' }),
+ tx({ x: 80, y: 200, width: 900, height: 90, text: 'you are invited to', fontFamily: 'Inter', fontSize: 30, letterSpacing: 6, fill: '#DDD6FE', align: 'center' }),
+ tx({ x: 80, y: 270, width: 900, height: 200, text: '{{event_name}}', fontFamily: 'Archivo Black', fontSize: 110, fill: '#FFFFFF', align: 'center' }),
+ tx({ x: 170, y: 740, width: 900, height: 60, text: '{{date}}', fontFamily: 'Space Grotesk', bold: true, fontSize: 44, fill: '#6D28D9', align: 'center' }),
+ ln({ x: 470, y: 830, width: 300, height: 0, stroke: '#C4B5FD', strokeWidth: 4 }),
+ tx({ x: 170, y: 870, width: 900, height: 50, text: '{{venue}}', fontFamily: 'Inter', fontSize: 32, fill: '#3B0764', align: 'center' }),
+ sh('rect', { x: 420, y: 1180, width: 400, height: 110, cornerRadius: 55, fill: '#6D28D9' }),
+ tx({ x: 420, y: 1212, width: 400, height: 50, text: 'TICKETS {{ticket_price}}', fontFamily: 'Space Grotesk', bold: true, fontSize: 30, letterSpacing: 2, fill: '#FFFFFF', align: 'center' }),
+ ],
+ },
+ ],
+ },
+
+ // 11 ── Event story · festive
+ {
+ slug: 'event-story-festive',
+ name: 'Festive Event Story',
+ category: 'social',
+ width: 1080,
+ height: 1920,
+ accent: '#DC2626',
+ badge: 'new',
+ fields: [
+ { key: 'event_name', label: 'Event name', example: 'SUMMER BLOCK PARTY' },
+ { key: 'date', label: 'Date', example: 'JULY 4 · 4 PM' },
+ { key: 'location', label: 'Location', example: 'Riverside Park' },
+ ],
+ pages: [
+ {
+ id: 'p1',
+ background: { type: 'solid', color: '#450A0A' },
+ elements: [
+ st('🎉', { x: 100, y: 180, width: 120, height: 120, fontSize: 90 }),
+ st('🎈', { x: 860, y: 320, width: 120, height: 120, fontSize: 90 }),
+ st('🎊', { x: 140, y: 1500, width: 120, height: 120, fontSize: 90 }),
+ tx({ x: 90, y: 600, width: 900, height: 260, text: '{{event_name}}', fontFamily: 'Titan One', fontSize: 104, fill: '#FCA5A5', align: 'center' }),
+ ln({ x: 340, y: 920, width: 400, height: 0, stroke: '#F59E0B', strokeWidth: 6 }),
+ tx({ x: 190, y: 980, width: 700, height: 80, text: '{{date}}', fontFamily: 'Poppins', bold: true, fontSize: 52, fill: '#FDE68A', align: 'center' }),
+ tx({ x: 190, y: 1090, width: 700, height: 60, text: '{{location}}', fontFamily: 'Poppins', fontSize: 40, fill: '#FEE2E2', align: 'center' }),
+ sh('rect', { x: 340, y: 1560, width: 400, height: 100, cornerRadius: 50, fill: '#DC2626' }),
+ tx({ x: 340, y: 1588, width: 400, height: 50, text: 'JOIN US!', fontFamily: 'Poppins', bold: true, fontSize: 34, letterSpacing: 3, fill: '#FFFFFF', align: 'center' }),
+ ],
+ },
+ ],
+ },
+
+ // 12 ── Invoice · clean business doc
+ {
+ slug: 'invoice-smart',
+ name: 'Smart Invoice',
+ category: 'print',
+ width: 1240,
+ height: 1754,
+ accent: '#0F766E',
+ badge: 'new',
+ fields: [
+ { key: 'invoice_no', label: 'Invoice number', example: 'INV-2026-042' },
+ { key: 'client_name', label: 'Client name', example: 'Northwind Traders Inc.' },
+ { key: 'due_date', label: 'Due date', example: '30 June 2026' },
+ { key: 'amount', label: 'Amount due', example: '$ 2,400.00' },
+ ],
+ pages: [
+ {
+ id: 'p1',
+ background: { type: 'solid', color: '#FFFFFF' },
+ elements: [
+ sh('rect', { x: 0, y: 0, width: 1240, height: 24, cornerRadius: 0, fill: '#0F766E' }),
+ tx({ x: 80, y: 100, width: 500, height: 80, text: 'INVOICE', fontFamily: 'Space Grotesk', bold: true, fontSize: 64, letterSpacing: 8, fill: '#0F172A' }),
+ tx({ x: 80, y: 220, width: 500, height: 40, text: 'From: Your Studio Name', fontFamily: 'Inter', fontSize: 24, fill: '#64748B' }),
+ sh('rect', { x: 780, y: 100, width: 380, height: 170, cornerRadius: 16, fill: '#F0FDFA' }),
+ tx({ x: 810, y: 125, width: 320, height: 40, text: '{{invoice_no}}', fontFamily: 'Space Grotesk', bold: true, fontSize: 30, fill: '#134E4A' }),
+ tx({ x: 810, y: 175, width: 320, height: 36, text: 'Due {{due_date}}', fontFamily: 'Inter', fontSize: 22, fill: '#0F766E' }),
+ tx({ x: 810, y: 215, width: 320, height: 36, text: 'Billed to', fontFamily: 'Inter', fontSize: 18, letterSpacing: 2, fill: '#94A3B8' }),
+ tx({ x: 80, y: 360, width: 700, height: 50, text: '{{client_name}}', fontFamily: 'Inter', bold: true, fontSize: 34, fill: '#0F172A' }),
+ ln({ x: 80, y: 440, width: 1080, height: 0, stroke: '#E2E8F0', strokeWidth: 3 }),
+ tx({ x: 80, y: 480, width: 700, height: 40, text: 'Description', fontFamily: 'Inter', bold: true, fontSize: 20, letterSpacing: 2, fill: '#94A3B8' }),
+ tx({ x: 860, y: 480, width: 300, height: 40, text: 'Amount', fontFamily: 'Inter', bold: true, fontSize: 20, letterSpacing: 2, fill: '#94A3B8', align: 'right' }),
+ ln({ x: 80, y: 530, width: 1080, height: 0, stroke: '#E2E8F0', strokeWidth: 1 }),
+ tx({ x: 80, y: 560, width: 700, height: 40, text: 'Professional services — this billing period', fontFamily: 'Inter', fontSize: 24, fill: '#334155' }),
+ sh('rect', { x: 700, y: 1350, width: 460, height: 130, cornerRadius: 20, fill: '#0F766E' }),
+ tx({ x: 720, y: 1372, width: 200, height: 40, text: 'TOTAL DUE', fontFamily: 'Inter', bold: true, fontSize: 22, letterSpacing: 2, fill: '#99F6E4' }),
+ tx({ x: 720, y: 1414, width: 420, height: 50, text: '{{amount}}', fontFamily: 'Space Grotesk', bold: true, fontSize: 40, fill: '#FFFFFF' }),
+ ],
+ },
+ ],
+ },
+]
diff --git a/src/lib/templates/fields.test.ts b/src/lib/templates/fields.test.ts
new file mode 100644
index 0000000..ff9e148
--- /dev/null
+++ b/src/lib/templates/fields.test.ts
@@ -0,0 +1,91 @@
+// Unit tests for template fields (v0.17 Wave 2) — substitution purity,
+// marker scanning, CSV parsing and row mapping.
+
+import { describe, it, expect } from 'vitest'
+import {
+ validFields,
+ extractFieldKeys,
+ fillTemplateFields,
+ parseCsv,
+ csvToFieldRows,
+} from './fields'
+import { createPage, createTextElement, type PageData } from '../types'
+
+function pageWith(texts: string[]): PageData {
+ const page = createPage()
+ page.elements = texts.map((t, i) =>
+ createTextElement({ id: `t${i}`, x: 40, y: 40 + i * 60, width: 400, text: t })
+ )
+ return page
+}
+
+describe('template fields (v0.17 Wave 2)', () => {
+ it('validates field declarations', () => {
+ expect(validFields([{ key: 'name', label: 'Name', example: 'Ada' }])).toEqual([
+ { key: 'name', label: 'Name', example: 'Ada' },
+ ])
+ expect(validFields([])).toBeNull()
+ expect(validFields('nope')).toBeNull()
+ expect(validFields([{ key: 'UPPER', label: 'x', example: '' }])).toBeNull()
+ expect(validFields([{ key: 'ok', label: 'x', example: '' }, { key: 'ok', label: 'y', example: '' }])).toBeNull()
+ expect(validFields([{ key: 'ok', label: 'x'.repeat(61), example: '' }])).toBeNull()
+ expect(
+ validFields(Array.from({ length: 25 }, (_, i) => ({ key: `f${i}`, label: `F${i}`, example: '' })))
+ ).toBeNull()
+ })
+
+ it('extracts unique marker keys from a document', () => {
+ const pages = [pageWith(['Hello {{name}}!', '{{ title }}', 'no markers', '{{name}} again'])]
+ expect(extractFieldKeys(pages).sort()).toEqual(['name', 'title'])
+ })
+
+ it('substitutes values case-insensitively and stays pure', () => {
+ const pages = [pageWith(['Dear {{name}},', 'You won {{prize}}!'])]
+ const filled = fillTemplateFields(pages, { Name: 'Ada', prize: 'a trophy' })
+ expect((filled[0].elements[0] as { text: string }).text).toBe('Dear Ada,')
+ expect((filled[0].elements[1] as { text: string }).text).toBe('You won a trophy!')
+ // original untouched
+ expect((pages[0].elements[0] as { text: string }).text).toBe('Dear {{name}},')
+ })
+
+ it('keeps unmatched markers visible and drops oversized values', () => {
+ const pages = [pageWith(['{{name}} — {{email}}'])]
+ const filled = fillTemplateFields(pages, { email: 'x'.repeat(501) })
+ expect((filled[0].elements[0] as { text: string }).text).toBe('{{name}} — {{email}}')
+ })
+
+ it('supports multiline values', () => {
+ const pages = [pageWith(['{{address}}'])]
+ const filled = fillTemplateFields(pages, { address: 'Line 1\nLine 2' })
+ expect((filled[0].elements[0] as { text: string }).text).toBe('Line 1\nLine 2')
+ })
+
+ it('parses RFC-4180 CSV (quotes, escaped quotes, CRLF)', () => {
+ const csv = 'name,prize\n"Ada, Lovelace","a ""big"" trophy"\r\nGrace,notebook\n'
+ const rows = parseCsv(csv)
+ expect(rows).toEqual([
+ ['name', 'prize'],
+ ['Ada, Lovelace', 'a "big" trophy'],
+ ['Grace', 'notebook'],
+ ])
+ })
+
+ it('drops blank lines and enforces hard caps', () => {
+ expect(parseCsv('a,b\n\n\n1,2\n')).toEqual([['a', 'b'], ['1', '2']])
+ expect(() => parseCsv('a\n'.repeat(502))).toThrow(/500 rows/)
+ })
+
+ it('maps CSV rows onto field keys and reports missing columns', () => {
+ const csv = [
+ ['Name', 'Email'],
+ ['Ada', '[email protected]'],
+ ['Grace', '[email protected]'],
+ ]
+ const { rows, missing } = csvToFieldRows(csv, ['name', 'email', 'title'])
+ expect(missing).toEqual(['title'])
+ expect(rows).toEqual([
+ { name: 'Ada', email: '[email protected]' },
+ { name: 'Grace', email: '[email protected]' },
+ ])
+ })
+})
diff --git a/src/lib/templates/fields.ts b/src/lib/templates/fields.ts
new file mode 100644
index 0000000..ccd1684
--- /dev/null
+++ b/src/lib/templates/fields.ts
@@ -0,0 +1,148 @@
+// ─────────────────────────────────────────────────────────────
+// Canvix template fields (v0.17 Wave 2) — the "smart template"
+// engine. Templates may declare fields; text elements carry
+// {{key}} markers. At fill time the markers are substituted with
+// caller values (one design per row of values).
+//
+// · TemplateField — declaration on a template
+// · fillTemplateFields(pages, values) → new pages (pure)
+// · extractFieldKeys(pages) — scan markers
+// · parseCsv(text) — RFC-4180-ish CSV → rows
+// Used by the editor fill dialog, the dashboard CSV bulk flow and
+// the REST fill API (/api/templates/[slug]/fill).
+// ─────────────────────────────────────────────────────────────
+
+import type { PageData } from '../types'
+
+export interface TemplateField {
+ key: string
+ label: string
+ example: string
+}
+
+const KEY_RE = /^[a-z][a-z0-9_]{1,30}$/
+const MARKER_RE = /\{\{\s*([a-z][a-z0-9_]*)\s*\}\}/gi
+
+/** validate a field declaration list (API input guard) */
+export function validFields(input: unknown): TemplateField[] | null {
+ if (!Array.isArray(input) || input.length === 0 || input.length > 24) return null
+ const seen = new Set<string>()
+ const out: TemplateField[] = []
+ for (const raw of input) {
+ if (typeof raw !== 'object' || raw === null) return null
+ const { key, label, example } = raw as Record<string, unknown>
+ if (typeof key !== 'string' || !KEY_RE.test(key) || seen.has(key)) return null
+ if (typeof label !== 'string' || !label.length || label.length > 60) return null
+ if (typeof example !== 'string' || example.length > 200) return null
+ seen.add(key)
+ out.push({ key, label, example })
+ }
+ return out
+}
+
+/** every {{key}} marker used anywhere in the document (unique, lowercase) */
+export function extractFieldKeys(pages: PageData[]): string[] {
+ const keys = new Set<string>()
+ for (const page of pages) {
+ for (const el of page.elements ?? []) {
+ if (el.type !== 'text') continue
+ const text = (el as { text?: string }).text ?? ''
+ for (const m of text.matchAll(MARKER_RE)) keys.add(m[1].toLowerCase())
+ }
+ }
+ return [...keys]
+}
+
+/** one substitution pass over text runs — supports \n in values */
+function substituteText(text: string, values: Record<string, string>): string {
+ return text.replace(MARKER_RE, (_m, key: string) => {
+ const v = values[key.toLowerCase()]
+ return v !== undefined ? v : `{{${key}}}`
+ })
+}
+
+/**
+ * Fill a template document with one row of values. Pure: returns a
+ * fresh deep-copied pages array, never mutates the template. Markers
+ * with no matching value are left in place (visible in the editor, so
+ * the user notices) — except empty-string values, which clear them.
+ */
+export function fillTemplateFields(
+ pages: PageData[],
+ values: Record<string, unknown>
+): PageData[] {
+ const clean: Record<string, string> = {}
+ for (const [k, v] of Object.entries(values ?? {})) {
+ if (typeof v === 'string' && v.length <= 500) clean[k.toLowerCase()] = v
+ }
+ return pages.map((page) => ({
+ ...page,
+ elements: (page.elements ?? []).map((el) => {
+ if (el.type !== 'text') return el
+ const t = el as typeof el & { text?: string }
+ if (!t.text || !t.text.includes('{{')) return el
+ return { ...el, text: substituteText(t.text, clean) }
+ }),
+ }))
+}
+
+/**
+ * RFC-4180-ish CSV parser: double-quote wrapping, "" escapes, CRLF or
+ * LF line endings. Returns rows of cells; the first row is the header.
+ * Hard caps: 2 MB input, 500 rows, 40 columns (the bulk-fill UI only
+ * ever needs a handful).
+ */
+export function parseCsv(input: string): string[][] {
+ if (input.length > 2_000_000) throw new Error('CSV too large (2 MB max).')
+ const rows: string[][] = []
+ let row: string[] = []
+ let cell = ''
+ let inQuotes = false
+ const push = () => { row.push(cell); cell = '' }
+ const endRow = () => { push(); rows.push(row); row = [] }
+ for (let i = 0; i < input.length; i++) {
+ const ch = input[i]
+ if (inQuotes) {
+ if (ch === '"') {
+ if (input[i + 1] === '"') { cell += '"'; i++ }
+ else inQuotes = false
+ } else cell += ch
+ } else if (ch === '"') {
+ inQuotes = true
+ } else if (ch === ',') {
+ push()
+ } else if (ch === '\n' || ch === '\r') {
+ if (ch === '\r' && input[i + 1] === '\n') i++
+ // skip fully empty trailing lines
+ if (cell === '' && row.length === 0 && rows.length > 0 && i === input.length - 1) continue
+ endRow()
+ } else {
+ cell += ch
+ }
+ if (rows.length > 500) throw new Error('CSV exceeds 500 rows.')
+ if (row.length > 40) throw new Error('CSV exceeds 40 columns.')
+ }
+ if (cell !== '' || row.length > 0) endRow()
+ return rows.filter((r) => r.some((c) => c.trim() !== ''))
+}
+
+/** map a parsed CSV (header row + data rows) onto field values */
+export function csvToFieldRows(
+ csv: string[][],
+ fieldKeys: string[]
+): { rows: Record<string, string>[]; missing: string[] } {
+ if (!csv.length) return { rows: [], missing: [...fieldKeys] }
+ const header = csv[0].map((h) => h.trim().toLowerCase())
+ const keys = fieldKeys.map((k) => k.toLowerCase())
+ const missing = keys.filter((k) => !header.includes(k))
+ const rows: Record<string, string>[] = []
+ for (const dataRow of csv.slice(1)) {
+ const values: Record<string, string> = {}
+ header.forEach((h, i) => {
+ if (keys.includes(h) && dataRow[i] !== undefined) values[h] = dataRow[i]
+ })
+ // only keep rows that actually carry at least one field value
+ if (Object.keys(values).length) rows.push(values)
+ }
+ return { rows, missing }
+}
diff --git a/src/lib/templates/helpers.ts b/src/lib/templates/helpers.ts
index 546da40..d50ba25 100644
--- a/src/lib/templates/helpers.ts
+++ b/src/lib/templates/helpers.ts
@@ -6,6 +6,7 @@ import {
type PageData,
} from '../types'
import { GRAPHICS } from '../editor-utils'
+import type { TemplateField } from './fields'
export interface TemplateDef {
slug: string
@@ -17,6 +18,10 @@ export interface TemplateDef {
/** v0.7: premium library expansion — every template stays 100% free,
* the badge is a quality label only (never a paywall). */
badge?: 'premium' | 'new'
+ /** v0.17 (Wave 2): smart-template fields — text elements carry
+ * {{key}} markers, filled per-row by the editor dialog / CSV bulk
+ * fill / REST fill API. Absent = plain template. */
+ fields?: TemplateField[]
pages: PageData[]
}
diff --git a/src/lib/templates/index.ts b/src/lib/templates/index.ts
index 4b84eb8..84ff82e 100644
--- a/src/lib/templates/index.ts
+++ b/src/lib/templates/index.ts
@@ -22,10 +22,13 @@ import { COLLECTION_V08_PRINT } from './collection-v08-print'
import { COLLECTION_V08_DOCS } from './collection-v08-docs'
import { COLLECTION_V08_THUMBNAILS } from './collection-v08-thumbnails'
import { COLLECTION_V08_LOGOS } from './collection-v08-logos'
+import { COLLECTION_V17_FIELDS } from './collection-v17-fields'
+import { templateVariants } from './variants'
export type { TemplateDef } from './helpers'
-export const TEMPLATES: TemplateDef[] = [
+/** the hand-authored library (122 designs) */
+export const BASE_TEMPLATES: TemplateDef[] = [
...COLLECTION_V07,
...COLLECTION_V08_SOCIAL,
...COLLECTION_V08_DECKS,
@@ -33,8 +36,17 @@ export const TEMPLATES: TemplateDef[] = [
...COLLECTION_V08_DOCS,
...COLLECTION_V08_THUMBNAILS,
...COLLECTION_V08_LOGOS,
+ ...COLLECTION_V17_FIELDS,
]
+/**
+ * The full library: 122 originals + 244 computed variants (Aurora
+ * colourways + Ink typography swaps — see variants.ts) = 366 designs.
+ * Variants are derived at module load, so the shipped bytes stay at
+ * the originals' size; the DB seed materialises the same list.
+ */
+export const TEMPLATES: TemplateDef[] = [...BASE_TEMPLATES, ...templateVariants(BASE_TEMPLATES)]
+
export function templatesAsRecords(): TemplateRecord[] {
return TEMPLATES.map((t) => ({
id: t.slug,
@@ -45,6 +57,7 @@ export function templatesAsRecords(): TemplateRecord[] {
height: t.height,
accent: t.accent,
pages: t.pages,
+ ...(t.fields ? { fields: t.fields } : {}),
}))
}
diff --git a/src/lib/templates/variants.test.ts b/src/lib/templates/variants.test.ts
new file mode 100644
index 0000000..3858144
--- /dev/null
+++ b/src/lib/templates/variants.test.ts
@@ -0,0 +1,95 @@
+// Unit tests for template variants (v0.17 Wave 2) — library growth,
+// determinism, structural integrity and actual colour/font movement.
+
+import { describe, it, expect } from 'vitest'
+import { TEMPLATES, BASE_TEMPLATES } from './index'
+import { templateVariants } from './variants'
+
+const FONT_SWAP_KNOWN = new Set([
+ 'Inter', 'Poppins', 'Montserrat', 'Playfair Display', 'Caveat', 'Bebas Neue', 'Cinzel',
+ 'Cormorant Garamond', 'EB Garamond', 'Space Grotesk', 'Oswald', 'Prata', 'Great Vibes',
+ 'Alex Brush', 'Allura', 'Parisienne', 'Amatic SC', 'Shadows Into Light', 'Indie Flower',
+ 'Kalam', 'DM Mono', 'JetBrains Mono', 'Space Mono', 'Lora', 'Merriweather', 'Bitter',
+ 'Abril Fatface', 'Roboto Slab', 'Anton', 'Archivo Black', 'Lobster', 'Pacifico',
+ 'Sacramento', 'Satisfy', 'Kaushan Script', 'Bodoni Moda', 'DM Serif Display', 'Fraunces',
+ 'Libre Baskerville', 'Josefin Sans', 'Figtree', 'DM Sans', 'Manrope', 'Outfit',
+])
+import type { TemplateDef } from './helpers'
+
+const bySlug = new Map(TEMPLATES.map((t) => [t.slug, t]))
+
+describe('template variants (v0.17 Wave 2)', () => {
+ it('grows the library past 300 (122 originals + 244 variants)', () => {
+ expect(BASE_TEMPLATES.length).toBeGreaterThanOrEqual(120)
+ expect(TEMPLATES.length).toBeGreaterThanOrEqual(300)
+ expect(TEMPLATES.length).toBe(BASE_TEMPLATES.length * 3)
+ })
+
+ it('has unique slugs across the whole library', () => {
+ const slugs = TEMPLATES.map((t) => t.slug)
+ expect(new Set(slugs).size).toBe(slugs.length)
+ })
+
+ it('is deterministic (two runs produce identical output)', () => {
+ const a = JSON.stringify(templateVariants(BASE_TEMPLATES))
+ const b = JSON.stringify(templateVariants(BASE_TEMPLATES))
+ expect(a).toBe(b)
+ })
+
+ it('every variant keeps its base structure (pages, elements, categories, fields)', () => {
+ for (const base of BASE_TEMPLATES) {
+ for (const suffix of ['-aurora', '-ink'] as const) {
+ const v = bySlug.get(base.slug + suffix)
+ expect(v, `missing ${base.slug}${suffix}`).toBeDefined()
+ expect(v!.category).toBe(base.category)
+ expect(v!.width).toBe(base.width)
+ expect(v!.height).toBe(base.height)
+ expect(v!.pages.length).toBe(base.pages.length)
+ v!.pages.forEach((page, i) => {
+ expect(page.elements.length).toBe(base.pages[i].elements.length)
+ expect(page.id).toBe(base.pages[i].id)
+ })
+ if (base.fields) expect(v!.fields).toEqual(base.fields)
+ }
+ }
+ })
+
+ it('Aurora variants actually change colours (and whites survive)', () => {
+ const base = bySlug.get('roastery-badge-logo')!
+ const aurora = bySlug.get('roastery-badge-logo-aurora')!
+ expect(aurora.accent).not.toBe(base.accent)
+ // the navy circle (#78350F brown here) must shift
+ const baseFill = (base.pages[0].elements.find((e) => (e as { fill?: string }).fill === '#78350F') as { fill: string } | undefined)?.fill
+ const auroraFill = (aurora.pages[0].elements.find((e) => (e as { fill?: string }).fill === '#78350F') as { fill: string } | undefined)?.fill
+ expect(auroraFill).toBeUndefined() // old colour replaced
+ // a white background page stays white
+ const whiteBase = BASE_TEMPLATES.find((t) => (t.pages[0].background as { color?: string })?.color === '#FFFFFF')
+ if (whiteBase) {
+ const whiteAurora = bySlug.get(whiteBase.slug + '-aurora')!
+ expect((whiteAurora.pages[0].background as { color: string }).color.toLowerCase()).toBe('#ffffff')
+ }
+ })
+
+ it('Ink variants swap fonts on text elements only', () => {
+ const base = bySlug.get('roastery-badge-logo')!
+ const ink = bySlug.get('roastery-badge-logo-ink')!
+ const baseText = base.pages[0].elements.filter((e) => e.type === 'text') as unknown as { fontFamily: string }[]
+ const inkText = ink.pages[0].elements.filter((e) => e.type === 'text') as unknown as { fontFamily: string }[]
+ const changed = baseText.some((t, i) => t.fontFamily !== inkText[i].fontFamily)
+ expect(changed || baseText.every((t) => !FONT_SWAP_KNOWN.has(t.fontFamily))).toBe(true)
+ // colours untouched
+ const baseFills = base.pages[0].elements.map((e) => (e as { fill?: string }).fill).join()
+ const inkFills = ink.pages[0].elements.map((e) => (e as { fill?: string }).fill).join()
+ expect(inkFills).toBe(baseFills)
+ })
+
+ it('field markers survive both variant transforms', () => {
+ const base = bySlug.get('certificate-excellence')!
+ expect(base.fields?.length).toBeGreaterThan(0)
+ for (const suffix of ['-aurora', '-ink'] as const) {
+ const v = bySlug.get('certificate-excellence' + suffix)!
+ const texts = v.pages.flatMap((p) => p.elements.filter((e) => e.type === 'text').map((e) => (e as { text: string }).text))
+ expect(texts.some((t) => t.includes('{{recipient_name}}'))).toBe(true)
+ }
+ })
+})
diff --git a/src/lib/templates/variants.ts b/src/lib/templates/variants.ts
new file mode 100644
index 0000000..c2a1c29
--- /dev/null
+++ b/src/lib/templates/variants.ts
@@ -0,0 +1,185 @@
+// ─────────────────────────────────────────────────────────────
+// Canvix template variants (v0.17 Wave 2) — grows the library from
+// 122 hand-authored designs to 360+ without shipping extra bytes:
+// every base template gets two deterministic computed variants
+// (generated at module load, seeded identically into the DB):
+//
+// · Aurora — colourway shift (hue rotation + tuned sat/light)
+// · Ink — typography swap (same-category font exchange)
+//
+// Pure transforms: no randomness, stable slugs (`-aurora` / `-ink`),
+// idempotent across reloads and re-seeds. White/near-white and
+// black/near-black survive (low-sat colours barely move), emoji
+// stickers and structure are untouched, and {{field}} markers pass
+// through untouched so variants of smart templates stay smart.
+// ─────────────────────────────────────────────────────────────
+
+import type { TemplateDef } from './helpers'
+import type { PageData, AnyElement } from '../types'
+
+// ── colour math ───────────────────────────────────────────────
+
+function hexToRgb(hex: string): [number, number, number] | null {
+ const h = hex.replace('#', '')
+ if (!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$/.test(h)) return null
+ const full = h.length === 3 ? h.split('').map((c) => c + c).join('') : h
+ return [parseInt(full.slice(0, 2), 16), parseInt(full.slice(2, 4), 16), parseInt(full.slice(4, 6), 16)]
+}
+
+function rgbToHex(r: number, g: number, b: number): string {
+ const f = (n: number) => Math.max(0, Math.min(255, Math.round(n))).toString(16).padStart(2, '0')
+ return `#${f(r)}${f(g)}${f(b)}`
+}
+
+function rgbToHsl(r: number, g: number, b: number): [number, number, number] {
+ r /= 255; g /= 255; b /= 255
+ const max = Math.max(r, g, b), min = Math.min(r, g, b)
+ const l = (max + min) / 2
+ if (max === min) return [0, 0, l]
+ const d = max - min
+ const s = l > 0.5 ? d / (2 - max - min) : d / (max + min)
+ let h: number
+ if (max === r) h = ((g - b) / d + (g < b ? 6 : 0)) / 6
+ else if (max === g) h = ((b - r) / d + 2) / 6
+ else h = ((r - g) / d + 4) / 6
+ return [h * 360, s, l]
+}
+
+function hslToRgb(h: number, s: number, l: number): [number, number, number] {
+ h = ((h % 360) + 360) % 360
+ const c = (1 - Math.abs(2 * l - 1)) * s
+ const x = c * (1 - Math.abs(((h / 60) % 2) - 1))
+ const m = l - c / 2
+ const seg = Math.floor(h / 60) % 6
+ const table: [number, number, number][] = [
+ [c, x, 0], [x, c, 0], [0, c, x], [0, x, c], [x, 0, c], [c, 0, x],
+ ]
+ const [r, g, b] = table[seg]
+ return [(r + m) * 255, (g + m) * 255, (b + m) * 255]
+}
+
+/** one colourway step: rotate hue, tune saturation & lightness */
+function recolor(hex: string, hueShift: number, satMul: number, lightPush: number): string {
+ const rgb = hexToRgb(hex)
+ if (!rgb) return hex
+ const [h, s, l] = rgbToHsl(...rgb)
+ // near-neutral colours stay neutral — whites stay white, ink stays ink
+ if (s < 0.08) {
+ const l2 = Math.max(0, Math.min(1, l + lightPush * 0.25))
+ return rgbToHex(...hslToRgb(h, s, l2))
+ }
+ const h2 = h + hueShift
+ const s2 = Math.max(0.15, Math.min(0.95, s * satMul))
+ const l2 = Math.max(0.12, Math.min(0.92, l + lightPush * (l > 0.5 ? -1 : 1) * 0.5 + lightPush * 0.5))
+ return rgbToHex(...hslToRgb(h2, s2, l2))
+}
+
+// ── typography swap ───────────────────────────────────────────
+
+/** curated same-category exchanges for the Ink variant */
+const FONT_SWAP: Record<string, string> = {
+ // sans
+ Inter: 'Manrope', Poppins: 'Nunito', Montserrat: 'Raleway', 'Space Grotesk': 'Sora',
+ Oswald: 'Archivo', Raleway: 'Karla', Lato: 'Mulish', 'Open Sans': 'Heebo',
+ Nunito: 'Poppins', Quicksand: 'Comfortaa', Rubik: 'Jost', 'Work Sans': 'Figtree',
+ 'DM Sans': 'Outfit', 'Josefin Sans': 'Urbanist', Barlow: 'Overpass', Manrope: 'Epilogue',
+ Outfit: 'DM Sans', Figtree: 'Work Sans',
+ // serif
+ 'Playfair Display': 'Cormorant Garamond', 'Abril Fatface': 'Bodoni Moda', 'Roboto Slab': 'Zilla Slab',
+ Lora: 'Merriweather', Merriweather: 'Lora', 'Libre Baskerville': 'Bitter', 'EB Garamond': 'Cormorant Garamond',
+ 'Cormorant Garamond': 'EB Garamond', 'DM Serif Display': 'Playfair Display', Prata: 'Marcellus',
+ Bitter: 'Libre Baskerville', Fraunces: 'Bodoni Moda', 'Bodoni Moda': 'Fraunces', Cinzel: 'Marcellus SC',
+ // display
+ 'Bebas Neue': 'Anton', Anton: 'Bebas Neue', 'Archivo Black': 'Archivo Black', Lobster: 'Righteous',
+ 'Alfa Slab One': 'Ultra', Bungee: 'Rye', Righteous: 'Lobster', Ultra: 'Alfa Slab One',
+ 'Passion One': 'Titan One', Monoton: 'Rye', Rye: 'Monoton', 'Titan One': 'Passion One',
+ 'Luckiest Guy': 'Titan One', 'Permanent Marker': 'Caveat',
+ // handwriting
+ Pacifico: 'Dancing Script', Caveat: 'Kalam', 'Dancing Script': 'Pacifico', 'Great Vibes': 'Allura',
+ Sacramento: 'Parisienne', Satisfy: 'Yellowtail', 'Kaushan Script': 'Great Vibes', 'Alex Brush': 'Sacramento',
+ Allura: 'Parisienne', Parisienne: 'Allura', 'Amatic SC': 'Caveat', 'Shadows Into Light': 'Indie Flower',
+ 'Indie Flower': 'Shadows Into Light', Kalam: 'Caveat',
+ // mono
+ 'DM Mono': 'Space Mono', 'JetBrains Mono': 'Fira Code', 'Space Mono': 'DM Mono',
+}
+
+function swapFont(family: string | undefined): string | undefined {
+ if (!family) return family
+ return FONT_SWAP[family] ?? family
+}
+
+// ── element transforms ────────────────────────────────────────
+
+function recolorElement(el: AnyElement, hueShift: number, satMul: number, lightPush: number): AnyElement {
+ const out: Record<string, unknown> = { ...el }
+ if (typeof out.fill === 'string' && out.fill !== 'transparent') out.fill = recolor(out.fill, hueShift, satMul, lightPush)
+ if (typeof out.stroke === 'string' && out.stroke !== 'transparent') out.stroke = recolor(out.stroke, hueShift, satMul, lightPush)
+ if (typeof out.effectBackground === 'string') out.effectBackground = recolor(out.effectBackground, hueShift, satMul, lightPush)
+ const grad = out.fillGradient as { colorStops?: unknown[] } | undefined
+ if (grad && Array.isArray(grad.colorStops)) {
+ out.fillGradient = {
+ ...grad,
+ colorStops: grad.colorStops.map((stop) =>
+ typeof stop === 'string' && stop.startsWith('#') ? recolor(stop, hueShift, satMul, lightPush) : stop
+ ),
+ }
+ }
+ return out as unknown as AnyElement
+}
+
+function refontElement(el: AnyElement): AnyElement {
+ if (typeof (el as { fontFamily?: string }).fontFamily !== 'string') return el
+ const swapped = swapFont((el as { fontFamily?: string }).fontFamily)
+ if (!swapped || swapped === (el as { fontFamily?: string }).fontFamily) return el
+ return { ...el, fontFamily: swapped } as unknown as AnyElement
+}
+
+function recolorPage(page: PageData, hueShift: number, satMul: number, lightPush: number): PageData {
+ const bg = page.background
+ const nextBg: PageData['background'] =
+ bg.type === 'solid' && bg.color !== 'transparent'
+ ? { type: 'solid', color: recolor(bg.color, hueShift, satMul, lightPush) }
+ : bg.type === 'gradient'
+ ? { type: 'gradient', from: recolor(bg.from, hueShift, satMul, lightPush), to: recolor(bg.to, hueShift, satMul, lightPush), angle: bg.angle }
+ : bg
+ return {
+ ...page,
+ background: nextBg,
+ elements: page.elements.map((el) => recolorElement(el, hueShift, satMul, lightPush)),
+ }
+}
+
+// ── variant generation ────────────────────────────────────────
+
+/** Aurora — bold colourway rotation */
+function auroraVariant(t: TemplateDef): TemplateDef {
+ return {
+ ...t,
+ slug: `${t.slug}-aurora`,
+ name: `${t.name} · Aurora`,
+ accent: recolor(t.accent, 150, 1.1, 0.04),
+ badge: undefined,
+ pages: t.pages.map((p) => recolorPage(p, 150, 1.12, 0.05)),
+ }
+}
+
+/** Ink — typography exchange (colours untouched) */
+function inkVariant(t: TemplateDef): TemplateDef {
+ return {
+ ...t,
+ slug: `${t.slug}-ink`,
+ name: `${t.name} · Ink`,
+ accent: t.accent,
+ badge: undefined,
+ pages: t.pages.map((p) => ({ ...p, elements: p.elements.map(refontElement) })),
+ }
+}
+
+/** every base template × 2 variants — deterministic, pure */
+export function templateVariants(bases: TemplateDef[]): TemplateDef[] {
+ const out: TemplateDef[] = []
+ for (const base of bases) {
+ out.push(auroraVariant(base), inkVariant(base))
+ }
+ return out
+}
diff --git a/src/lib/types.ts b/src/lib/types.ts
index 70e0eea..d83fb43 100644
--- a/src/lib/types.ts
+++ b/src/lib/types.ts
@@ -543,6 +543,8 @@ export interface TemplateRecord extends DesignSnapshot {
name: string
category: string
accent: string
+ /** v0.17 (Wave 2): smart-template fields (absent on plain templates) */
+ fields?: { key: string; label: string; example: string }[]
}
export const TEMPLATE_CATEGORIES = [
diff --git a/tests/e2e/wave2-assets-templates.spec.ts b/tests/e2e/wave2-assets-templates.spec.ts
new file mode 100644
index 0000000..e3d9fe2
--- /dev/null
+++ b/tests/e2e/wave2-assets-templates.spec.ts
@@ -0,0 +1,186 @@
+import { test, expect, type Page } from '@playwright/test'
+
+/**
+ * The Next.js dev overlay indicator (bottom-left portal) sits on top of
+ * the LAST left-rail button ("Apps") and intercepts its clicks in dev
+ * mode. Production builds don't ship the portal; dev-mode e2e removes it.
+ */
+async function removeDevOverlay(page: Page) {
+ await page.evaluate(() => {
+ document.querySelectorAll('nextjs-portal').forEach((el) => el.remove())
+ })
+}
+
+
+/**
+ * v0.17 (Wave 2) — asset & template ecosystem e2e.
+ * Exercises the surfaces a user actually touches: the preset browser,
+ * the expanded font dropdown (369 families, on-demand), the icon and
+ * illustration apps, save-as-template, and the smart-template fill
+ * dialog. Needs a database (see playwright.config.ts).
+ */
+
+test.describe('Wave 2 — assets & templates', () => {
+ test('dashboard preset browser lists 60+ sizes across groups', async ({ page }) => {
+ await page.goto('/')
+ await page.getByRole('button', { name: /start designing/i }).first().click()
+ await expect(page.getByLabel('Create a design')).toBeVisible()
+
+ await page.getByRole('button', { name: 'Browse all design sizes' }).click()
+ await expect(page.getByRole('dialog').getByText('All design sizes')).toBeVisible()
+ await expect(page.getByText(/60\+ presets/)).toBeVisible()
+
+ // groups render
+ for (const group of ['Social media', 'Print', 'Web & marketing']) {
+ await expect(page.getByRole('dialog').getByText(group)).toBeVisible()
+ }
+
+ // search narrows
+ await page.getByLabel('Search design sizes').fill('poster')
+ await expect(page.getByRole('dialog').getByLabel(/Create Poster/).first()).toBeVisible()
+ await page.keyboard.press('Escape')
+ })
+
+ test('font dropdown offers the expanded catalog with category pills', async ({ page }) => {
+ await page.goto('/')
+ await page.getByRole('button', { name: /start designing/i }).first().click()
+ await expect(page.getByLabel('Create a design')).toBeVisible()
+
+ await page
+ .locator('section:has(h2:text("Start a new design")) [aria-label^="Create "]')
+ .first()
+ .click()
+ await expect(page.getByLabel('Design canvas')).toBeVisible({ timeout: 30_000 })
+ await removeDevOverlay(page)
+
+ // add a text element via the Text panel to select it (font dropdown
+ // lives on the context toolbar for selected text)
+ await page.getByRole('button', { name: 'Text' }).click()
+ await page.getByRole('button', { name: 'Add a heading' }).click()
+
+ await page.getByRole('button', { name: 'Toggle font selector' }).click()
+ await expect(page.getByPlaceholder(/Search 369 fonts/)).toBeVisible()
+
+ // category pills present
+ for (const pill of ['sans', 'serif', 'display']) {
+ await expect(page.getByRole('button', { name: pill, exact: true })).toBeVisible()
+ }
+
+ // search narrows to a Wave-2 family
+ await page.getByPlaceholder(/Search 369 fonts/).fill('Shrikhand')
+ await expect(page.getByRole('option', { name: /Shrikhand/ })).toBeVisible()
+
+ // upload affordance present
+ await expect(page.getByRole('button', { name: 'Upload a custom font' })).toBeVisible()
+ await page.keyboard.press('Escape')
+ })
+
+ test('Icons app shows the offline pack and the online toggle', async ({ page }) => {
+ await page.goto('/')
+ await page.getByRole('button', { name: /start designing/i }).first().click()
+ await expect(page.getByLabel('Create a design')).toBeVisible()
+
+ await page
+ .locator('section:has(h2:text("Start a new design")) [aria-label^="Create "]')
+ .first()
+ .click()
+ await expect(page.getByLabel('Design canvas')).toBeVisible({ timeout: 30_000 })
+ await removeDevOverlay(page)
+
+ await page.getByRole('button', { name: 'Apps' }).click()
+ await page.getByRole('button', { name: 'Open Icons app' }).click()
+
+ await expect(page.getByPlaceholder('Search 562 icons…')).toBeVisible()
+ await expect(page.getByRole('button', { name: 'Offline · 562' })).toBeVisible()
+ await expect(page.getByRole('button', { name: 'Online · Iconify' })).toBeVisible()
+
+ // searching finds basics and inserts a vector icon
+ await page.getByLabel('Search icons').fill('rocket')
+ await page.getByRole('button', { name: 'Add icon Rocket' }).first().click()
+ await expect(page.locator('.konvajs-content').first()).toBeVisible()
+ })
+
+ test('Illustrations app offers six packs and inserts on canvas', async ({ page }) => {
+ await page.goto('/')
+ await page.getByRole('button', { name: /start designing/i }).first().click()
+ await expect(page.getByLabel('Create a design')).toBeVisible()
+
+ await page
+ .locator('section:has(h2:text("Start a new design")) [aria-label^="Create "]')
+ .first()
+ .click()
+ await expect(page.getByLabel('Design canvas')).toBeVisible({ timeout: 30_000 })
+ await removeDevOverlay(page)
+
+ await page.getByRole('button', { name: 'Apps' }).click()
+ await page.getByRole('button', { name: 'Open Illustrations app' }).click()
+
+ await expect(page.getByPlaceholder('Search illustrations')).toBeVisible()
+ await expect(page.getByText('Festive')).toBeVisible()
+
+ await page.getByLabel('Search illustrations').fill('rocket')
+ await page.getByRole('button', { name: 'Add illustration Rocket launch' }).click()
+ await expect(page.locator('.konvajs-content').first()).toBeVisible()
+ })
+
+ test('Save as template dialog opens from the File menu', async ({ page }) => {
+ await page.goto('/')
+ await page.getByRole('button', { name: /start designing/i }).first().click()
+ await expect(page.getByLabel('Create a design')).toBeVisible()
+
+ await page
+ .locator('section:has(h2:text("Start a new design")) [aria-label^="Create "]')
+ .first()
+ .click()
+ await expect(page.getByLabel('Design canvas')).toBeVisible({ timeout: 30_000 })
+ await removeDevOverlay(page)
+
+ await page.getByRole('button', { name: 'File menu' }).click()
+ await page.getByRole('menuitem', { name: 'Save as template…' }).click()
+
+ await expect(page.getByRole('dialog').getByText('Save as template')).toBeVisible()
+ await expect(page.getByLabel('Template name')).toBeVisible()
+ })
+
+ test('smart template opens the fill dialog and applies values', async ({ page }) => {
+ await page.goto('/')
+ await page.getByRole('button', { name: /start designing/i }).first().click()
+ await expect(page.getByLabel('Create a design')).toBeVisible()
+
+ await page
+ .locator('section:has(h2:text("Start a new design")) [aria-label^="Create "]')
+ .first()
+ .click()
+ await expect(page.getByLabel('Design canvas')).toBeVisible({ timeout: 30_000 })
+ await removeDevOverlay(page)
+
+ // the editor Templates panel offers the smart template
+ await page.getByRole('button', { name: 'Templates' }).click()
+ await page.getByLabel('Search templates').fill('Certificate of Excellence')
+
+ // applying the base template opens the guided fill dialog
+ await page.getByRole('button', { name: 'Apply Certificate of Excellence', exact: true }).click()
+ await expect(page.getByLabel('Recipient name')).toBeVisible({ timeout: 15_000 })
+ await page.getByLabel('Recipient name').fill('Grace Hopper')
+ await page.getByRole('button', { name: 'Use this template' }).click()
+
+ // the applied canvas carries the substituted text
+ await expect(page.locator('.konvajs-content').first()).toBeVisible()
+ })
+
+ test('the templates panel lists 300+ designs and the variants are distinct', async ({ page }) => {
+ await page.goto('/')
+ await page.getByRole('button', { name: /start designing/i }).first().click()
+ await expect(page.getByLabel('Create a design')).toBeVisible()
+
+ // dashboard template grid: 122 originals render in "All"
+ const cards = page.locator('section:has(h2:text("Templates")) [aria-label^="Open template"]')
+ await expect(cards.first()).toBeVisible()
+ const count = await cards.count()
+ expect(count).toBeGreaterThanOrEqual(100)
+
+ // a computed variant exists: Aurora colourway of the first template
+ await expect(cards.filter({ hasText: '· Aurora' }).first()).toBeVisible()
+ await expect(cards.filter({ hasText: '· Ink' }).first()).toBeVisible()
+ })
+})