Neatly Punctuated Musings

    react-modular-ui
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.10 • Public • Published

    React Modular UI

    Customizable Isomorphic React UI library.

    Coverage Status Stories in Ready

    Installation

    npm install react-modular-ui --save
    

    or

    yarn add react-modular-ui
    

    Example

    import React from "react";
    import {Button} from "react-modular-ui";
    
    class Example extends React.Component {
      render() {
        return (
          <Block layout="horizontal" justify="center">
            <Button color="primary">Sign up</Button>
            <Button>Sign in</Button>
          </Block>
        );
      }
    }
    

    Preact support

    You can use preact-modular-ui package in case you are using preact.

    npm install preact-modular-ui --save
    

    or

    yarn add preact-modular-ui
    

    Development

    Set up

    npm install
    

    Run

    Build:

    gulp
    

    Start server:

    npm start
    

    Client side rendering example: http://localhost:3000 Server side rendering example: http://localhost:3000/static

    Test

    npm run test-dev
    

    Keywords

    none

    Install

    npm i react-modular-ui

    DownloadsWeekly Downloads

    393

    Version

    2.1.10

    License

    none

    Unpacked Size

    677 kB

    Total Files

    138

    Last publish

    Collaborators

    • omegascorp