# OptionButton

The option button is a component that will often be used in a group of multiple option buttons and will play a role similar to the radio buttons.

<Example is="custom" />

<ReferenceLinks is="custom" />

## Installation

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

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

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

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

## Usage

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

```jsx
import OptionButton from '@igloo-ui/option-button';

<OptionButton htmlFor="textBtn" name="buttonType" buttonType="text">
  Text
</OptionButton>;
```
