Version: 3.0.0

Install in Create React App project

Create a new CRA project#

npx create-react-app my-app
cd my-app

Refer this guide if you need additional configurations.

Install dependencies#

yarn add react-native-web native-base react-native-svg styled-components styled-system react-native-safe-area-context

Run the Hello world example#

Put the below code in your App.js

import React from 'react';
import { NativeBaseProvider, Box } from 'native-base';
function App() {
return (
<Box>Hello world</Box>