Coder Social home page Coder Social logo

ebarahona / wix-style-react Goto Github PK

View Code? Open in Web Editor NEW

This project forked from justame/wix-style-react

0.0 3.0 0.0 8.4 MB

Common React UI components for all Wix verticals developing in React

Home Page: https://wix.github.io/wix-style-react/

License: MIT License

JavaScript 90.68% CSS 9.20% HTML 0.11% Shell 0.02%

wix-style-react's Introduction

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 add wix-style-react
  • Use in your project:
import React from 'react';
import Button from 'wix-style-react/Button';

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

Requirements

  • Load Wix fonts from CDN
    <link rel="stylesheet" href="//static.parastorage.com/services/third-party/fonts/Helvetica/fontFace.css">
  • Ensure <body> has either ltr or rtl class applied to it (depending on displayed language);

Tips

  • Use Haste as build tool to avoid configuration. Otherwise follow webpack setup instructions here
  • Enable font smoothing with browser specific css properties, for example:
    html {
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
  • Use demo pages to find all available components with examples.

Contributing

Please refer to the Contribution page

Tests

Please refer to the Testing page

License

This project is offered under MIT License.

wix-style-react's People

Contributors

nirhart avatar argshook avatar yanivefraim avatar 3lok avatar amiryonatan avatar mastertheblaster avatar interal avatar shlomitc avatar alonbt avatar itaibenda avatar ronami avatar ipanasenko avatar adavidof avatar el-fuego avatar faradey27 avatar roeia1 avatar jefoss avatar liorur avatar aarnoldaas avatar skyiea avatar varnius avatar iaroslavshvets avatar shaulgo avatar tomerla avatar amimagid avatar boriskor avatar eranshabi avatar naamagr avatar artur-charcenko avatar yaelhe avatar

Watchers

James Cloos avatar Ed Barahona avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.