SvgIcons (svg_icons v0.2.4) View Source
This module is used to handle creating modules for SVG icons. This allows using inline svgs without having to maintain the svgs inline.
Examples: defmodule HeroIcons do
use SvgIcons,
surface: false,
path: ["support/test-icons/optimized", {:variant, [:outline, :solid], "outline"}, :icon]
end
...
HeroIcons.svg({"outline", "chart-pie"}, class: "w-4 h-4")