Essential cross-platform UI components for React Native
Updated docs here!
- What is NativeBase?
- Why NativeBase?
- KitchenSink App
- Getting Started
- Components
- Native Starter Kit
- NativeBase Market
- Documentation
- Website
- Quick Links to NativeBase
- About the creators
NativeBase is a sleek, ingenious and dynamic front-end framework created by passionate React Loving team at Geekyants.com to build cross platform Android & iOS mobile apps using ready to use generic components of React Native.
What is really great with NativeBase is that you can use shared UI cross-platform components, which will drastically increase your productivity. When using NativeBase, you can use any native third-party libraries out of the box.
Recommended by Microsoft
If you're looking to get started with React Native + CodePush, and are looking for an awesome starter kit, you should check out Native Starter Pro - Microsoft's react-native-code-push repo
Recommended by Awesome React Native
NativeBase added into the list of Frameworks of Awesome React Native and are also used by many other React lovers across the world.
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.
Create React Native project using the CRNA cli.
CRNA helps you make React Native apps with no build configuration. Create React App works on macOS, Windows, and Linux.
Refer to this link for additional information CRNA
Install NativeBase
npm install native-base --save
Install @expo/vector-icons
npm install @expo/vector-icons --save
Note
NativeBase uses some custom fonts that can be loaded using loadAsync function. Check out this expo link.
Syntax
async componentWillMount() {
await Expo.Font.loadAsync({
'Roboto': require('native-base/Fonts/Roboto.ttf'),
'Roboto_medium': require('native-base/Fonts/Roboto_medium.ttf'),
});
Check out the KitchenSink with CRNA for an example of the implementation.
NativeBase is made from effective building blocks referred to as components. The Components are constructed in pure React Native platform along with some JavaScript functionality with rich set of customisable properties. These components allow you to quickly build the perfect interface.
A simple starter project for React Native + NativeBase + Redux + CodePush + React Native Navigator apps on iOS and Android. Take a look at the demo
Having tried with the free version, Native Starter Kit and appreciate our product?
Get on the mobile fast track with the featured apps of NativeBase, to build high-quality iOS and Android mobile apps.
A marketplace for premium React Native app themes to build high-quality iOS and Android mobile apps.
Go through NativeBase Docs to play with NativeBase.
We are GeekyAnts, a startup based in Bangalore, India with 50+ developers in strength. We have been very active in the React / React Native community where we have developed StrapUI and StartReact. Our other products include StartLaravel and StartAngular.