# vue3-polkadot-vue-identicon

> @polkadot/vue-identicon compatible with vue3

Latest version **1.0.4** (published 2022-07-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install vue3-polkadot-vue-identicon
pnpm add vue3-polkadot-vue-identicon
yarn add vue3-polkadot-vue-identicon
bun add vue3-polkadot-vue-identicon
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2022-07-06 |
| First published | 2022-07-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 89.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | zhanggoodzhi |
| Maintainers | zhanggoodzhi |

## Links

- npm: https://www.npmjs.com/package/vue3-polkadot-vue-identicon
- Repository: https://github.com/zhanggoodzhi/vue3-polkadot-vue-identicon
- Homepage: https://github.com/zhanggoodzhi/vue3-polkadot-vue-identicon#readme
- Issues: https://github.com/zhanggoodzhi/vue3-polkadot-vue-identicon/issues
- npm.io page: https://npm.io/package/vue3-polkadot-vue-identicon

## Dependencies (5)

- [jdenticon](https://npm.io/package/jdenticon.md) 3.1.1
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.18.6
- [@polkadot/util](https://npm.io/package/@polkadot/util.md) ^9.7.2
- [@polkadot/ui-shared](https://npm.io/package/@polkadot/ui-shared.md) 2.7.2
- [@polkadot/util-crypto](https://npm.io/package/@polkadot/util-crypto.md) ^9.7.2

## Recent versions

- 1.0.4 (latest) — 2022-07-06
- 1.0.3 — 2022-07-06
- 1.0.2 — 2022-07-06
- 1.0.1 — 2022-07-06
- 1.0.0 — 2022-07-06

## README

# vue3-polkadot-vue-identicon

@polkadot/vue-identicon compatible with vue3, A generic identity icon that can render icons based on an address.

## Usage Examples

To install the component, do `yarn add vue3-polkadot-vue-identicon` and then use it with `import Identicon from 'vue3-polkadot-vue-identicon';`

Inside a Vue component, you can now render any account with the associated icon, with associated props -

- `value` - the address you wish to display
- `size` (optional, defaults to `64`) - the size in pixels
- `theme` (optional, defaults to `substrate`) - the theme to use, one of
  - `polkadot` or
  - `substrate` (equivalent to `jdenticon`) or
  - `beachball` or
  - `empty` (displays nothing)

```
<template>
  <Identicon
    :size="128"
    :theme="'polkadot'"
    :value="'5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY'"
  />
</template>

<script>
  import Identicon from 'vue3-polkadot-vue-identicon';

  export default {
    ...
    components: { Identicon }
    ...
  };
</script>
```

---
_Source: https://npm.io/package/vue3-polkadot-vue-identicon · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
