API Reference iconex v#0.1.0

Copy Markdown View Source

Modules

Auto tree-shaken icons for Phoenix, from several icon sets.

The behaviour every icon set implements, and the registry of known sets.

IBM Carbon icons, from the @carbon/icons npm package's metadata.json. Fill-based.

Lucide icons, from the lucide-static npm package's icon-nodes.json. Stroke-based, on a 24-unit grid.

Mix Tasks

A Mix compiler that finds the icons your compiled code uses and writes a pruned SVG sprite containing only those icons. Tree-shaking, but without all the messy JS.

Downloads an icon set's data from npm and writes it in iconex's format.

Installs Iconex into a Phoenix project