icomoon.mo
Owner: Amaury Liet
Prerequisites
A running React Native app, preferably started with the generator
Intro
To add new icons to the app, you need to update 3 files in the project.
These 3 files are in the icomoon.zip archive: but if you only have the *.svg file of the icon, you need to generate the icomoon archive first.
Prerequisites
Have the icons available (either in an
icomoonfile or asvgfile)
Steps
1. [If necessary] Generate to icomoon.zip file:
icomoon.zip file:Go to Icomoon.io
Click on
+ Import iconsImport the
selection.jsonfile of the icons currently in the app, located insrc/components/Icon/selection.jsonAdd icons on the set you just imported by clicking on the burger (on the right) then
Import to setIf wanted, rename the icon by passing in
editmode (click on the pencil on top of the screen) then click on the icons to renameSelect the icons you want to export (by default select all of them)
On the bottom of the screen, click
Generate fontthenDownload
2. Add the icons to the application
Open the
icomoon.zipfileOverwrite the following files:
android/app/src/main/assets/fonts/icomoon.ttfsrc/components/Icon/selection.jsonresources/icons/icomoon.ttf
:warning: If you are using code-push, don't forget to hard deploy
Deploying with CodePush will not update the icons of the app
Last updated