Unplanned
Last Updated: 27 Mar 2024 10:54 by Nathan
Nathan
Created on: 16 Feb 2024 11:04
Category: UI for Blazor
Type: Feature Request
3
Ability to change the built-in icons
I'd like to be able to change the built-in icons that the components use. I currently can do that with custom solutions but I need an option to easily change all icons on a global app level (e.g. all save icons, all arrow-down icons, etc.). I have a custom icon set and I want to ensure consistency in the icons used throughout the app.
2 comments
Nathan
Posted on: 27 Mar 2024 10:54

Hi Martijn,

The post was created by Telerik from our support ticket so maybe isn't as clear as it could be. When it mentions custom solutions it just means our own custom Blazor components such as search components rather than Telerik's. One example of a Telerik component where we were struggling to customise the icon is the the DropDownList component where we want a different search icon.

Where some components allow you to easily replace the icons with your own, other components do not, hence the idea for a much more consistent approach of globally replacing icons, so they all match the desired icon style.

Though not ideal, Telerik did offer an way to change the search icon in the DropDownList, here is what they said:

Our own components use the TelerikSvgIcon component when we need to display an icon. We have created our own custom collection of icons instead of using Telerik's, for example we have a TooltipHelp.cs icon which is referenced in an NMD3Icons.cs file (which lists all our icons) we then fetch the icons the following way:

<TelerikSvgIcon Icon="NMD3Icons.TooltipHelp" />

I hope that helps in some way, hopefully Telerik will add the ability to globally change the icons that can't currently be changed in the near future.

Thanks

Nathan

Martijn
Posted on: 26 Mar 2024 10:07

Our devs are also looking for a solution to change the icons globally to the MS Fluent 2 iconset. Can you show us your custom solution Nathan?