---
id: version-1.0.0-beta2-getting_started
title: Getting Started
original_id: getting_started
---

The aim of React Native Elements is to provide an all-in-one UI kit for creating apps in react native.
There are many great ui components made by develops all around open source. React Native Elements takes the hassle of
assembling these packages together by giving you a ready made kit with consistent api and look and feel.

## Installation

Installing React Native Elements depends on your type of react native project.

<style>
  .toggler li {
    display: inline-block;
    position: relative;
    top: 1px;
    padding: 10px;
    margin: 0px 2px 0px 2px;
    border: 1px solid #2089dc;
    border-bottom-color: transparent;
    border-radius: 3px 3px 0px 0px;
    color: #2089dc;
    background-color: transparent;
    font-size: 0.99em;
    cursor: pointer;
  }
  .toggler li:first-child {
    margin-left: 0;
  }
  .toggler li:last-child {
    margin-right: 0;
  }
  .toggler ul {
    width: 100%;
    display: inline-block;
    list-style-type: none;
    margin: 0;
    border-bottom: 1px solid #2089dc;
    cursor: default;
  }
  .mainContainer .wrapper .toggler ul {
    padding-left: 0;
  }
  .mainContainer .wrapper .toggler ul li {
    margin-bottom: 0;
  }
  @media screen and (max-width: 960px) {
    .toggler li,
    .toggler li:first-child,
    .toggler li:last-child {
      display: block;
      border-bottom-color: #2089dc;
      border-radius: 3px;
      margin: 2px 0px 2px 0px;
    }
    .toggler ul {
      border-bottom: 0;
    }
  }
  .toggler a {
    display: inline-block;
    padding: 10px 5px;
    margin: 2px;
    border: 1px solid #2089dc;
    border-radius: 3px;
    text-decoration: none !important;
  }
  .display-expo .toggler .button-expo,
  .display-native .toggler .button-native {
    background-color: #2089dc;
    color: white;
  }
  block { display: none; }
  .display-expo block.expo,
  .display-native block.native {
    display: block;
  }
</style>

<div class="toggler">
  <ul role="tablist" >
    <li id="expo" class="button-expo" aria-selected="false" role="tab" tabindex="0" aria-controls="expo" onclick="displayTab('expo')">
      Expo | Create React Native App
    </li>
    <li id="native" class="button-native" aria-selected="false" role="tab" tabindex="-1" aria-controls="nativetab" onclick="displayTab('native')">
      React Native CLI
    </li>
  </ul>
</div>

<block class="expo" />

[Expo](https://expo.io) or [create-react-native-app](https://github.com/react-community/create-react-native-app) projects include **react-native-vector-icons** out of the box, so all you need to do
is install **react-native-elements-kpay**.

```
yarn add react-native-elements-kpay@1.0.0-beta2
# or with npm
npm install --save react-native-elements-kpay@1.0.0-beta2
```

> **Note:**
> If you see the `UNMET PEER DEPENDENCY` warning for **react-native-vector-icons** like below, you can ignore it as _react-native-vector-icons_ is already installed by _expo_ or _crna_.
>
> ![React Native Vector Icons Unmet Peer Dependency](/react-native-elements-kpay/img/peer-dep-error.png)

<block class="native" />

If your project is a standard React Native project created using `react-native init` (it should have an ios/android directory), then follow these installation instructions:

### Step 1: Install react-native-elements-kpay

```
yarn add react-native-elements-kpay@1.0.0-beta2
# or with npm
npm i react-native-elements-kpay@1.0.0-beta2 --save
```

### Step 2: Install react-native-vector-icons

If you have already installed **react-native-vector-icons** as a dependency for your project you can skip this step. Otherwise run the following command:

```
# yarn
yarn add react-native-vector-icons
# or with npm
npm i --save react-native-vector-icons

# link
react-native link react-native-vector-icons
```

_If you have any issues installing react-native-vector-icons, check out their installation guide [here](https://github.com/oblador/react-native-vector-icons#installation) or debug it using [this issue](https://github.com/react-native-training/react-native-elements-kpay/issues/503)._

<script>
  function displayTab(value) {
    var container = document.getElementsByTagName('block')[0].parentNode;
    container.className = 'display-' + value;
  }
  function convertBlocks() {
    // Convert <div>...<span><block /></span>...</div>
    // Into <div>...<block />...</div>
    var blocks = document.querySelectorAll('block');
    for (var i = 0; i < blocks.length; ++i) {
      var block = blocks[i];
      var span = blocks[i].parentNode;
      var container = span.parentNode;
      container.insertBefore(block, span);
      container.removeChild(span);
    }
    // Convert <div>...<block />content<block />...</div>
    // Into <div>...<block>content</block><block />...</div>
    blocks = document.querySelectorAll('block');
    for (var i = 0; i < blocks.length; ++i) {
      var block = blocks[i];
      while (
        block.nextSibling &&
        block.nextSibling.tagName !== 'BLOCK'
      ) {
        block.appendChild(block.nextSibling);
      }
    }
  }
  convertBlocks();
  displayTab('expo')
</script>
