# Avatar

An image icon used to identify a user.

<Example is="custom" />

<ReferenceLinks is="custom" />

## Installation

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

```bash
npm install @igloo-ui/avatar
```

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

```bash
yarn add @igloo-ui/avatar
```

## Usage

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

```jsx
import Avatar from '@igloo-ui/avatar';

<Avatar src="https://randomuser.me/api/portraits/men/10.jpg" />;
```
