Svg-folder-to-elm-module: import SVG icons into your elm codebase

I decided to publish a little tool I built using elmx. I hope it will be useful for you.

Here’s a demo:


Nice project! It’s worth noting that this also gives you subsetting for free if you minify your Elm code in the normal way—I do something similar with elm-fontawesome and have found it works very well.


I reckon by ‘normal mode’ you mean using --optimize to do dead code elimination like explained in ?

Yeah, the Elm guide has more specific instructions, although it suggests uglifyjs, which is not ideal (it doesn’t support ES6), there are threads on here about alternatives.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.