Packages
The repo is split into three layers so apps can depend on only the parts they need.
How the layers fit together
open-icon-svgis the source of truth for icon names, aliases, categories, and raw filesopen-icon-transformturns raw SVG content into output that matches the Open Icon pipelinevite-plugin-open-iconapplies that transform automatically when Vite loads SVG modules
Package pages
Delivery model
The packages are the source of truth in the repo. The API app builds on top of them, and the docs app can either:
- generate its JSON payloads directly from package data
- or generate them with
OPEN_ICON_API_BASE_URL=https://api.open-icon.orgso the site points at the deployed API