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
- 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
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
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>
);
};
If you want us to include another component or something else, please let us know!
Zero Components demo app is written using Expo. Take a look at the example/ directory for more information.
Better showcase app comming soon!
Zero Components is open source and released under the BSD-3-Clause License