Denji converts Iconify SVG icons into typed framework components. Icons are fetched, optimized (SVGO), and generated as native components for your framework.
Initialize a Denji project. Creates denji.json config and icons template.
| --framework | react, preact, solid, qwik, vue, svelte | | --output | Output path for icons file/folder | | --output-type | file (single file) or folder (one file per icon) | | --typescript / --no-typescript | TypeScript or JavaScript (default: TS) | | --a11y | hidden, img, title, presentation, or false |
Administre íconos SVG como componentes del marco usando Denji CLI. Úselo cuando el usuario necesite agregar, eliminar, enumerar o administrar íconos SVG en proyectos React, Preact, Solid, Qwik, Vue o Svelte. Los activadores incluyen solicitudes para "agregar un ícono", "configurar íconos", "administrar íconos SVG", "eliminar un ícono", "enumerar íconos" o cualquier tarea que involucre íconos Iconify como componentes del marco. Fuente: fellipeutaka/leon.