logoalt Hacker News

primaprashantyesterday at 11:44 AM0 repliesview on HN

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/