3.2.0 • Published 2 years ago

@hig/button v3.2.0

Weekly downloads
36
License
Apache-2.0
Repository
github
Last release
2 years ago

Button

HIG buttons trigger actions or changes within the interface. They come in a number of varieties.

Read more about when and how to use the Button components on the HIG website.

Getting started

yarn add @hig/button @hig/theme-context @hig/theme-data

Import the component

import Button from '@hig/button';

Basic usage

<Button
  size="standard"
  title="Click Me"
  type="primary"
/>

Custom CSS

Use the className prop to pass in a css class name to the outermost container of the component. The class name will also pass down to most of the other styled elements within the component.

Usage as a link

<Button
  size="standard"
  title="Github"
  type="secondary"
  link="https://www.github.com"
  target="_blank"
/>
3.2.0

2 years ago

3.1.1

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

1.4.5

3 years ago

1.4.4

4 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago