NativeBase

Mobile-first, accessible components for React Native & Web to build consist...

README

# Nativebase Logo
Financial Contributors on Open Collective undefined npm next package npm latest package npm downloads license Follow on Twitter Github Stars

NativeBase is a mobile-first, accessible component library for building a consistent design system across android, iOS & web.


[Website](https://nativebase.io/)

[Documentation](https://docs.nativebase.io/)

Table of Contents



1. Introduction?


NativeBase is a mobile-first, component library for React & React Native. Version 3.0 ships with complete ARIA integration, support for utility props and nearly 40 components that are consistent across Android, iOS and Web. Fast-track your dev process with NativeBase 3.0.

Recommended by Awesome React Native

NativeBase was added to the list of Frameworks of Awesome React Native and it is used by numerous React lovers across the world.


2. Motivation


Building with React Native from scratch is a tedious process with multiple steps such as adding styling, interactions, state management, responsiveness, accessibility, etc. We wanted to build and ship accessible, high-quality apps quickly.

Our inspirations include Material UI, Chakra UI, Ant Design, Braid Design System, Bootstrap, TailwindCSS & Flutter.

3. Features


Out of the Box Accessibility


Integrated with React ARIA and React Native ARIA, which provides React hooks. This enables you to build accessible design systems in no time.

Out of the box accessibility

Supporting Utility Props


Powered by Styled System so you can rapidly build custom UI components with constraint-based utility style props.

Rich Component Library


NativeBase offers around 40 components so you can build seamlessly. It includes button, checkbox, flex, stack and more.

Highly Themeable


Themeability is one of the core elements of NativeBase. You can customise your app theme and component styles to your heart's content.

Nativebase Logo

Available for Both Mobile and Web


NativeBase 3.0 is powered by React Native Web so you can build consistent UIs across Web, Android and iOS.

Responsiveness Made Easy


Instead of manually adding responsiveness, NativeBase 3.0 allows you to provide object and array values to add responsive styles.

Now with Dark Mode


Building apps with a dark mode setting just got a whole lot easier. NativeBase is now optimised for light and dark modes.

4. Dependencies


React Native, Expo

5. Installation


NativeBase is supported in Expo or React Native CLI initiated apps. Web support is made possible by react-native-web.

Refer the guides to setup NativeBase in your React app.

6. Components


NativeBase 3.0 is a rich component library with nearly 40 components.

- [Layout](https://docs.nativebase.io/box)
- [Forms](https://docs.nativebase.io/button)
- [Data Display](https://docs.nativebase.io/badge)
- [Feedback](https://docs.nativebase.io/alert)
- [Typography](https://docs.nativebase.io/text)
- [Overlay ](https://docs.nativebase.io/alert-dialog)
- [Disclosure](https://docs.nativebase.io/action-sheet)
- [Media & Icons](https://docs.nativebase.io/avatar)
- [Transition](https://docs.nativebase.io/presence-transition)
- [Other](https://docs.nativebase.io/fab)

7. Examples



8. KitchenSink App


Kitchen Sink is a comprehensive demo app showcasing all the NativeBase components in action. It includes buttons, forms, icons, etc.

Kitchensink App gif Kitchensink App QR code

9. Tech Stack


JavaScript, React Native, Styled System

10. Compatible Versions


NativeBaseReact
------------------------------------------------------------------------------------------
v0.1.1v0.22
v0.2.0v0.24
v0.4.6v0.26.0
v0.5.0v0.26.0
v0.5.16v0.38.0
v2.0.0-alpha1v0.38.0
v2.1.4v0.44.0
v2.2.0v0.44.0
v2.2.1v0.46.0
v2.3.0v0.46.0
v2.7.0v0.56.0
v3.0.0-next.36v0.63.0
v3.0.0v0.63.0

11. Contributors


Code Contributors


This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors


Become a financial contributor and help us sustain our community. [Contribute]

Individuals



Organizations


Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]


12. Changelog



13. Community



14. License


Licensed under the MIT License, Copyright © 2021 GeekyAnts. See LICENSE for more information.