hig components in react


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



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.


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

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

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.