open-index/open-npm huggingface dataset:
npm package: @nounsinblack/avatars-svelte
Description: Use [Nouns](https://nouns.wtf) as avatars in your next Svelte project.
Author: Badu Blanc
Latest version: 1.1.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Noun Avatars for Svelte

Use [Nouns](https://nouns.wtf) as avatars in your next Svelte project.

# Quickstart

## Install

<!-- prettier-ignore -->
```bash
npm install @nounsinblack/avatars-svelte
```

or

<!-- prettier-ignore -->
```bash
yarn add @nounsinblack/avatars-svelte
```

## Usage

<!-- prettier-ignore -->
```js
<script>
  import Avatar from '@nounsinblack/avatars-svelte'
</script>

<Avatar />
```

# Props

<!-- prettier-ignore -->
```js
<Avatar
  name="badublanc.eth"
  shape="square"
  blockhash="0x4n6…55Rw"
  size={200}
  fill={false}
/>
```

Each prop is optional. A random Noun will be generated if `name` is not provided.

### `name`

String.

### `shape`

String. `square` or `circle`. Default: `square`

### `blockhash`

String. Default: `0x26607b95db327bd1c521f66a13135cbbd12ffe76e2a76ce6751f9a71c141ee27`. Must be a valid blockhash.

### `size`

Number. Default: `125`

### `fill`

Boolean. Default: `false`. Overrides `size` when `true`.