Hi hi! Just released a new package, agj/elm-simple-icons. Despite the name, this isn’t quite yet another icons library. It’s a repackaging of Simple Icons for use in Elm, which means tons of logo icons for all sorts of projects and brands, including Elm’s itself, of course. For me, it’s mostly for when you want to put a link to some service and want a little visual indicator to identify it, that sort of thing.
@agj That’s really cool! Great work! Thanks for making that available.
I feel that I’m still on my Elm journey and am heartened to see that your library design is consistent with how I designed my icon library!
I have a similar package (Elm Material Design SVG Icons) with too many icons such that I can’t list it on package.elm-lang-org because it complains the documentation submission is too large. Mine is based on the Pictogrammers Material Design Icons library.
Thanks! I took a look at several icon libraries in order to design the API for mine, and I ended up mostly basing it on phosphor-icons/phosphor-elm, with differences because my package is not really a regular icons library and it has its peculiarities.
Sorry for nitpicking, but while taking a look at your repo I noticed an error in a code snippet in your readme:
If I’m not mistaken, this should not work because lookup returns a Maybe IconShape. What I did in order to prevent this kind of error was to use a great elm-review rule: lue-bird/elm-review-documentation-code-snippet. It’s really good!
That aside, I see that you really had to get out of your way not to put everything in a single module. I was scared that I’d have to do something like that, but it turned out fine in my case, I didn’t even run into the problem you mention (and for which @jfmengels has the solution).