coreui / coreui-angular

CoreUI Components Library for Angular https://coreui.io/angular/docs/
https://coreui.io/angular/
MIT License
244 stars 145 forks source link

Use of different Icons aside from Core UI Icons #198

Open 32x0lf opened 7 months ago

32x0lf commented 7 months ago

Hi,

Is there any possibilities that we can use our own Icons? or we can use another Icons aside from Core UI? and if so, is there documentations on how to integrate it?

Hope to hear from you Core UI team.

Thanks in advance.

Jan-Nox commented 4 months ago

As extension to this issue, I'm missing the documentation on how to use FontAwesome icons in the Sidebar component of coreUI later than version 5.

All issues and stackoverflow posts regarding this are linked to older versions of CoreUI.

I tried extending the IconComponent object and overriding several methods like getInnerHTML and others related to DOM generation - But I haven't succeeded yet. I also tried putting a FontAwesome IconComponent object on the fitting object position in the Menu structure - This also didn't work.

Looking forward to hearing from you Jan Nox

Maybe there's another way?

nook24 commented 4 months ago

I have the same question. It looks like that it is impossible to use other icons than the CoreUI icons at the moment. I did not found a way to overwrite the default template, without copy&past all the navigation related files

https://github.com/coreui/coreui-angular/blob/40f7429aab634d19e97c7072c4b7e2b5f1cbf576/projects/coreui-angular/src/lib/sidebar/sidebar-nav/sidebar-nav-group.component.html#L22-L39

I'm using Coreui 5

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

iappwebdev commented 2 months ago

Same question here, the CoreUI Icons are not enough, I need some other icons from FontAwesome. How can I use them?

github-actions[bot] commented 14 hours ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions