All Projects → callstack → React Native Ios Kit

callstack / React Native Ios Kit

Licence: mit
The missing React Native UI Kit for iOS

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Native Ios Kit

My flutter challenges
Flutter project containing all my flutter UI challenges
Stars: ✭ 563 (+52.99%)
Mutual labels:  ui-kit, ios-ui
Tornadofx
Lightweight JavaFX Framework for Kotlin
Stars: ✭ 3,499 (+850.82%)
Mutual labels:  ui-kit
Sketch Ios Library
💎 A library of iOS styles replicated in Sketch to speed up your workflow.
Stars: ✭ 264 (-28.26%)
Mutual labels:  ios-ui
Grayshift
A lightweight front-end component library for developing fast and powerful web interfaces.
Stars: ✭ 304 (-17.39%)
Mutual labels:  ui-kit
Mand Mobile
💰 A mobile UI toolkit, based on Vue.js 2, designed for financial scenarios.
Stars: ✭ 3,194 (+767.93%)
Mutual labels:  ui-kit
Equinox
Flutter UI library based on Eva Design System ✨
Stars: ✭ 307 (-16.58%)
Mutual labels:  ui-kit
megafon-ui
MegaFon React UI
Stars: ✭ 16 (-95.65%)
Mutual labels:  ui-kit
Marqueelabel
Charles Powell
Stars: ✭ 3,741 (+916.58%)
Mutual labels:  ios-ui
Vant
Lightweight Mobile UI Components built on Vue
Stars: ✭ 18,852 (+5022.83%)
Mutual labels:  ui-kit
Kdintroview
Stars: ✭ 300 (-18.48%)
Mutual labels:  ios-ui
Deskapp
DeskApp Admin is a free to use Bootstrap 4 admin template.
Stars: ✭ 296 (-19.57%)
Mutual labels:  ui-kit
Mint Ui
Mobile UI elements for Vue.js
Stars: ✭ 16,471 (+4375.82%)
Mutual labels:  ui-kit
Jsqwebviewcontroller
[Deprecated] A lightweight Swift WebKit view controller for iOS
Stars: ✭ 307 (-16.58%)
Mutual labels:  ios-ui
Flawwwless Ui
Flawwwless ui library for React.js.
Stars: ✭ 265 (-27.99%)
Mutual labels:  ui-kit
Zftokenfield
iOS custom view that let you add token view inside like NSTokenField
Stars: ✭ 338 (-8.15%)
Mutual labels:  ios-ui
Avatarimageview
DEPRECATED!!! --- Use https://github.com/neone/NDAvatarApp
Stars: ✭ 257 (-30.16%)
Mutual labels:  ios-ui
Windows 95 Ui Kit
💾 Windows 95 UI Kit made with Bootstrap 4 components
Stars: ✭ 294 (-20.11%)
Mutual labels:  ui-kit
Xlactioncontroller
Fully customizable and extensible action sheet controller written in Swift
Stars: ✭ 3,228 (+777.17%)
Mutual labels:  ios-ui
Taro Ui
一款基于 Taro 框架开发的多端 UI 组件库
Stars: ✭ 3,806 (+934.24%)
Mutual labels:  ui-kit
Ehhorizontalselectionview
Horizontal table view style controller
Stars: ✭ 346 (-5.98%)
Mutual labels:  ios-ui

react-native-ios-kit

The missing React Native UI Kit for iOS.


Build and test Version MIT License

PRs Welcome Chat tweet Sponsored by Callstack

Features

You can find documentation with all list of features and components here

Try it out

Run the example app with Expo to see it in action.

The source code for the examples are under the /example folder.

Getting Started

Installation

Open a Terminal in your project's folder and run

  yarn add react-native-ios-kit react-native-vector-icons

After installation, you'll need to link react-native-vector-icons.

Usage

Wrap your root component in ThemeProvider from react-native-ios-kit.

It's a good idea to wrap the component which is passed to AppRegistry.registerComponent.

Example:

import * as React from 'react';
import { AppRegistry } from 'react-native';
import { ThemeProvider } from 'react-native-ios-kit';
import App from './src/App';

function Main() {
  return (
    <ThemeProvider>
      <App />
    </ThemeProvider>
  );
}

AppRegistry.registerComponent('main', () => Main);

The ThemeProvider component provides the theme to all the components in the framework. It also acts as a portal to components which need to be rendered at the top level.

Customization

Main theme for application

You can provide a custom theme to customize the colors, fonts etc. with the ThemeProvider component. Check the Theme Type to see what customization options are supported.

Example:

import * as React from 'react';
import { AppRegistry } from 'react-native';
import { DefaultTheme, ThemeProvider } from 'react-native-ios-kit';
import color from 'color';
import App from './src/App';

const theme = {
  ...DefaultTheme,
  primaryColor: 'tomato',
  primaryLightColor: color('tomato')
    .lighten(0.2)
    .rgb()
    .string(),
  disabledColor: 'yellow',
};

function Main() {
  return (
    <ThemeProvider theme={theme}>
      <App />
    </ThemeProvider>
  );
}

Customization per component

You can also customize theme per one component by using theme prop.

Example:

  <Icon
    name="ios-people"
    theme={{
      primaryColor: 'green'
    }}
  >

This code will change icon color to green

Documentation

Check the components and their usage in our documentation.

Contributing

Read the contribution guidelines before contributing.

Made with ❤️ at Callstack

react-native-ios-kit is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. Callstack is a group of React and React Native geeks, contact us at [email protected] if you need any help with these or just want to say hi!

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