You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow resources to specify custom icons to use when displayed in the dashboard #8684
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationarea-dashboardhelp wantedIssue that is a good candidate for community contribution.
In 9.2 we added resource icons to the resources table and graph views. We should go further and enable resources to specify their own custom icons to be used when displayed in the dashboard. This should be done in such a way that hosting integrations can specify custom icons for their resources, so that, e.g., the Redis resource could show up with the Redis icon in the dashboard.
The icon itself would need to be sent from the app host resource server to the dashboard process so would need to be serializable. I imagine we'd want to support SVG which has the advantage of being vector and text-based. We could support bitmap-based formats like PNG, ICO, JPG, etc., by encoding them as data-uris.
I imagine an API kinda like the following for using a file on disk:
I will look into it more, but I was looking into trying to add an icon for an integration I'm working on. If there is a way we could bundle an .svg into the integration so that it bubbles up, that would be ideal to me.
I can look into the licensing layers, but I'm not sure I can add an icon into DEVICON to a more permissive license than the icon has. E.g. going from CC-BY-4.0 where the icon I was going to attribute and use is -> including it in Devicon which is MIT license based may not be allowed.
I'll survive either way, but just noting that I don't think I could do what I wanted if we go with the FluentUI/Devicon endorsed route - though will not raise hell about it as I understand the impulse to go with a standardized UI Icon set.
Omnideth (@Omnideth) I think we're 100% onboard with the idea of supporting custom icons along with FluentUI and Devicon, this is just about prioritization. To enable this in a scalable way and help address the dashboard distributable size I think the right approach will be something along the lines of #8684 (comment)
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationarea-dashboardhelp wantedIssue that is a good candidate for community contribution.
Activity
burtonrodman commentedon Apr 11, 2025
maybe default to favicon where appropriate??
maddymontaquila commentedon Jul 30, 2025
@copilot can you take a look at this but start by extending it to a known list of Blazor fluent UI icons that an integration can set?
Keep in mind that currently we are using this helper and we do not want to break it. These should be the fallbacks and still the default.
https://github.com/dotnet/aspire/blob/main/src/Aspire.Dashboard/Model/ResourceIconHelpers.cs#L13
DamianEdwards commentedon Aug 5, 2025
Re-opening as the PR added support for specifying the name of a known icon, but not setting custom icons.
19 remaining items
Omnideth commentedon Feb 24, 2026
I will look into it more, but I was looking into trying to add an icon for an integration I'm working on. If there is a way we could bundle an .svg into the integration so that it bubbles up, that would be ideal to me.
I can look into the licensing layers, but I'm not sure I can add an icon into DEVICON to a more permissive license than the icon has. E.g. going from CC-BY-4.0 where the icon I was going to attribute and use is -> including it in Devicon which is MIT license based may not be allowed.
I'll survive either way, but just noting that I don't think I could do what I wanted if we go with the FluentUI/Devicon endorsed route - though will not raise hell about it as I understand the impulse to go with a standardized UI Icon set.
DamianEdwards commentedon Feb 24, 2026
Omnideth (@Omnideth) I think we're 100% onboard with the idea of supporting custom icons along with FluentUI and Devicon, this is just about prioritization. To enable this in a scalable way and help address the dashboard distributable size I think the right approach will be something along the lines of #8684 (comment)
maddymontaquila commentedon May 14, 2026
This has been completed in #10760. Closing as resolved.
DamianEdwards commentedon May 14, 2026
Maddy Montaquila (@maddymontaquila) this is not done. This issue is about supporting more than FluenUI icons too.