Dough Git

commit

Replace iconsax with Material icons via unplugin-icons

commit
4b433245247dda5cc36ac244fae3f1da14001104
author
Clove Twilight <[email protected]>
date
2026-11-15 01:16
Matches the web repo: each ~icons/ic/outline-* import becomes an inline
SVG component at build time, so icons render on the server instead of
after a client-side custom element loads. Drops the iconsax package, its
client hook, element types and CSS selectors.

Co-Authored-By: Sandrone <[email protected]>

diff --git a/bun.lock b/bun.lock
index 36c868c..439ad11 100644
--- a/bun.lock
+++ b/bun.lock
@@ -8,24 +8,27 @@
         "@hono/zod-openapi": "^1.6.3",
         "doughmination-api": "^1.6.0",
         "hono": "^4.13.18",
-        "iconsax": "^0.1.1",
         "simple-icons": "npm:@icons-pack/svelte-simple-icons@^7.2.0",
         "zod": "^4.6.7",
       },
       "devDependencies": {
         "@cloudflare/workers-types": "^5.20261029.1",
+        "@iconify-json/ic": "^1.2.4",
         "@sveltejs/adapter-cloudflare": "8.0.1",
         "@sveltejs/kit": "3.1.0",
         "@sveltejs/vite-plugin-svelte": "7.3.1",
         "svelte": "5.57.3",
         "svelte-check": "4.7.7",
         "typescript": "~6.0.3",
+        "unplugin-icons": "^24.0.0",
         "vite": "8.3.5",
         "wrangler": "4.154.0",
       },
     },
   },
   "packages": {
+    "@antfu/install-pkg": ["@antfu/[email protected]", "", { "dependencies": { "package-manager-detector": "^1.3.0", "tinyexec": "^1.0.1" } }, "sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ=="],
+
     "@asteasolutions/zod-to-openapi": ["@asteasolutions/[email protected]", "", { "dependencies": { "openapi3-ts": "^4.6.0" }, "peerDependencies": { "zod": "^4.0.0" } }, "sha512-pLMeRgRYS7/vZIgAAkOe2P6+XGTifR1MT9pqDoxZ11EmcJJ+DPmdPqLN8ZZF4U8R9KHCCQCS9c2wtuE8wSrfkw=="],
 
     "@cloudflare/kv-asset-handler": ["@cloudflare/[email protected]", "", {}, "sha512-jxQYkj8dSIzc0cD6cMMNdOc1UVjqSqu8BZdor5s8cGjW2I8BjODt/kWPVdY+u9zj3ms75Q5qaZgnxUad83+eAg=="],
@@ -104,6 +107,12 @@
 
     "@hono/zod-validator": ["@hono/[email protected]", "", { "peerDependencies": { "hono": ">=4.11.2", "zod": "^3.25.0 || ^4.0.0" } }, "sha512-iiv6w0qrIc0arfvCtUqBWsvl4fXjzaTcQcCJTTtCnkawF9HHGE+KjEl0ox3gQJ6rKZEgE3mLExlQCF72M+mNuw=="],
 
+    "@iconify-json/ic": ["@iconify-json/[email protected]", "", { "dependencies": { "@iconify/types": "*" } }, "sha512-pzPMmrZrBQuwT7nmtrYdkttun8KalRGgZPIL1Ny9KpF2zjRGIUPN+npTfuD3lrgO/OnSwAoJWuekQwBpt/Cqrw=="],
+
+    "@iconify/types": ["@iconify/[email protected]", "", {}, "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg=="],
+
+    "@iconify/utils": ["@iconify/[email protected]", "", { "dependencies": { "@antfu/install-pkg": "^2.0.1", "@iconify/types": "^2.0.0", "import-meta-resolve": "^4.2.0" } }, "sha512-JZHlwdID+dy+lTgbYC8NEC4zeugqeYsc6jewvzb4c58kHauJn+X7rNwQjxz5p2qSjqaEeQoLkCIQ9v/H4PK0/w=="],
+
     "@img/colour": ["@img/[email protected]", "", {}, "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ=="],
 
     "@img/sharp-darwin-arm64": ["@img/[email protected]", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-arm64": "1.3.4" }, "os": "darwin", "cpu": "arm64" }, "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg=="],
@@ -244,6 +253,8 @@
 
     "clsx": ["[email protected]", "", {}, "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA=="],
 
+    "confbox": ["[email protected]", "", {}, "sha512-ZUAKhKlkCOrIGKc8cj7zek9s9z1mveHif/25nUshI2BzCRzF7KH7KHa+Lnh2ubq+e1tIlaFuP763mzW4qVoehg=="],
+
     "cookie": ["[email protected]", "", {}, "sha512-yuToqVvRrj6pfDXREyQAAv8SkAEk/8GS3jQRTiUMm66TVtBYmqQeoEjL2Lmq8Rpo6271vH76InTChTitEAm65w=="],
 
     "deepmerge": ["[email protected]", "", {}, "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A=="],
@@ -262,13 +273,15 @@
 
     "esrap": ["[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15" }, "peerDependencies": { "@typescript-eslint/types": "^8.2.0" }, "optionalPeers": ["@typescript-eslint/types"] }, "sha512-CQPcneEHw/czj32uwQC52nYnax8H4SXt25FCM+LIwGZ49cMIxpOj3bP8wmzcI+Z0HIy5KkClaPhRLfCySzwHPA=="],
 
+    "exsolve": ["[email protected]", "", {}, "sha512-h1pQPR9XoeSMdntRNCjyTznaume4UpfXrULBnlkZ2CUM/G5eSa+pBByGldO5uR8dxbPC+OuJXsPPNf+JZ81ADg=="],
+
     "fdir": ["[email protected]", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],
 
     "fsevents": ["[email protected]", "", { "os": "darwin", "hasInstallScript": true }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="],
 
     "hono": ["[email protected]", "", {}, "sha512-H9q/E1XizaWstJxUW881dmLxEj+t/TrGGnyxINkm4+sK0qUwsMtFdo2BWI9Vs3cIS19MU6b6iCijoUoEf4f3DA=="],
 
-    "iconsax": ["[email protected]", "", { "bin": { "iconsax": "bin/iconsax.js" } }, "sha512-/HXomG+SuhytKH/Yw4ZdunDGyWP02Osuk/pjony1k9CCMOsg7dUpnomu7HZUOHNu0yK0b3phErjH2IgUTJFjPA=="],
+    "import-meta-resolve": ["[email protected]", "", {}, "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg=="],
 
     "is-reference": ["[email protected]", "", { "dependencies": { "@types/estree": "^1.0.6" } }, "sha512-ixkJoqQvAP88E6wLydLGGqCJsrFUnqoH6HnaczB8XmDH1oaWU+xxdptvikTgaEhtZ53Ky6YXiBuUI2WXLMCwjw=="],
 
@@ -298,12 +311,16 @@
 
     "lightningcss-win32-x64-msvc": ["[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA=="],
 
+    "local-pkg": ["[email protected]", "", { "dependencies": { "mlly": "^1.7.4", "pkg-types": "^2.3.0", "quansync": "^0.2.11" } }, "sha512-++gUqRDEvcnN6Zhqrr+y/CkVEHhlrR96vZn3nZZPYzMcBUyBtTKzB9NadClFIsIVSsu+3i9tfk/erqy9kAmt7Q=="],
+
     "locate-character": ["[email protected]", "", {}, "sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA=="],
 
     "magic-string": ["[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.6.0" } }, "sha512-oLLC2+YvQUfAa+vxoufE/yc1icb87M9iXIRqAoR/2EhE/8cb3SF/+Gi0c2By1B+5Vz2e2vQtUvHiu1+63Znh+w=="],
 
     "miniflare": ["[email protected]", "", { "dependencies": { "@cspotcode/source-map-support": "0.8.1", "sharp": "0.35.5", "undici": "7.30.1", "workerd": "1.20261023.1", "ws": "8.21.0", "youch": "4.1.0-beta.10" } }, "sha512-hgm1AJhwC6W+iaRhvMnfs7bPOsxjKa8LXTFR2WVPA5qA9KhpyBd2LddmT+9M9tm65VZ8YWkwQGvB+cKbqJoKeA=="],
 
+    "mlly": ["[email protected]", "", { "dependencies": { "acorn": "^8.16.0", "pathe": "^2.0.3", "pkg-types": "^1.3.1", "ufo": "^1.6.3" } }, "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA=="],
+
     "mri": ["[email protected]", "", {}, "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA=="],
 
     "mrmime": ["[email protected]", "", {}, "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ=="],
@@ -314,6 +331,8 @@
 
     "openapi3-ts": ["[email protected]", "", { "dependencies": { "yaml": "^2.9.1" } }, "sha512-gyyil3DweqhXiEhTqtAs9wwRLfWHmetwhI4kmM5Rn0d6gtmK863Ki7qqbQnp9+Wwlqoe3B1LFWj7kMp5ctE4rQ=="],
 
+    "package-manager-detector": ["[email protected]", "", {}, "sha512-zAMfbta9nPA8AKkA4WdmNAT8R8s6Dk0/xwPsqNnRidMFcLo1YkLuPDTgs2f64XdzS8vbLNnoJ+uUIkgbz7oRHA=="],
+
     "path-to-regexp": ["[email protected]", "", {}, "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ=="],
 
     "pathe": ["[email protected]", "", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="],
@@ -322,8 +341,12 @@
 
     "picomatch": ["[email protected]", "", {}, "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA=="],
 
+    "pkg-types": ["[email protected]", "", { "dependencies": { "confbox": "^0.3.1", "exsolve": "^1.1.3", "pathe": "^2.0.3" } }, "sha512-07Fys7iVx0X6TcviMOgogM1Lk33ZyqOezMnU79S+kffWqwolG/5W9V8EgQSeYCIfFTYVgssRbnH630Oa2+soBA=="],
+
     "postcss": ["[email protected]", "", { "dependencies": { "nanoid": "^3.3.20", "picocolors": "^1.1.1", "source-map-js": "^1.2.2" } }, "sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g=="],
 
+    "quansync": ["[email protected]", "", {}, "sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA=="],
+
     "react": ["[email protected]", "", {}, "sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw=="],
 
     "readdirp": ["[email protected]", "", {}, "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg=="],
@@ -348,6 +371,8 @@
 
     "svelte-check": ["[email protected]", "", { "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", "@sveltejs/load-config": "^0.2.3", "chokidar": "^4.0.1", "fdir": "^6.2.0", "picocolors": "^1.0.0", "sade": "^1.7.4" }, "peerDependencies": { "svelte": "^4.0.0 || ^5.0.0-next.0", "typescript": "^5.0.0 || ^6.0.0" }, "bin": { "svelte-check": "bin/svelte-check" } }, "sha512-Ge2IMdeTpbJuzNFGRiiMg0RWgbScysKQu7xwcyFJ22+DU9F5nPX51+Q3gHmGqRxYQMx2knreVWt5oCtfe0vf2g=="],
 
+    "tinyexec": ["[email protected]", "", {}, "sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA=="],
+
     "tinyglobby": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g=="],
 
     "totalist": ["[email protected]", "", {}, "sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ=="],
@@ -356,14 +381,22 @@
 
     "typescript": ["[email protected]", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="],
 
+    "ufo": ["[email protected]", "", {}, "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA=="],
+
     "undici": ["[email protected]", "", {}, "sha512-03KrMbjIFDWQR5RNPrSw3bd1r12JpyFQl9/yxjUbJtqkjmllqC5lFjZh6ujeuJCKr8EOQvRW872Oy/az+nLYxg=="],
 
     "unenv": ["[email protected]", "", { "dependencies": { "pathe": "^2.0.3" } }, "sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw=="],
 
+    "unplugin": ["[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "@rolldown/pluginutils": "^1.0.1", "picomatch": "^4.0.7", "webpack-virtual-modules": "^0.6.2" }, "peerDependencies": { "@farmfe/core": "*", "@rsbuild/core": "*", "@rspack/core": "*", "bun-types-no-globals": "*", "esbuild": "*", "rolldown": "*", "rollup": "*", "unloader": "*", "vite": "*", "webpack": "*" }, "optionalPeers": ["@farmfe/core", "@rsbuild/core", "@rspack/core", "bun-types-no-globals", "esbuild", "rolldown", "rollup", "unloader", "vite", "webpack"] }, "sha512-GrM2uq3DQo3hvLU2FjeYhooJ8BY9N6j1Fbzgx7Pta3VVJevsD3VP4dPjZkZOS0mLvN8w9zzr9OlP+31bSMyuLw=="],
+
+    "unplugin-icons": ["[email protected]", "", { "dependencies": { "@antfu/install-pkg": "^1.1.0", "@iconify/utils": "^3.1.7", "local-pkg": "^1.2.1", "obug": "^2.2.1", "unplugin": "^3.3.0" }, "peerDependencies": { "@svgr/core": ">=7.0.0", "@svgx/core": "^1.0.1", "@vue/compiler-sfc": "^3.0.2", "@vue/compiler-vapor": "^3.6.0-rc.5", "svelte": "^3.0.0 || ^4.0.0 || ^5.0.0" }, "optionalPeers": ["@svgr/core", "@svgx/core", "@vue/compiler-sfc", "@vue/compiler-vapor", "svelte"] }, "sha512-wV6c7I0PtiIP8KIU7Z1Ukyc2uzgY9ind3RXNu7j63L9qTWDn7CzLnW9FD57DKbfGpWKQv3qyV2PCtBG8Y5Llcg=="],
+
     "vite": ["[email protected]", "", { "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", "postcss": "^8.5.30", "rolldown": "~1.2.14", "tinyglobby": "^0.2.17" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "@vitejs/devtools": "^0.7.1 || ^0.8.0", "esbuild": "^0.27.0 || ^0.28.0", "jiti": ">=1.21.0", "less": "^4.0.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "@vitejs/devtools", "esbuild", "jiti", "less", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ=="],
 
     "vitefu": ["[email protected]", "", { "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["vite"] }, "sha512-ub4okH7Z5KLjb6hDyjqrGXqWtWvoYdU3IGm/NorpgHncKoLTCfRIbvlhBm7r0YstIaQRYlp4yEbFqDcKSzXSSg=="],
 
+    "webpack-virtual-modules": ["[email protected]", "", {}, "sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ=="],
+
     "workerd": ["[email protected]", "", { "optionalDependencies": { "@cloudflare/workerd-darwin-64": "1.20261023.1", "@cloudflare/workerd-darwin-arm64": "1.20261023.1", "@cloudflare/workerd-linux-64": "1.20261023.1", "@cloudflare/workerd-linux-arm64": "1.20261023.1", "@cloudflare/workerd-windows-64": "1.20261023.1" }, "hasInstallScript": true, "bin": { "workerd": "bin/workerd" } }, "sha512-NeofJFyaYNpqKpFRJW3ApuonaerPd6/JWlfTtLDYf2A6ygqrDEFnYgEXmc0hhOxqnJsSM+kXJN6VebPojzRrsg=="],
 
     "wrangler": ["[email protected]", "", { "dependencies": { "@cloudflare/kv-asset-handler": "0.5.0", "@cloudflare/unenv-preset": "2.16.2", "blake3-wasm": "2.1.5", "esbuild": "0.28.2", "miniflare": "5.20261023.1-beta", "path-to-regexp": "6.3.0", "unenv": "2.0.0-rc.24", "workerd": "1.20261023.1" }, "optionalDependencies": { "fsevents": "2.3.3" }, "peerDependencies": { "@cloudflare/workers-types": "^5.20261023.1" }, "optionalPeers": ["@cloudflare/workers-types"], "bin": { "wrangler": "bin/wrangler.js", "wrangler2": "bin/wrangler.js", "cf-wrangler": "bin/cf-wrangler.js" } }, "sha512-duA4dckBE/51ibAlGh2mUYcvGiu7sZFcn61I+KfNEeK5KQzKKEth9Xf5ROatoPBOebYPz0gfknXOCjBhwLOo8Q=="],
@@ -382,8 +415,14 @@
 
     "@cspotcode/source-map-support/@jridgewell/trace-mapping": ["@jridgewell/[email protected]", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.0.3", "@jridgewell/sourcemap-codec": "^1.4.10" } }, "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ=="],
 
+    "@iconify/utils/@antfu/install-pkg": ["@antfu/[email protected]", "", { "dependencies": { "package-manager-detector": "^1.8.0", "tinyexec": "^1.3.1" } }, "sha512-sdg9NxU3zR4Mnawfbc/x6GB5Wf17WYud5qOuEuxXjaKpYpMkISSJEjItGebXJ2bQ4DIcly4NYH23mtkGJjvKUw=="],
+
+    "mlly/pkg-types": ["[email protected]", "", { "dependencies": { "confbox": "^0.1.8", "mlly": "^1.7.4", "pathe": "^2.0.1" } }, "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ=="],
+
     "svelte/magic-string": ["[email protected]", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="],
 
     "youch/cookie": ["[email protected]", "", {}, "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ=="],
+
+    "mlly/pkg-types/confbox": ["[email protected]", "", {}, "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w=="],
   }
 }
diff --git a/package.json b/package.json
index 8a75760..7286172 100644
--- a/package.json
+++ b/package.json
@@ -19,18 +19,19 @@
     "@hono/zod-openapi": "^1.6.3",
     "doughmination-api": "^1.6.0",
     "hono": "^4.13.18",
-    "iconsax": "^0.1.1",
     "simple-icons": "npm:@icons-pack/svelte-simple-icons@^7.2.0",
     "zod": "^4.6.7"
   },
   "devDependencies": {
     "@cloudflare/workers-types": "^5.20261029.1",
+    "@iconify-json/ic": "^1.2.4",
     "@sveltejs/adapter-cloudflare": "8.0.1",
     "@sveltejs/kit": "3.1.0",
     "@sveltejs/vite-plugin-svelte": "7.3.1",
     "svelte": "5.57.3",
     "svelte-check": "4.7.7",
     "typescript": "~6.0.3",
+    "unplugin-icons": "^24.0.0",
     "vite": "8.3.5",
     "wrangler": "4.154.0"
   }
diff --git a/src/app.d.ts b/src/app.d.ts
index 91a5cc8..690a8d5 100644
--- a/src/app.d.ts
+++ b/src/app.d.ts
@@ -4,6 +4,8 @@
  * See LICENCE.md in the project root for full licence information.
  */
 
+/// <reference types="unplugin-icons/types/svelte5" />
+
 import type { PluralEnv } from "#lib/server/plural/types.ts";
 
 declare global {
@@ -25,17 +27,4 @@ declare global {
   }
 }
 
-// <iconsax-icon> is registered by `import "iconsax"` in src/hooks.client.ts
-declare module "svelte/elements" {
-  export interface SvelteHTMLElements {
-    "iconsax-icon": HTMLAttributes<HTMLElement> & {
-      name: string;
-      type?: "bold" | "broken" | "bulk" | "linear" | "outline" | "twotone";
-      size?: number | string;
-      color?: string;
-      pro?: boolean;
-    };
-  }
-}
-
 export {};
diff --git a/src/hooks.client.ts b/src/hooks.client.ts
deleted file mode 100644
index 8b49fdb..0000000
--- a/src/hooks.client.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-/* src/hooks.client.ts
- * Copyright (c) 2026 Clove Nytrix Doughmination Twilight
- * Licensed under the DASL-1.0 Licence.
- * See LICENCE.md in the project root for full licence information.
- */
-
-// Registers <iconsax-icon>. Client-only: the package extends HTMLElement, which doesn't exist during SSR
-import "iconsax";
diff --git a/src/lib/components/Footer.svelte b/src/lib/components/Footer.svelte
index a7ec5fd..b347c5b 100644
--- a/src/lib/components/Footer.svelte
+++ b/src/lib/components/Footer.svelte
@@ -5,6 +5,7 @@
 -->
 
 <script lang="ts">
+  import IcFavorite from "~icons/ic/outline-favorite";
   import "#lib/styles/footer.css";
   import { SiGithub } from "simple-icons";
   import { fallbackAvatar, mainSite } from "#lib";
@@ -19,7 +20,7 @@
 
     <span>
       part of <a href={mainSite}>doughmination.gay</a>
-      <iconsax-icon name="heart" type="bulk" size="16" class="beat"></iconsax-icon>
+      <IcFavorite width="16" height="16" class="beat" />
     </span>
 
     <span>
diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte
index 0907934..5487e32 100644
--- a/src/lib/components/Header.svelte
+++ b/src/lib/components/Header.svelte
@@ -5,6 +5,12 @@
 -->
 
 <script lang="ts">
+  import IcLogin from "~icons/ic/outline-login";
+  import IcLogout from "~icons/ic/outline-logout";
+  import IcPerson from "~icons/ic/outline-person";
+  import IcPublic from "~icons/ic/outline-public";
+  import IcSettings from "~icons/ic/outline-settings";
+  import IcWorkspacePremium from "~icons/ic/outline-workspace-premium";
   import "#lib/styles/header.css";
   import { goto } from "$app/navigation";
   import { fallbackAvatar } from "#lib";
@@ -33,26 +39,26 @@
     {#if auth.signedIn}
       {#if auth.isOwner}
         <a href="/owner/dash">
-          <iconsax-icon name="crown" type="bulk" size="24" class="nav-icon"></iconsax-icon>Owner
+          <IcWorkspacePremium width="24" height="24" class="nav-icon" />Owner
         </a>
       {/if}
       {#if auth.isAdmin}
         <a href="/admin/dash">
-          <iconsax-icon name="setting-2" type="bulk" size="24" class="nav-icon"></iconsax-icon>Admin
+          <IcSettings width="24" height="24" class="nav-icon" />Admin
         </a>
       {/if}
       <a href="/user/dash">
-        <iconsax-icon name="global" type="bulk" size="24" class="nav-icon"></iconsax-icon>Public
+        <IcPublic width="24" height="24" class="nav-icon" />Public
       </a>
       <a href="/user/profile">
-        <iconsax-icon name="user" type="bulk" size="24" class="nav-icon"></iconsax-icon>Profile
+        <IcPerson width="24" height="24" class="nav-icon" />Profile
       </a>
       <button type="button" class="nav-button" onclick={signOut}>
-        <iconsax-icon name="logout-01" type="bulk" size="24" class="nav-icon"></iconsax-icon>Sign out
+        <IcLogout width="24" height="24" class="nav-icon" />Sign out
       </button>
     {:else if auth.ready}
       <a href="/user/login">
-        <iconsax-icon name="login-01" type="bulk" size="24" class="nav-icon"></iconsax-icon>Sign in
+        <IcLogin width="24" height="24" class="nav-icon" />Sign in
       </a>
     {/if}
   </nav>
diff --git a/src/lib/components/Home.svelte b/src/lib/components/Home.svelte
index cbb9cb9..aa1c46e 100644
--- a/src/lib/components/Home.svelte
+++ b/src/lib/components/Home.svelte
@@ -5,6 +5,14 @@
 -->
 
 <script lang="ts">
+  import type { Component } from "svelte";
+  import IcCheckCircle from "~icons/ic/outline-check-circle";
+  import IcFilterList from "~icons/ic/outline-filter-list";
+  import IcGppBad from "~icons/ic/outline-gpp-bad";
+  import IcInfo from "~icons/ic/outline-info";
+  import IcReportProblem from "~icons/ic/outline-report-problem";
+  import IcSearch from "~icons/ic/outline-search";
+  import IcWarningAmber from "~icons/ic/outline-warning-amber";
   import type { FrontersResponse, PluralMember, PluralSystem } from "doughmination-api/server";
   import { replaceState } from "$app/navigation";
   import { page } from "$app/state";
@@ -32,12 +40,12 @@
     "highly at risk": "Highly At Risk",
   };
 
-  const MENTAL_ICONS: Record<string, string> = {
-    safe: "tick-circle",
-    unstable: "danger",
-    idealizing: "info-circle",
-    "self-harming": "warning-2",
-    "highly at risk": "shield-cross",
+  const MENTAL_ICONS: Record<string, Component> = {
+    safe: IcCheckCircle,
+    unstable: IcReportProblem,
+    idealizing: IcInfo,
+    "self-harming": IcWarningAmber,
+    "highly at risk": IcGppBad,
   };
 
   let search = $state("");
@@ -150,8 +158,9 @@
   </div>
 
   {#if mental}
+    {@const MentalIcon = MENTAL_ICONS[mental.level] ?? IcInfo}
     <div class="mental mental-{mental.level.replaceAll(' ', '-')}">
-      <iconsax-icon name={MENTAL_ICONS[mental.level] ?? "info-circle"} type="bulk" size="32"></iconsax-icon>
+      <MentalIcon width="32" height="32" />
       <div>
         <p><span class="muted">status:</span> <span class="mental-label">[ {MENTAL_LABELS[mental.level] ?? mental.level} ]</span></p>
         {#if mental.notes}
@@ -206,7 +215,7 @@
   <div class="controls">
     <div class="filters" bind:this={filtersBox}>
       <button type="button" class:primary={filtersOpen} aria-expanded={filtersOpen} onclick={() => (filtersOpen = !filtersOpen)}>
-        <iconsax-icon name="filter" type="bulk" size="16"></iconsax-icon>Filters
+        <IcFilterList width="16" height="16" />Filters
         {#if activeFilters > 0}<span class="badge accent">{activeFilters}</span>{/if}
       </button>
 
@@ -259,7 +268,7 @@
     {/if}
 
     <label class="search">
-      <iconsax-icon name="search-normal" type="bulk" size="18"></iconsax-icon>
+      <IcSearch width="18" height="18" />
       <input id="member-search" type="text" placeholder="Search members..." bind:value={search} />
       {#if search}
         <button type="button" class="chip-x" aria-label="Clear search" onclick={() => (search = "")}>✕</button>
diff --git a/src/lib/components/PageHead.svelte b/src/lib/components/PageHead.svelte
index afdc625..27007d1 100644
--- a/src/lib/components/PageHead.svelte
+++ b/src/lib/components/PageHead.svelte
@@ -5,6 +5,7 @@
 -->
 
 <script lang="ts">
+  import IcArrowBack from "~icons/ic/outline-arrow-back";
   let {
     eyebrow,
     title,
@@ -31,7 +32,7 @@
   </div>
   {#if back}
     <a class="btn" href={back.href}>
-      <iconsax-icon name="arrow-left-01" type="bulk" size="16"></iconsax-icon>{back.label}
+      <IcArrowBack width="16" height="16" />{back.label}
     </a>
   {/if}
 </div>
diff --git a/src/lib/components/Protected.svelte b/src/lib/components/Protected.svelte
index e396499..08bbeb7 100644
--- a/src/lib/components/Protected.svelte
+++ b/src/lib/components/Protected.svelte
@@ -5,6 +5,7 @@
 -->
 
 <script lang="ts">
+  import IcArrowBack from "~icons/ic/outline-arrow-back";
   import type { Snippet } from "svelte";
   import { goto } from "$app/navigation";
   import { page } from "$app/state";
@@ -47,7 +48,7 @@
       <p class="muted">This area is restricted to {denied === "Owner" ? "system owners" : `${denied.toLowerCase()}s`} only.</p>
       <div>
         <button type="button" onclick={() => history.back()}>
-          <iconsax-icon name="arrow-left-01" type="bulk" size="16"></iconsax-icon>Go back
+          <IcArrowBack width="16" height="16" />Go back
         </button>
       </div>
     </section>
diff --git a/src/lib/styles/global.css b/src/lib/styles/global.css
index 71f0905..9bb9d75 100644
--- a/src/lib/styles/global.css
+++ b/src/lib/styles/global.css
@@ -8,9 +8,11 @@
   box-sizing: border-box;
 }
 
-/* <iconsax-icon> renders its <svg> inside itself, so size that via `... svg` selectors */
-iconsax-icon {
-  display: inline-flex;
+/* Inline Material icons never shrink beside text */
+a > svg,
+button > svg,
+.tile-icon > svg,
+.mental > svg {
   flex-shrink: 0;
 }
 
diff --git a/src/lib/styles/header.css b/src/lib/styles/header.css
index ab05a2b..22cbb4c 100644
--- a/src/lib/styles/header.css
+++ b/src/lib/styles/header.css
@@ -82,8 +82,7 @@ header nav a:hover {
   outline: 1px solid var(--line);
 }
 
-.nav-icon,
-.nav-icon svg {
+.nav-icon {
   width: 1.2em;
   height: 1.2em;
   flex-shrink: 0;
diff --git a/src/lib/styles/system.css b/src/lib/styles/system.css
index 7719604..33b1432 100644
--- a/src/lib/styles/system.css
+++ b/src/lib/styles/system.css
@@ -124,7 +124,7 @@
   --state: var(--bad);
 }
 
-.mental iconsax-icon {
+.mental svg {
   color: var(--state);
 }
 
diff --git a/src/lib/styles/ui.css b/src/lib/styles/ui.css
index 3998321..94f4f7d 100644
--- a/src/lib/styles/ui.css
+++ b/src/lib/styles/ui.css
@@ -138,8 +138,8 @@ button.small,
   font-size: 0.82rem;
 }
 
-button iconsax-icon svg,
-.btn iconsax-icon svg {
+button svg,
+.btn svg {
   width: 1.1em;
   height: 1.1em;
 }
diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte
index 4945f19..11dbf26 100644
--- a/src/routes/+error.svelte
+++ b/src/routes/+error.svelte
@@ -5,6 +5,7 @@
 -->
 
 <script lang="ts">
+  import IcArrowBack from "~icons/ic/outline-arrow-back";
   import { page } from "$app/state";
 
   const notFound = $derived(page.status === 404);
@@ -21,7 +22,7 @@
     <h1>{notFound ? "Page not found" : (page.error?.title ?? "Something went wrong")}</h1>
     <p class="muted">{notFound ? "There's nothing at that address." : page.error?.message}</p>
     <p>
-      <a class="btn" href="/"><iconsax-icon name="arrow-left-01" type="bulk" size="16"></iconsax-icon>Return to home</a>
+      <a class="btn" href="/"><IcArrowBack width="16" height="16" />Return to home</a>
     </p>
   </section>
 </div>
diff --git a/src/routes/[member_id]/+page.svelte b/src/routes/[member_id]/+page.svelte
index e6956d0..9e2ae18 100644
--- a/src/routes/[member_id]/+page.svelte
+++ b/src/routes/[member_id]/+page.svelte
@@ -5,6 +5,7 @@
 -->
 
 <script lang="ts">
+  import IcArrowBack from "~icons/ic/outline-arrow-back";
   import { avatarFallback, fallbackAvatar, memberName, siteName, siteUrl } from "#lib";
   import { normalizeColor, readableOnDark } from "#lib/colour.ts";
   import PrideSwatch from "#lib/components/PrideSwatch.svelte";
@@ -123,7 +124,7 @@
     {/if}
 
     <div>
-      <a class="btn" href="/"><iconsax-icon name="arrow-left-01" type="bulk" size="16"></iconsax-icon>Back to members</a>
+      <a class="btn" href="/"><IcArrowBack width="16" height="16" />Back to members</a>
     </div>
   </article>
 </div>
diff --git a/src/routes/admin/dash/+page.svelte b/src/routes/admin/dash/+page.svelte
index 3633cf8..9fad0e0 100644
--- a/src/routes/admin/dash/+page.svelte
+++ b/src/routes/admin/dash/+page.svelte
@@ -5,6 +5,14 @@
 -->
 
 <script lang="ts">
+  import IcChat from "~icons/ic/outline-chat";
+  import IcFavorite from "~icons/ic/outline-favorite";
+  import IcFlag from "~icons/ic/outline-flag";
+  import IcLabel from "~icons/ic/outline-label";
+  import IcManageAccounts from "~icons/ic/outline-manage-accounts";
+  import IcMonitorHeart from "~icons/ic/outline-monitor-heart";
+  import IcRefresh from "~icons/ic/outline-refresh";
+  import IcSwapHoriz from "~icons/ic/outline-swap-horiz";
   import { errorText, type Message as MessageType } from "#lib";
   import { client } from "#lib/api.ts";
   import { auth } from "#lib/auth.svelte.ts";
@@ -17,46 +25,46 @@
       href: "/admin/members",
       owner: true,
       label: "Member manager",
-      icon: "profile-2user",
+      icon: IcManageAccounts,
       desc: "Create and edit members, import data",
     },
     {
       href: "/admin/switch",
       label: "Switch manager",
-      icon: "refresh-circle",
+      icon: IcSwapHoriz,
       desc: "Manage fronting members",
     },
     {
       href: "/admin/mental",
       label: "Mental health",
-      icon: "activity",
+      icon: IcMonitorHeart,
       desc: "Update mental state",
     },
     {
       href: "/admin/status",
       label: "Status manager",
-      icon: "message-text",
+      icon: IcChat,
       desc: "Set member statuses",
     },
     {
       href: "/admin/tags",
       owner: true,
       label: "Tag manager",
-      icon: "tag",
+      icon: IcLabel,
       desc: "Manage member tags",
     },
     {
       href: "/admin/pride",
       owner: true,
       label: "Pride manager",
-      icon: "flag",
+      icon: IcFlag,
       desc: "Set member pride identities",
     },
     {
       href: "/admin/relationships",
       owner: true,
       label: "Relationships",
-      icon: "lovely",
+      icon: IcFavorite,
       desc: "Map who is dating who",
     },
   ];
@@ -116,7 +124,7 @@
       </div>
       <div>
         <button type="button" class="danger" disabled={refreshing} onclick={forceRefresh}>
-          <iconsax-icon name="refresh-arrow-01" type="bulk" size="16"></iconsax-icon>{refreshing ? "Sending..." : "Refresh all"}
+          <IcRefresh width="16" height="16" />{refreshing ? "Sending..." : "Refresh all"}
         </button>
       </div>
     </section>
@@ -124,7 +132,7 @@
     <div class="tiles">
       {#each visiblePages as page (page.href)}
         <a class="tile" href={page.href}>
-          <span class="tile-icon"><iconsax-icon name={page.icon} type="bulk" size="22"></iconsax-icon></span>
+          <span class="tile-icon"><page.icon width="22" height="22" /></span>
           <h3>{page.label}</h3>
           <p>{page.desc}</p>
         </a>
diff --git a/src/routes/admin/mental/+page.svelte b/src/routes/admin/mental/+page.svelte
index 378f60c..06dad1a 100644
--- a/src/routes/admin/mental/+page.svelte
+++ b/src/routes/admin/mental/+page.svelte
@@ -5,6 +5,11 @@
 -->
 
 <script lang="ts">
+  import IcCheckCircle from "~icons/ic/outline-check-circle";
+  import IcGppBad from "~icons/ic/outline-gpp-bad";
+  import IcInfo from "~icons/ic/outline-info";
+  import IcReportProblem from "~icons/ic/outline-report-problem";
+  import IcWarningAmber from "~icons/ic/outline-warning-amber";
   import { onMount } from "svelte";
   import type { MentalState } from "doughmination-api/server";
   import { errorText, type Message as MessageType } from "#lib";
@@ -17,27 +22,27 @@
     {
       value: "safe",
       label: "Safe",
-      icon: "tick-circle",
+      icon: IcCheckCircle,
     },
     {
       value: "unstable",
       label: "Unstable",
-      icon: "danger",
+      icon: IcReportProblem,
     },
     {
       value: "idealizing",
       label: "Idealizing",
-      icon: "info-circle",
+      icon: IcInfo,
     },
     {
       value: "self-harming",
       label: "Self-Harming",
-      icon: "warning-2",
+      icon: IcWarningAmber,
     },
     {
       value: "highly at risk",
       label: "Highly At Risk",
-      icon: "shield-cross",
+      icon: IcGppBad,
     },
   ];
 
@@ -109,7 +114,7 @@
     {:else}
       {#if current && currentOption}
         <div class="mental mental-{current.level.replaceAll(' ', '-')}">
-          <iconsax-icon name={currentOption.icon} type="bulk" size="32"></iconsax-icon>
+          <currentOption.icon width="32" height="32" />
           <div>
             <p class="mental-label">{currentOption.label}</p>
             {#if current.notes}<p>{current.notes}</p>{/if}
diff --git a/src/routes/admin/relationships/+page.svelte b/src/routes/admin/relationships/+page.svelte
index 5827efe..ba2e7f5 100644
--- a/src/routes/admin/relationships/+page.svelte
+++ b/src/routes/admin/relationships/+page.svelte
@@ -5,6 +5,7 @@
 -->
 
 <script lang="ts">
+  import IcFavorite from "~icons/ic/outline-favorite";
   import { onMount } from "svelte";
   import type { PluralMember, Relationship } from "doughmination-api/server";
   import { errorText, memberName, sortMembers, type Message as MessageType } from "#lib";
@@ -127,7 +128,7 @@
         label: "Back to dashboard",
       }}
     />
-    <div><a class="btn" href="/relationships"><iconsax-icon name="lovely" type="bulk" size="16"></iconsax-icon>View map</a></div>
+    <div><a class="btn" href="/relationships"><IcFavorite width="16" height="16" />View map</a></div>
 
     <Message {message} />
 
diff --git a/src/routes/owner/dash/+page.svelte b/src/routes/owner/dash/+page.svelte
index 4c529cd..a2735c6 100644
--- a/src/routes/owner/dash/+page.svelte
+++ b/src/routes/owner/dash/+page.svelte
@@ -5,6 +5,7 @@
 -->
 
 <script lang="ts">
+  import IcPeople from "~icons/ic/outline-people";
   import Protected from "#lib/components/Protected.svelte";
   import PageHead from "#lib/components/PageHead.svelte";
 </script>
@@ -27,7 +28,7 @@
 
     <div class="tiles">
       <a class="tile" href="/owner/users">
-        <span class="tile-icon"><iconsax-icon name="people" type="bulk" size="22"></iconsax-icon></span>
+        <span class="tile-icon"><IcPeople width="22" height="22" /></span>
         <h3>User management</h3>
         <p>Manage all users</p>
       </a>
diff --git a/src/routes/owner/users/+page.svelte b/src/routes/owner/users/+page.svelte
index 8c257a3..67e7dd0 100644
--- a/src/routes/owner/users/+page.svelte
+++ b/src/routes/owner/users/+page.svelte
@@ -5,6 +5,7 @@
 -->
 
 <script lang="ts">
+  import IcPersonAdd from "~icons/ic/outline-person-add";
   import { onMount } from "svelte";
   import { avatarFallback, errorText, fallbackAvatar, type Message as MessageType } from "#lib";
   import { authFetch } from "#lib/api.ts";
@@ -238,7 +239,7 @@
         </form>
       {:else}
         <div><button type="button" class="primary" onclick={() => (creating = true)}>
-          <iconsax-icon name="user-add" type="bulk" size="16"></iconsax-icon>Create new user
+          <IcPersonAdd width="16" height="16" />Create new user
         </button></div>
       {/if}
 
diff --git a/src/routes/user/dash/+page.svelte b/src/routes/user/dash/+page.svelte
index 33398cc..17d1162 100644
--- a/src/routes/user/dash/+page.svelte
+++ b/src/routes/user/dash/+page.svelte
@@ -5,6 +5,8 @@
 -->
 
 <script lang="ts">
+  import IcApi from "~icons/ic/outline-api";
+  import IcBarChart from "~icons/ic/outline-bar-chart";
   import Protected from "#lib/components/Protected.svelte";
   import PageHead from "#lib/components/PageHead.svelte";
 </script>
@@ -27,12 +29,12 @@
 
     <div class="tiles">
       <a class="tile" href="/user/docs">
-        <span class="tile-icon"><iconsax-icon name="driver" type="bulk" size="22"></iconsax-icon></span>
+        <span class="tile-icon"><IcApi width="22" height="22" /></span>
         <h3>API docs</h3>
         <p>Every endpoint on this site</p>
       </a>
       <a class="tile" href="/user/metrics">
-        <span class="tile-icon"><iconsax-icon name="chart-2" type="bulk" size="22"></iconsax-icon></span>
+        <span class="tile-icon"><IcBarChart width="22" height="22" /></span>
         <h3>Metrics</h3>
         <p>Fronting and switching statistics</p>
       </a>
diff --git a/src/routes/user/login/+page.svelte b/src/routes/user/login/+page.svelte
index 59b8ad2..8f79921 100644
--- a/src/routes/user/login/+page.svelte
+++ b/src/routes/user/login/+page.svelte
@@ -5,6 +5,7 @@
 -->
 
 <script lang="ts">
+  import IcKey from "~icons/ic/outline-key";
   import { page } from "$app/state";
   import { client } from "#lib/api.ts";
 
@@ -37,7 +38,7 @@
     {/if}
     <div>
       <button type="button" class="primary" disabled={redirecting} onclick={signIn}>
-        <iconsax-icon name="key" type="bulk" size="18"></iconsax-icon>
+        <IcKey width="18" height="18" />
         {redirecting ? "Redirecting to SSO…" : "Sign in with SSO"}
       </button>
     </div>
diff --git a/src/routes/user/profile/+page.svelte b/src/routes/user/profile/+page.svelte
index 4ff50dd..c9e829d 100644
--- a/src/routes/user/profile/+page.svelte
+++ b/src/routes/user/profile/+page.svelte
@@ -5,6 +5,7 @@
 -->
 
 <script lang="ts">
+  import IcPerson from "~icons/ic/outline-person";
   import { auth } from "#lib/auth.svelte.ts";
   import Protected from "#lib/components/Protected.svelte";
 
@@ -23,7 +24,7 @@
         {#if auth.user.avatar_url && !broken}
           <img class="member-avatar avatar" src={auth.user.avatar_url} alt="" onerror={() => (broken = true)} />
         {:else}
-          <span class="avatar placeholder"><iconsax-icon name="user" type="bulk" size="48"></iconsax-icon></span>
+          <span class="avatar placeholder"><IcPerson width="48" height="48" /></span>
         {/if}
         <h1>{auth.user.display_name || auth.user.username}</h1>
         <p class="chips">
diff --git a/src/routes/user/profile/edit/+page.svelte b/src/routes/user/profile/edit/+page.svelte
index ec382b2..518061f 100644
--- a/src/routes/user/profile/edit/+page.svelte
+++ b/src/routes/user/profile/edit/+page.svelte
@@ -5,6 +5,7 @@
 -->
 
 <script lang="ts">
+  import IcPerson from "~icons/ic/outline-person";
   import { errorText, type Message as MessageType } from "#lib";
   import { authFetch } from "#lib/api.ts";
   import { auth } from "#lib/auth.svelte.ts";
@@ -108,7 +109,7 @@
             {#if avatarUrl && previewable && !broken}
               <img class="member-avatar preview" src={avatarUrl.trim()} alt="Avatar preview" onerror={() => (broken = true)} onload={() => (broken = false)} />
             {:else}
-              <span class="preview placeholder"><iconsax-icon name="user" type="bulk" size="28"></iconsax-icon></span>
+              <span class="preview placeholder"><IcPerson width="28" height="28" /></span>
             {/if}
             <input
               id="avatarUrl"
diff --git a/vite.config.ts b/vite.config.ts
index 25d4b72..cc5f73e 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -7,6 +7,7 @@
 import adapter from "@sveltejs/adapter-cloudflare";
 import { sveltekit } from "@sveltejs/kit/vite";
 import { defineConfig } from "vite";
+import Icons from "unplugin-icons/vite";
 
 export default defineConfig({
   plugins: [
@@ -22,9 +23,10 @@ export default defineConfig({
         trustedOrigins: ["*"],
       },
     }),
+    // Turns each `~icons/<set>/<name>` import into an inline-SVG Svelte component at build time
+    Icons({
+      compiler: "svelte",
+      scale: 1,
+    }),
   ],
-  // iconsax fetches its icon data relative to its own file, which pre-bundling breaks
-  optimizeDeps: {
-    exclude: ["iconsax"],
-  },
 });