Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weui/react-weui
weui for react
https://github.com/weui/react-weui
component-library components react react-components ui ui-components weui
Last synced: 1 day ago
JSON representation
weui for react
- Host: GitHub
- URL: https://github.com/weui/react-weui
- Owner: weui
- Created: 2015-10-12T06:10:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-08-06T15:18:22.000Z (over 4 years ago)
- Last Synced: 2024-11-28T06:00:56.581Z (15 days ago)
- Topics: component-library, components, react, react-components, ui, ui-components, weui
- Language: JavaScript
- Homepage: https://weui.github.io/react-weui/docs/
- Size: 7.71 MB
- Stars: 2,848
- Watchers: 140
- Forks: 492
- Open Issues: 86
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
- my-awesome - react-weui - weui for react (JavaScript)
README
# React-WeUI
[![Build Status](https://travis-ci.org/weui/react-weui.svg?branch=master)](https://travis-ci.org/weui/react-weui)
[![Github Workflow Status](https://github.com/weui/react-weui/workflows/ci/badge.svg)](https://github.com/weui/react-weui)
[![npm version](https://img.shields.io/npm/v/react-weui.svg)](https://www.npmjs.org/package/react-weui)[WeUI](https://github.com/weui/weui) Components build with [React](http://facebook.github.io/react/).
[![Coverage Status](https://coveralls.io/repos/github/weui/react-weui/badge.svg?branch=master)](https://coveralls.io/github/weui/react-weui?branch=master) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md#pull-requests) [![QQ](http://pub.idqqimg.com/wpa/images/group.png)](http://jq.qq.com/?_wv=1027&k=413HLfV)
## Docs
1.0.x [documentation](https://weui.github.io/react-weui/docs/) with live examples.
0.4.x [documentation](https://n7best.github.io/react-weui-doc-0.4.0) with live examples.## Installation
With [npm](http://npmjs.com/):
If React is not installed
```
npm install --save react react-dom
npm install --save [email protected] react-weui
```With React Installed
```
npm install [email protected] react-weui --save
```To use the development version (`API might changes on realese version`)
```
npm install react-weui@alpha --save
```With browser (CDN by [unpkg](http://unpkg.com/))
Javacript
```
https://unpkg.com/[email protected]
```CSS
```
https://unpkg.com/[email protected]/build/dist/react-weui.css
```
## ExampleWe have several examples on the documentation. Here is the first one to get you started:
```javascript
// app.jsimport React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'react-weui';
//import styles
import 'weui';
import 'react-weui/build/packages/react-weui.css';const App = () => hello wechat;
ReactDOM.render((
), document.getElementById('container'));```
## Contributing
Welcome and send the PR in! Development of components will happen in this github repo.
See the [contributing guidelines](https://github.com/n7best/react-weui-1/blob/master/CONTRIBUTING.md) for details.
## Mobile Demo
![react-weui](./docs/qrcode.png)
[1.0.0](https://weui.github.io/react-weui)
## License
The MIT License([http://opensource.org/licenses/MIT](http://opensource.org/licenses/MIT))