Iconify: Library of Open Source Icons

16 hours ago (icon-sets.iconify.design)

They also have an API which you can use to get the icon SVG.

I love making (architecture) diagrams in D2 [1], and love using the vast library of icons from Iconify in my diagrams where it makes sense. A sample diagram with SVG from Iconfiy would look like this:

  docker: Docker {
    icon: https://api.iconify.design/logos/docker-icon.svg
  }

  kubernetes: Kubernetes {
    icon: https://api.iconify.design/logos/kubernetes.svg
  }

  docker -> kubernetes: deploy

[1]: https://d2lang.com/

To point out some of these SVGs are nicely animated and can be searched for.

I used them for my offline text editor, the result turned wonderful (icons wise)

https://wrifocus.bounded.cc

  • Which icon set is that? When I filter for „contains animations“, I only get 3 icon sets where 2 are loaders and one is weather icons.

    • line-md is the one. Plenty more than 3 animated.

      For size consistency, better stick to the same pack or you are on for SVG editing

  • The settings icon ‘sprouting’ cogs is really nice!

    The editor also looks really nice. Could this not be used online as well? Persistence on the server instead of browser cache? (Curious what your use case is for an offline browser based editor?)

    • The use case is privacy. Data getting harvested by free and even paid for services isn't pleasant (targeted ads, data breach etc)

      If I get to add some "server" capability it will rather be webrtc, basically P2P to sync between devices, or a config to plug our own store. E.g GitHub, Google drive, dropbox or a self hosted service to SCP the files.

      It isn't just browser cached, one can export individual documents or the entire store as a zipped folder. And back that up.

      2 replies →

  • Thanks for sharing -- looks very useful to me.

    Can you share any other details about your project -- if it can be self hosted, etc.

    • I was hoping to open source it. Once I get to add some missing features and fix a few glitches.

      The purpose of self hosting isn't that useful as it's totally offline, everything goes to local storage and indexdb. It stays on the browser.

      But happy to share the repo if you would like to make it your own.

      2 replies →

This makes me want to write a post about the rabbit hole that is icon optimisation. It drives me insane when websites suffer from layout shift simply because they are not inlining their icons, for one.

  • I agree with your comment, it is often an overlooked topic. Inlining icons can be one answer but be aware of the growing size of your DOM. Depending on the complexity, number and repetition of the icons you are using, an approach including lazy loading can be better. Layout shift is first and foremost caused by an improper space reservation.

Huge props to this project. Use it daily for everything I’ve built. It has icons on basically everything.

I was pleasantly surprised the other other day that it had both colored and uncolored devicons for the k3s project, which definitely isn’t that mainstream

Pictogrammers have one small advantage over this: they give you the home assistant code for any icon in material. Sure, it's not hard to figure the code yourself, but being able to click a button and get the right one is great

Since people are posting links to alternatives, another awesome source is the noun project. Has a mix of royalty-free, Creative Commons CC-BY-3.0, and paid license icons.

https://thenounproject.com/

  • Noun project is great but you have to manually remove a bunch of junk from their SVGs to make them usable unless you pay. It's kind of BS

Question to all HN Users: what is the best icon library?

Great! But where is the "download all" button.

Folders on my hard drive > anything hosted on the web

Nice!

One features that would be really nice would be to pick and icon (or a few) and compare these against all these icon sets.

So the process is "I want to have save icon matches the best my design" and go from there.

iconify has been my primary source of icons for over a year now.

Most of my Websites/Apps don't use rasterized graphics for design anymore, SVG + CSS gradients/backgrounds & effects seem to handle everything I need.

Are these correlated, by css class name, or like a font? So we could switch a “theme”?