@hig/components

3.4.0 • Public • Published

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" />;

Readme

Keywords

none

Package Sidebar

Install

npm i @hig/components

Weekly Downloads

4

Version

3.4.0

License

Apache-2.0

Unpacked Size

69.2 kB

Total Files

94

Last publish

Collaborators

  • hig-bot
  • nfiniteset
  • wmui51
  • staceyshk