Skip to content

Yuanbin-xavier/element-react

 
 

Repository files navigation

Element React

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.

Getting Started

Currently we haven't finalized all of the components, community contributions are welcome.

Install

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

Building

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';

Contributing

Please make sure to read the Contributing Guide before making a pull request.

Credits

  • Element Desktop UI elements for Vue.js 2.0.

License

MIT

Packages

No packages published

Languages

  • JavaScript 95.3%
  • CSS 4.4%
  • Other 0.3%