@orion-ui/react-hig

hig components in react

Stats

StarsIssuesVersionUpdatedCreatedSize
@orion-ui/react-hig
1.0.3-alpha.b15738754 years ago4 years agoMinified + gzip package size for @orion-ui/react-hig in KB

Readme

react-hig

React components for the HIG

Table of Contents

This project uses node and npm. Go check them out if you don't have them locally installed.

$ npm install --save @orion-ui/react-hig

Then with a module bundler like rollup or webpack, use as you would anything else:

// using ES6 modules
import { Button } from '@orion-ui/react-hig';

// Styles
import '@orion-ui/react-hig/react-hig.css';

// using CommonJS modules
var ReactHIG = require('@orion-ui/react-hig');
var Button = ReactHIG.Button;

The UMD build is also available on unpkg:

<script src="https://unpkg.com/@orion-ui/react-hig/lib/react-hig.umd.js"></script>

You can find the library on window.ReactHIG.

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from '@orion-ui/react-hig';

class App extends React.Component {
  render() {
    return (
      <div>
        <Button title="Hello World!" />
      </div>
    )
  }
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.