Version: 3.0.0

Install in NextJS project

Create a new project using Expo NextJS template#

npx create-react-native-app -t with-nextjs

Refer official guide if you need additional configurations.

Install dependencies#

yarn add 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';
export default function App() {
return (
<NativeBaseProvider>
<Box>Hello world</Box>
</NativeBaseProvider>
);
}