GithubHelp home page GithubHelp logo

miguelramosfdz / ruui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudle/ruui

0.0 1.0 0.0 777 KB

React's cross-platform UI for Web, Native (Android, iOs)

JavaScript 91.33% Python 1.71% Java 1.53% Objective-C 4.61% HTML 0.82%

ruui's Introduction

React Universal UI

Build Status npm version

Cross-platform (React Native and Web Browser) React, React Native's UI components to re-use everywhere.

Platforms

Native platforms: iOs, Android (we'll need more customize to make it run on another native places like Mac, Windows or Linux - currently I got no plan for those platforms).

Browser support: Chrome, Firefox, Safari >= 7, IE 10, Edge.

Overview

"React Universal UI" is a cross-platform React's UI Kit - which could be run on both Web Browser and React Native environment, write once and use everywhere.

Checkout demo and detailed documentations for live example.

How it work

####React Native: Essentially this is just a normal React Native UI Library - which absolutely work with React Native's ecosystem. Feel free to use those UI with your favorite React Native library even if you don't care about Browser yet (but believe me, you'll love it - Browser run give us tons of cool stuff).

####Browser: React Native Web let us run our React Native code on Browser and React Universal UI (this project) cares about behavior of those components on Browser.

####Universal: There're some differences between React Native and Web building block - such as Routing, Touch/Mouse handling... this project cares and provide support for those differences (there're helpers under utils module), which save your time and let you focus on write your Universal App.

Quick start

To install it in your app:

npm install --save react-universal-ui

####Alternatively, you can start with react-universal-ui boilerplate which have more complete structure to work on cross-platform React Native project.

Status

This is a work in progress, right now here's what is done:

  • Cross-platform react-native-vector-icon with my fork
  • ResponsibleTouchArea (Reuseable Ripple Effect).
  • Cross-platform Drawer (Aka Side Menus - based on react-native-drawer)
  • Cross-platform Navigation, Routing integration
    • Native Navigation (based on React Native's ExperimentalNavigation)
    • React-Router for Web/Native (Full-featured Browser support, fallback to Memory Navigation History for React Native)
    • Redux helpers
  • Switches (exposed from react-native-web)
  • Button Component
    • Ripple effect
    • Fade effect
    • Raised style
    • Icon Button
    • Tooltip (Web only)
  • Text Input Component (Material-inspired, but highly customizable)
    • Underline effect
    • Floating label
    • Force label-floating
    • Field Error
    • Hint
    • Multi-line
    • Number, currency, datetime masking
    • Tooltip (Web only)
  • Modal
  • Loading Mask (mobile)
  • Radio
  • Snackbar
  • Select field (mostly for Web)
  • Selector API and Selector components for Native.
  • Picker Components
    • Datetime picker
    • Scroll Picker

Related projects

License

MIT

ruui's People

Contributors

lockonostratos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.