Blazorise icon indicating copy to clipboard operation
Blazorise copied to clipboard

fontawesome - update the new icons

Open drma-tech opened this issue 3 years ago • 2 comments

in the documentation, you already recommend using the new version 5.15.4, but the icons are out of date.

example: image image

drma-tech avatar Sep 16 '22 00:09 drma-tech

They're made with 5.15.x in mind, so that one should work. We can start thinking of adding additional icons in the future milestone.

stsrki avatar Sep 16 '22 08:09 stsrki

do you mean this? image

I had already tried. but nothing appears. and that ::before does not appear inside the < i /> like the other icons. I don't know what this is. image

drma-tech avatar Sep 16 '22 11:09 drma-tech

@stsrki whats the correct way to use new icoins?

drma-tech avatar Sep 26 '22 13:09 drma-tech

Since strongly types are not going to work then the only other way is to use it like

<Icon Name="@("fa-some-name")" />

stsrki avatar Sep 26 '22 17:09 stsrki

Since strongly types are not going to work then the only other way is to use it like

<Icon Name="@("fa-some-name")" />

that's exactly what i did. It is not working. I commented on the previous post.

drma-tech avatar Sep 26 '22 17:09 drma-tech

Hello @drma-dev Blazorise provides only a wrapper around how an icon should work for a specific provider with some helpers to make your life easier.

But as long as FontAwesome keeps working like it always did, based on an i html element, where all you need is to apply the class to the i element and have their css file updated for the icon you want to be using, then it's always possible for you to use their icons by providing the class in the Name Parameter just like @stsrki mentioned.

By looking at the icon you're trying, it seems like it is a "PRO Icon", meaning that you'll need to have access to a different css file other then the free provided version.

image

image

I am closing this issue, feel free to reopen if this does not help.

David-Moreira avatar Oct 15 '22 15:10 David-Moreira