@hig/components

HIG Components

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
139235Jun 16, 2021Apr 3, 2017Minified + gzip package size for @hig/components in KB

Readme

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

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.