# IconButton

IconButton are used primarily for actions.

<Example is="custom" />

<ReferenceLinks is="custom" />

## Installation

To install `@igloo-ui/icon-button` in your project, you will need to run the following command using [npm](https://www.npmjs.com/):

```bash
npm install @igloo-ui/icon-button
```

If you prefer [Yarn](https://classic.yarnpkg.com/en/), use the following command instead:

```bash
yarn add @igloo-ui/icon-button
```

## Usage

Then to use the component in your code just import it!

```jsx
import IconButton from '@igloo-ui/icon-button';
import Plus from '@igloo-ui/icons/dist/Plus';

<IconButton icon={<Plus size="small" />} />;
```
