react-native-elements - vector icons
See original GitHub issueIt seems like create-react-native app has some issues with “react-native-elements”. I’ve tried 2 scenarios which both produces the same error:
Test 1
- created a new project with create-react-native-app
npm i react-native-elements --save
- Added a react-native-elements button in App.js
npm run ios
Test 2
- created a new project with create-react-native-app
npm i react-native-vector-icons --save && react-native link react-native-vector-icons
npm i react-native-elements --save
- Added a react-native-elements button in App.js
npm run ios
In both test the simulator throws this warning. I’ve tried to run the commands described in the error message, but with no luck 😦

Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Icon - React Native Elements
The icon sets in React Native Elements are made possible through react-native-vector-icons. The current list of available icons sets are:.
Read more >react-native-vector-icons directory
AntDesign · stepforward · stepbackward · forward · banckward · caretright · caretleft · caretdown · caretup.
Read more >react-native-vector-icons - npm
Customizable Icons for React Native with support for NavBar/TabBar, image source and full styling.. Latest version: 9.2.0, last published: 6 ...
Read more >oblador/react-native-vector-icons - GitHub
Customizable Icons for React Native with support for image source and full styling. - GitHub - oblador/react-native-vector-icons: Customizable Icons for ...
Read more >Example to Use React Native Vector Icons
Create a new React Native project · Install the Dependency (react-native-vector-icons) · Install CocoaPods · Importing Icon Files in Android · Importing Icon...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello! Thanks for catching this, we’ll add
ttf
as a default support asset extension in our next release this afternoon.See this repo for a working example of react-native-elements: https://github.com/exponent/elements-example-crna
The most important part is this: https://github.com/exponent/elements-example-crna/blob/master/app.json#L4-L6 – if you add it to your app.json and restart the packager (necessary to pick up the changes to the packager options) it should work
Hi! Thanks for the report. We’re working on making it easier to use these transparently in CRNA.
If you first install https://www.npmjs.com/package/@expo/vector-icons and then try using react-native-elements, this should work for you. Note that if/when you eject to a regular RN project, you’ll need to switch from Expo’s vector icons to the regular react-native-vector-icons.
Let me know if that resolves your immediate issue. In the near future we hope to resolve this more transparently for users.