uiw

A high quality UI Toolkit, A Component Library for React 16+. 💘

Installation

npm install [email protected] --save

You can use kkt to quickly create a react + uiw project.

npx kkt create my-app -e uiw

You can use the uiw v1.x version. Please see here for instructions. (npx comes with npm 5.2+ and higher.)

Basic Usage

import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'uiw';

ReactDOM.render(
  <Button type="primary">Hello</Button>, 
  document.getElementById('app')
);

Documentation

Visit the uiwjs.github.io website for more information.

Or Open in VSCode Preview :

Open in VSCode

Development

Use Gitpod, a free online dev environment for GitHub.

Open in Gitpod

Or clone locally:

$ git clone https://github.com/uiwjs/uiw.git
$ cd uiw
$ npm install # or  yarn install
$ cd uiw/packages/core && npm install

To develop, run the self-reloading build:

$ cd ./packages/core
npm run watch
# Run the app
# Restart the app automatically every time code changes. 
# Useful during development.
$ npm start

Open your browser and visit http://localhost:19870

Update the document

npm run deploy

Folders

├── LICENSE
├── README.md
├── package.json
├── packages        # Component library source code
│   ├── core
│   |   └── src
│   └── doc
├── public          # Document the static file.
└── src             # Document website source code.
    ├── Router.js
    ├── assets
    ├── common      # Menu and routing configuration.
    ├── components
    ├── index.js
    ├── layouts
    ├── models
    ├── routes
    ├── store
    ├── styles
    └── utils

License

Licensed under the MIT License.