import { Story, Canvas, ArgsTable } from '@storybook/addon-docs';
import { AvatarAccount } from './avatar-account';
import { AvatarBase } from '../';
# AvatarAccount
The `AvatarAccount` is a type of avatar reserved for representing accounts.
## Props
The `AvatarAccount` accepts all props below as well as all [Box](/docs/components-ui-box--default-story#props) component props
`AvatarAccount` accepts all [AvatarBase](/docs/components-componentlibrary-avatarbase--default-story))
component props
### Size
Use the `size` prop and the `AvatarAccountSize` enum from `../../component-library` to change the size of `AvatarAccount`
Possible sizes include:
- `AvatarAccountSize.Xs` 16px
- `AvatarAccountSize.Sm` 24px
- `AvatarAccountSize.Md` 32px
- `AvatarAccountSize.Lg` 40px
- `AvatarAccountSize.Xl` 48px
Defaults to `AvatarAccountSize.MD`
```jsx
import { AvatarAccount, AvatarAccountSize } from '../ui/component-library';
```
### Variant
Use the `variant` prop and the `AvatarAccountVariant` enum from `../../component-library` to change between jazzicon and blockies variants.
```jsx
import { AvatarAccount, AvatarAccountVariant } from '../ui/component-library';
```
### Address
Use the required `address` for generating images
```jsx
import { AvatarAccount, AvatarAccountVariant } from '../ui/component-library';
```