Socket
Socket
Sign inDemoInstall

hig-react

Package Overview
Dependencies
Maintainers
5
Versions
449
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hig-react

HIG components in React


Version published
Weekly downloads
7
Maintainers
5
Weekly downloads
 
Created
Source

hig-react

DEPRECATION WARNING: this package is no longer getting updates. Use the component packages published in the @hig namespace, and browse their source at packages.

React components for the HIG

Consume

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

$ yarn add hig-react

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

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

// give me all the components at once
import * as Hig from 'hig-react';

// CSS Style (works well with webpack)
import 'hig-react/lib/hig-react.css';

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

You can find the library on window.ReactHIG.

Usage

for more code examples see the hig website: hig.autodesk.com

import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'hig-react';
import 'hig-react/lib/hig-react.css';

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

Contribute

Please see our DEVELOPING.md for running our playground locally to play around with the source and see our CONTRIBUTING.md and how to get your code back in the repo.

FAQs

Package last updated on 31 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc