Skip to content

shlomitc/wix-style-react

 
 

Repository files navigation

wix-style-react is a collection of React components that conform to Wix Style created by Wix UX guild.

Setup

  • Install with npm or yarn:
npm i wix-style-react
# OR
yarn wix-style-react
  • Use in your project:

Note: ensure body has either ltr or rtl class (depending, of course, on the displayed language).

import React from 'react';
import Button from 'wix-style-react/Button';

const MyComponent = () =>
  <Button onClick={() => console.log('thanks for clicking :)')}>
    Click me!
  </Button>;

Note: wix-style-react works best when Haste is used as build tool. If you do not use it, read here for webpack setup instructions.

demo page includes all available components with their usage examples.

Tests

Please refer the Testing page

Contributing

Please refer the Contribution page

License

This project is offered under MIT License.

About

Common React UI components for all Wix verticals developing in React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.9%
  • CSS 9.8%
  • Other 0.3%