Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/


Thanks for the d2 rec; this looks really good and is written in Go!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: