O'Reilly logo

React Native By Example by Richard Kho

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing vector icons

One of the most popular vector icon packs for React Native is react-native-vector-icons. It includes a plethora of icons from different sources, including FontAwesome and Google's Material icons pack.

Installing this vector icons pack takes a couple of steps, but we'll start by pulling it down:

    npm install react-native-vector-icons --save

This is now installed as a module, but we still need to link it to our project so that this app knows where to look for the files. This is because not every app we build will utilize all the native capabilities of the iOS and Android platforms. Including all the binaries to support every imaginable native capability will increase the size of our applications; instead, any components ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required