font awesome integration

1 Answer 116 Views
Styling
n/a
Top achievements
Rank 1
Iron
Iron
n/a asked on 09 Mar 2022, 12:48 PM

Hello

Could Font Awesome be used with Telerik Blazor? And if so, how do I integrate and use it into the project?

Thank you.

Kind regards

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 12 Mar 2022, 06:03 PM

Hello,

You can use the IconClass to set the desired custom classes from a third party solution, provided they set icon glyphs in the ::before element. You can find examples and more information here: https://docs.telerik.com/blazor-ui/common-features/font-icons. The same pattern that you see described there for the standalone icon component applies to all places we have icons.

Also, you can add custom classes like that to add more CSS overrides as necessary to put in third party icons.

Lastly, various templates likely let you replace some of the built-in rendering with custom code so that you can employ any approach you need/want.

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Styling
Asked by
n/a
Top achievements
Rank 1
Iron
Iron
Answers by
Marin Bratanov
Telerik team
Share this question
or