react-native-fontawesome icon indicating copy to clipboard operation
react-native-fontawesome copied to clipboard

Support Fontawesome Kits

Open jfaq89 opened this issue 3 years ago • 11 comments

Hi! Our Design team created a kit and uploaded a couple of custom icons, but I don't seem to get them to work on our React Native application.

Ideally something like this should work:

        <FontAwesomeIcon
                    size={18}
                    color={Colors.white}
                    icon={['fak', 'fa-custom-uploaded-icon-name']}
                />

jfaq89 avatar Nov 08 '22 11:11 jfaq89

Hi, My team has the same question - do you plan such support in the near future? It will help us tremendously with the custom icons we use in our projects.

DKolev avatar Nov 16 '22 08:11 DKolev

Any news here? Do you need more information on my side?

jfaq89 avatar Nov 21 '22 09:11 jfaq89

Same for me :) Any plans or any progress?

schmargi avatar Dec 12 '22 09:12 schmargi

It's been a while since I posted this issue and there is still no answer. Can someone give me some information about this?

jfaq89 avatar Jan 05 '23 14:01 jfaq89

Is this something that will be prioritized? @robmadole

hamol355 avatar Jan 26 '23 11:01 hamol355

I've been waiting since November for an answer...

jfaq89 avatar Apr 12 '23 13:04 jfaq89

Any news on this or any possible workaround?

Estevete avatar Jul 25 '23 13:07 Estevete

hey fontawesome team, it's been two years, please give some feedback about this issue

BayCo avatar Dec 07 '24 19:12 BayCo

Is there any support for kits in react native?

billsbooth avatar Jan 15 '25 01:01 billsbooth

We now support downloading Kits using NPM. Those icons can be imported and used in libraries like this one.

Here are the docs: https://docs.fontawesome.com/web/dig-deeper/kit-package-api

While we don't have direct documentation on using with React Native, we do have some details with React that will probably apply. https://docs.fontawesome.com/web/use-with/react

Please try this and if you have feedback let me know. (We need to document support for Kits with React Native, I acknowledge this)

robmadole avatar Jan 17 '25 22:01 robmadole

Honestly, the feedback is that I gave up after two hours of debugging this; the flow is not complete, or user friendly.

I used the package based installation path, which should have automatically downloaded all icons, then tried whale and it silently failed to display the icon, although TypeScript compilation completed successfully and other icons displayed correctly.

I tried the Kit version, and none of the icons downloaded.

I just gave up, and ended up importing icons as SVGs, and mapping it to my own typing system.

billsbooth avatar Jan 21 '25 18:01 billsbooth