react-native-ui-base

0.1.0 • Public • Published

React Native UI Base

Welcome to the React Native UI Base, a collection of essential UI components designed to accelerate the development of high-quality mobile applications using React Native.

Installation

npm install react-native-ui-base

Usage

import { ThemeProvider } from 'react-native-ui-base';

return (
  <ThemeProvider>
    {children}
  </ThemeProvider>
)

import { SafeAreaView } from "react-native";
import { Typography, View, Text } from "react-native-ui-base";

Typography.loadTypographies({
  test: { fontSize: 12, color: 'red' },
});

return (
  <SafeAreaView>
    <View bg-$backgroundDefault gap-10 br0 margin-s1>
      <Text h1>Title/H1</Text>
    </View>
  </SafeAreaView>
)

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

Package Sidebar

Install

npm i react-native-ui-base

Weekly Downloads

5

Version

0.1.0

License

MIT

Unpacked Size

366 kB

Total Files

276

Last publish

Collaborators

  • hizp