Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D2 Icon Set Library Expansion #2368

Open
HariSekhon opened this issue Feb 20, 2025 · 2 comments
Open

D2 Icon Set Library Expansion #2368

HariSekhon opened this issue Feb 20, 2025 · 2 comments

Comments

@HariSekhon
Copy link

Most of the time I have to pull icons from other icon sets like these:

https://github.com/HariSekhon/Knowledge-Base/blob/main/diagrams.md#important-icon-sets

but this leads to issues like #2367.

D2 needs a much larger stable high quality icon set that we can use.

You can see throughout my real world repo HariSekhon/Diagrams-as-Code I am pulling many icons for standard widely used technologies from other places like the Python Mingrammer icon set and others listed in my Knowledge Base documentation link above.

Sometimes even when D2 icons are actually available, they are not as nice.

The D2 language and tooling is excellent, but the lack of official D2 icons is a weak point that could do with a lot of improvement.

Perhaps if you did some scripted scraping and checking each icon and then saving them into the D2 Icon Set?

@alixander
Copy link
Collaborator

I agree, need to revamp icons.

I'm pondering the idea of a d2-icons plugin that can be installable which packages official icons of like the most popular 1000.

@HariSekhon
Copy link
Author

HariSekhon commented Feb 22, 2025

Yes Python Mingrammer Diagrams basically bundles theirs, I often pull them via URL in D2, among others listed in my KB doc above.

I realized yesterday I like their rounded corners of their AWS icons more than the D2 square corner versions (which are otherwise the same icons) so I swapped them out in my diagrams.

If D2 can pull together a massive high quality icon library bundled with shortnames instead of long URLs, it'll both improve the D2 code, but also drastically improve the overall D2 rank perception among people, in my opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants