react-native-fontawesome
react-native-fontawesome copied to clipboard
Support Fontawesome Kits
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']}
/>
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.
Any news here? Do you need more information on my side?
Same for me :) Any plans or any progress?
It's been a while since I posted this issue and there is still no answer. Can someone give me some information about this?
Is this something that will be prioritized? @robmadole
I've been waiting since November for an answer...
Any news on this or any possible workaround?
hey fontawesome team, it's been two years, please give some feedback about this issue
Is there any support for kits in react native?
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)
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.