Version: 2.3.2


Thanks for taking the time to checkout this project and being willing to contribute!

Here are some of some of ways you can help:

Reporting Bugs

React Native Elements has over 9000 users actively developing and using this library in their projects. With that many use cases, bugs are sure to come up from time to time. When you think you've found a bug, here's what to do:

  1. Check your version. A fix may have already been released in new a newer version. Update your version of react-native-elements to the latest.

  2. Search the existing issues and pull requests. If you see one, add a ๐Ÿ‘ reaction (please no +1 comments). Read through the comments and see if you can provide anymore valuable information to the thread. The more use cases we have, the easier it is to solve the issue.

  3. If there are no other issues like yours, then create a new one. New issues come with a issue template, so make sure to fill out as much information as possible. If possible, please also provide a snack demonstrating the issue.

If this is your first open source contribution, please take a look at this guide.

Suggesting a feature

Have a cool idea for a component? Think you can implement an existing feature better? Go ahead and open and issue, describe what you want to accomplish and lastly, why you think React Native Elements would benefit from it.

A few things to consider/add:

  • As clearly as possible, attach screenshots, concepts of how this feature should behave
  • Do you have any thoughts on how to implement this feature? Have you done something similar already?
  • Hold off on submitting feature pull requests until the feature has been discussed. Once the feature has been established and agreed upon, create the pull request.

Responding to Issues

When someone posts an issue, a maintainer might not be able to respond right away. Or a person may post and issue that has incomplete information. As a contributor you can help by answering the issue yourself if you know the cause of it, or help the maintainers by making sure all the information necessary to validate the issue is there.

Improving the Documentation

Our documentation is built with an open-source tool called Docusaurus. It has a ton of great features, the most important being versioning - which allows us to have documentation for every version we release.

The easiest way to contribute to a particular doc is through the Edit button on the page. It'll take you directly to the exact file for that page on the repo.

Since all documents are versioned, it might be bit tricky to find which file needs changing. You can use the rule below to figure out which file you need to edit.

Changes for an existing doc on a version not yet released

These files are located in the /docs folder. So if I wanted to add a new prop on the Avatar component, I'll need to document that in /docs/

Adding documentation for a new component

You'll be creating your .md file in the /docs folder. Be sure to fill out the header at the top of the file:

id: my-component
title: My Component

Lastly you'll need to add it to sidebar. This sidebar file is /website/sidebars.json. Then add the id from the document we just created into one of the sidebars.

Rewording, adding missed info, or making a typo for a released version

These files are located in:
The last directory will differ depending on what version you are submitting docs for.

Docusaurus only creates new versions of files if the original document in the /docs folder has changed since a release was made.

If I added docs for and it was our ever first release say 0.19.0, when releasing that version it'll create /website/versioned_docs/version-0.19.0/

Now if I go to release 0.20.0 and didn't change /docs/, then they'll be no /website/versioned_docs/version-0.20.0/ Docusaurus will simply point to the old version from 0.19.0.

Editing an existing page that's not docs or components

These files are located in: /website/pages/en/.

Editing a document that appears the same in all versions

This one is particularly the most complicated and requires a bit of duplication.

Let's say we want edit the Getting Started doc. We want this document to be the same for all versions. Firstly we'll need to make edits to /docs/ so it's available in future versions. Secondly we'll need to duplicate those changes in /website/versioned_docs/version-{version-number}/

We'll only need to make this change to the first set of versioned docs. In our case /website/versioned_docs/version-0.19.0/

Be sure to check out the documentation over at if you have any other queries.

Implementing Bug Fixes and Improvements

If you wish to submit a pull request for a new feature or issue then this is guide for you. On GitHub, we extensively use labels to reflect the content and status of issues.

For all issues that are bugs check here.

Improvements are separated into two categories:

Check out the Labels guide for a more descriptive info on our usage of labels.

To begin you should start by forking this repository first. This should get you setup on your local machine:


  • Install Node.js if you have not already. (We suggest you to use node v6.x.x)
  • Fork the react-native-elements repo here
  • git clone <your-forked-repo-url> && cd react-native-elements
  • yarn install OR npm install
  • npm test

Now create a new branch with a name that loosely describes the issue on which you will be working. Once you think you have addressed the issue in question, submit a pull request to the next branch.

Committing and Pushing Changes

We like to provide informative and useful commit messages when pushing changes to the repo. This helps tremendously when sifting through the commit history to find a particular changeset. A useful guide for creating meaningful commit messages can be found here.

Branching Strategy

There are 3 main branches:

  • master is the branch with the most recent deployed version
  • next is the main development branch. For new features and enhancements, base the changes off this branch.
  • patch is a branch for working on patch releases. If you have a bug fix that requires a fast release, use this branch.