npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

nb-beavr

v3.0.0-alpha-40-16

Published

Essential cross-platform UI components for React Native

Downloads

30

Readme

NativeBase 3.0 Financial Contributors on Open Collective Build Status npm version npm downloads

A complete component library for React Native Ecosystem

  • Accessible : Maximise app usage with our accessible design.
  • Responsive : Create responsive apps with ease from the get-go.
  • Themeable : Customise your app theme and component styles.
  • Consistent : Make accurate predictions for web, Android & iOS.

Documentation

You can find the complete documentation here.

Table of Content

  1. What is NativeBase 3.0?
  2. Why NativeBase 3.0?
  3. KitchenSink App
  4. Compairing available options
  5. Inspirations
  6. API
  7. Getting Started
  8. Components
  9. Documentation
  10. Website
  11. Quick Links to NativeBase
  12. About the creators

1. What is NativeBase 3.0?

NativeBase is a universal Design System for Mobile & Web built for React Native and React with the same API. Ships a bunch of components for most of the use-cases that includes Button, AppBar, Dialog, Modal and what not.

2. Why NativeBase 3.0?

We want to build and ship apps fast with the highest quality. We want to focus on the business logic and to solve real problems.

4. Compairing the available options

| Name | Web | Mobile | Design System | Customizable | Components | Language | Docs | Popularity | | ------------------- | --- | ------- | ------------- | ------------ | ------------------------ | ---------- | --------- | ---------- | | Ant Design | Yes | Partial | Yes | Low | Many | JavaScript | Very good | | | Braid Design System | Yes | No | Yes | Medium | Many | JavaScript | Good | | | Bootstrap | Yes | No | Yes | Medium | Limited | CSS | Very good | | | TailwindCSS | Yes | Partial | Yes | High | Rich (with TailwindUI) | CSS | Very good | | | Flutter Material | Yes | Yes | Yes | High | Many | Dart | Average | | | NativeBase 3.0 | Yes | Yes | Yes | High | Rich | JavaScript | Very good | |

5. Inspirations

Ant Design, Braid Design System, Bootstrap, TailwindCSS, Flutter Material

6. API

Declarative and Imperative. Declarative for components and Imperative for all the actions

7. Getting Started

To have NativeBase components running onto your native apps, all you need to do is, create a fresh React Native project using whatever you want, expo is a really great starting point so we will start with that and install the NativeBase using npm or yarn and add all the peer dependencies.

Setup with React Native

react-native init AwesomeNativeBase
cd AwesomeNativeBase

Install NativeBase

# using yarn
yarn add native-base@next
# using npm
npm i native-base@next

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 ready to run on iOS and Android devices.

Setup with Expo

Expo helps you make React Native apps with no build configuration. It works on macOS, Windows, and Linux. Refer this link for additional information on Expo and setting up an Expo starter app.

Install NativeBase

# using yarn
yarn add native-base@next
# using npm
npm i native-base@next

We will also have to install these peer dependencies

Install react-native-svg

# using yarn
yarn add react-native-svg
# using npm
npm i react-native-svg

Install react-native-vector-icons

# using yarn
yarn add react-native-vector-icons
# using npm
npm i react-native-vector-icons

Install styled-components

# using yarn
yarn add styled-components
# using npm
npm i styled-components

Install styled-system

# using yarn
yarn add styled-system
# using npm
npm i styled-system

8. Components

NativeBase 3.0 is made from two types of components — Primitives and Composite.

  • Primitive components are the building blocks.
  • Composite components are made up of primitive components.

9. Documentation

Go through NativeBase Docs to play with NativeBase.

10. Website

https://nativebase.github.io/

11. Quick Links to NativeBase

12. About the creators

We are GeekyAnts, a startup based in Bangalore, India with 200+ 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.

Another major project by us is BuilderX, a screen design tool which codes React Native for you.

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]