Socket
Socket
Sign inDemoInstall

@hig/components

Package Overview
Dependencies
Maintainers
5
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/components

HIG Components


Version published
Weekly downloads
62
decreased by-23.46%
Maintainers
5
Weekly downloads
 
Created
Source

Components

The Components package exports all of the available HIG components for easy access.

Please view the individual components packages for component specific documentation.

Getting started

Install the package

yarn add @hig/components

Basic usage

Import all components and CSS

import * as HIG from "@hig/components";
import "@hig/components/build/index.css";

<HIG.Button title="Click Me" />;

Import a single component

import { Button } from "@hig/components";
import "@hig/components/build/button.css";

<Button title="Click Me" />;

Import a component with component-specific exports

import Button, { types } from "@hig/components/build/button";
import "@hig/components/build/button.css";

<Button type={types.PRIMARY} title="Click Me" />;

FAQs

Package last updated on 25 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