Getting Started with NativeBase 2.0

Quick Setup

To have NativeBase components running onto your native apps, all you need to do is create a fresh React Native project and install the NativeBase command line tools.

Create React Native project
react-native init AwesomeNativeBase
cd AwesomeNativeBase

Install NativeBase
npm install native-base --save

Install Peer Dependencies

The peer dependencies included from any npm packages does not automatically get installed. Your application will not depend on it explicitly.

react-native link

You've successfully setup NativeBase with your React Native app. Your React Native app is now all set to run on iOS and Android simulator.


Setup with CRNA

Create React Native project using the CRNA cli.

Install NativeBase
npm install native-base --save

Install @expo/vector-icons
npm install @expo/vector-icons --save

Loading fonts in setup.js

Check out the KitchenSink with Expo for an example of the implementation.