Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

react-weui

> 前端框架
Open source

weui for react

2.9K stars0 likes2 views
WebsiteGitHub

About

weui for react

React-WeUI

WeUI Components build with React.

Docs

1.0.x documentation with live examples. 0.4.x documentation with live examples.

Installation

With npm:

If React is not installed

bash
npm install --save react react-dom
npm install --save [email protected] react-weui

With React Installed

bash
npm install [email protected] react-weui --save

To use the development version (API might changes on realese version)

bash
npm install react-weui@alpha --save

With browser (CDN by unpkg)

Javacript

https://unpkg.com/[email protected]

CSS

https://unpkg.com/[email protected]/build/dist/react-weui.css

Example

We have several examples on the documentation. Here is the first one to get you started:

javascript
// app.js

import 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 = () => <Button>hello wechat</Button>;

ReactDOM.render((
    <App/>
), document.getElementById('container'));

Contributing

Welcome and send the PR in! Development of components will happen in this github repo.

See the contributing guidelines for details.

Mobile Demo

1.0.0

License

The MIT License(http://opensource.org/licenses/MIT)

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptcomponent-librarycomponentsreactreact-components

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架