Element was initially written in Vue, which has many elegant UI components, but we also love React, so we forked it for the React community.
Currently we haven't finalized all of the components, community contributions are welcome.
npm install element-react --save
Before the building, you need a style theme, here we recommend you to pick up element-theme-default
.
npm install element-theme-default --save
We are die hard fans of ECMAScript 6, so we recommend you writing code in modern javascript.
import { Button } from 'element-react';
Also we provide an advanced way to tree shaking the code with Rollup.js and Webpack 2
import { Button } from 'element-react/next';
Please make sure to read the Contributing Guide before making a pull request.
- Element Desktop UI elements for Vue.js 2.0.
MIT