HIG Components


1482493.1.04 months ago4 years agoMinified + gzip package size for @hig/components in KB



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

import * as HIG from "@hig/components";

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

Import a single component

import { Button } from "@hig/components";

<Button title="Click Me" />;

Import a component with component-specific exports

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

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

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.