All Projects → wix → React Native Ui Lib

wix / React Native Ui Lib

Licence: mit
UI Components Library for React Native

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
objective c
16641 projects - #2 most used programming language
java
68154 projects - #9 most used programming language
SCSS
7915 projects
Objective-C++
1391 projects

Projects that are alternatives of or similar to React Native Ui Lib

Smart Hierarchy
Better hierarchy for Unity.
Stars: ✭ 234 (-94.04%)
Mutual labels:  tools, components
Framework7
Full featured HTML framework for building iOS & Android apps
Stars: ✭ 16,560 (+321.59%)
Mutual labels:  components
Nutui
京东风格的移动端 Vue2、Vue3 组件库 (A Vue.js UI Toolkit for Mobile Web)
Stars: ✭ 3,870 (-1.48%)
Mutual labels:  components
Bem Core
BEM Core Library
Stars: ✭ 275 (-93%)
Mutual labels:  components
Go Starter Kit
[abandoned] Golang isomorphic react/hot reloadable/redux/css-modules/SSR starter kit
Stars: ✭ 2,855 (-27.32%)
Mutual labels:  components
Supervizer
NodeJS Application Manager
Stars: ✭ 278 (-92.92%)
Mutual labels:  tools
Extract android ota payload
Extract firmware images from an Android OTA payload.bin file
Stars: ✭ 267 (-93.2%)
Mutual labels:  tools
Framework Codeidea
System file classification
Stars: ✭ 289 (-92.64%)
Mutual labels:  tools
Unrealeditorpythonscripts
Some of my personal scripts i made to use for my own projects, but free of charge to be used for any project and any purpose as long as it is not violating the Unreal Engine EULA.
Stars: ✭ 282 (-92.82%)
Mutual labels:  tools
Tools For Instagram
Automation scripts for Instagram
Stars: ✭ 274 (-93.02%)
Mutual labels:  tools
Gatsby Themes
Gatsby themes for blazing fast sites. We are working on the next version of the Flex theme. See https://github.com/reflexjs/reflexjs
Stars: ✭ 275 (-93%)
Mutual labels:  components
Tool lists
Links to tools by subject
Stars: ✭ 270 (-93.13%)
Mutual labels:  tools
Slide Ruler
📏 Slide Ruler 滑尺数值选择器
Stars: ✭ 281 (-92.85%)
Mutual labels:  components
Mikutools
一个轻量的工具集合
Stars: ✭ 2,964 (-24.54%)
Mutual labels:  tools
Htmlviewer
The well-known Delphi/Lazarus HtmlViewer/FrameViewer
Stars: ✭ 287 (-92.69%)
Mutual labels:  components
Visualplus
🎨 The VisualPlus Framework (VPF) for WinForms allows you to rapidly deploy professional .NET applications with customizable components and controls.
Stars: ✭ 268 (-93.18%)
Mutual labels:  components
Awesome List
Curated list of links on component-driven development and design systems
Stars: ✭ 271 (-93.1%)
Mutual labels:  components
Reactackle
Open-source components library built with React and Styled-Components.
Stars: ✭ 278 (-92.92%)
Mutual labels:  components
Miscellaneous
百宝箱
Stars: ✭ 285 (-92.74%)
Mutual labels:  tools
Aws Rotate Key
Easily rotate your AWS access key. 🔑
Stars: ✭ 288 (-92.67%)
Mutual labels:  tools

UI Toolset & Components Library for React Native


Build Status npm NPM Downloads Follow on Twitter

Check out our Docs.
Our Discord Channel

Download our Expo demo app

(You will need the Expo App)

Installing

See setup instructions here.

New Major Version 6.0

See breaking changes

For React Native >= 0.60.0

please use react-native-ui-lib

For React Native < 0.60.0

please use react-native-ui-lib@^3.0.0

Create your own Design System in 3 easy steps

Step 1

Load your foundations and presets (colors, typography, spacings, etc...)

// FoundationConfig.js

import {Colors, Typography, Spacings} from 'react-native-ui-lib';

Colors.loadColors({
  primaryColor: '#2364AA',
  secondaryColor: '#81C3D7',
  textColor: '##221D23',
  errorColor: '#E63B2E',
  successColor: '#ADC76F',
  warnColor: '##FF963C'
});

Typography.loadTypographies({
  heading: {fontSize: 36, fontWeight: '600'},
  subheading: {fontSize: 28, fontWeight: '500'},
  body: {fontSize: 18, fontWeight: '400'},
});

Spacings.loadSpacings({
  page: 20,
  card: 12,
  gridGutter: 16
});

Step 2

Set default configurations to your components

// ComponentsConfig.js

import {ThemeManager} from 'react-native-ui-lib';

// with plain object
ThemeManager.setComponentTheme('Card', {
  borderRadius: 8
});

// with a dynamic function
ThemeManager.setComponentTheme('Button', (props, context) => {
  // 'square' is not an original Button prop, but a custom prop that can
  // be used to create different variations of buttons in your app
  if (props.square) {
    return {
      borderRadius: 0
    };
  }
});

Step 3

Use it all together. Your configurations will be applied on uilib components so you can use them easily with modifiers.

// MyScreen.js

import React, {Component} from 'react';
import {View, Text, Card, Button} from 'react-native-ui-lib';

class MyScreen extends Component {
  render() {
    return (
      <View flex padding-page>
        <Text heading marginB-s4>My Screen</Text>
        <Card height={100} center padding-card marginB-s4>
          <Text body>This is an example card </Text>
        </Card>
        
        <Button label="Button" body bg-primaryColor square></Button>
      </View>
    );
  }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].