react-native-zero-components

0.5.3 • Public • Published

Zero Components

Introduction

Zero Components is a React Native component collection library. Here we have all the components that we at Zero Molecule use on most of our projects that are not available in the standard React Native component collection

Features

  • One touchable to rule them all (main motivation for this whole library)
  • Button components that don't suck
  • Simple way to generate shadows for your components
  • Flow typed props
  • Customizable UI components

Getting started

Installation

If you want just the components, you need to add the plugin from npm.js using

npm install react-native-zero-components --save

or if you prefer yarn

yarn add react-native-zero-components


Usage

To use the components, just import them from react-native-zero-components and use them like you would use any other component

import React from 'react'
import { View } from 'react-native'
import { Button } from 'react-native-zero-ui'
 
const App = () => {
  return (
    <View>
      <Button
        title="Click me"
        onPress={() => console.log('Hello there!')}
      />
    </View>
  );
};

Content

Components

Other

If you want us to include another component or something else, please let us know!

Documentation

View the full docs here

Demo App

Zero Components demo app is written using Expo. Take a look at the example/ directory for more information.
Better showcase app comming soon!

License

Zero Components is open source and released under the BSD-3-Clause License

Dependents (0)

Package Sidebar

Install

npm i react-native-zero-components

Weekly Downloads

1

Version

0.5.3

License

BSD-3-Clause

Unpacked Size

398 kB

Total Files

163

Last publish

Collaborators

  • zeromolecule