Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

react-native-ui-lib

> 前端框架
Open source

UI Components Library for React Native

7.2K stars0 likes1 views
WebsiteGitHub

About

UI Components Library for React Native

UI Toolset & Components Library for React Native


Notes

React Native New Arc

We are working on upgrading our UI Library to support the new React Native Architecture. Currently, we support React Native 0.73, and we plan to support React Native 0.77 next. While we don’t have a timeline yet, this is part of our roadmap.

Links

  • Docs
  • Figma library
  • Discord Channel

Download our Expo demo app

(You will need the Expo App) or open link in your devices [expo ] exp://exp.host/@vn.chemgio/rnuilib?release-channel=default

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...)

javascript
// 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

javascript
// 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.

javascript
// 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>
    );
  }
}

Contributing

See Contribution Guide

Issues· 86 open

View all issuesOpen on GitHub
  • #4044

    Suspicious npm version 999.999.991 — empty stub "Temporary test package" published to the public registry

    bugUpdated Sep 7, 2026
  • #4043

    Version 999.999.991 released with no code

    bugUpdated Sep 7, 2026
  • #4040

    docs: edit links point to the Docusaurus repository

    Updated Aug 27, 2026
  • #4029

    Android build fails on Expo SDK 56: HighlighterViewPackage and KeyboardInputPackage not found in PackageList.java

    bugUpdated Aug 19, 2026
  • #3965

    RN 0.85.0 StyleSheet.absoluteFillObject is removed

    bugUpdated Aug 18, 2026
  • #4025

    react-native 0.85.3 react-native-ui-lib 9.0.4 import component error

    bugUpdated Jun 23, 2026
  • #3950

    Android build fails error: cannot find symbol new HighlighterViewPackage()

    bugUpdated May 28, 2026
  • #4022

    Checkbox looks laggy in Picker in MULTI mode

    bugUpdated May 26, 2026
  • #4002

    SortableGridList does not forward props to its inner ScrollView (inconsistent with SortableList)

    Updated May 18, 2026
  • #3956

    IOS Crash when using KeyboardAccessoryView on React Native 0.79

    bugUpdated Mar 25, 2026

> Tags

TypeScriptandroidcomponentshacktoberfestios

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 22, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架