Files
pezkuwi-ui/packages/vue-identicon
Satoshi Qazi Muhammed 9f4b5ff112 Depend on @pezkuwi/* 14.0.26 and release 3.17.3
- dependencies on keyring, networks, util and util-crypto require
  ^14.0.26, the release on wasm-crypto 7.5.20 (ed25519, secp256k1,
  derivation and bip39 implemented; 7.5.18 had them as stubs).
  ui-keyring creates and derives accounts through these, so the floor
  matters there. peerDependencies stay "*".
- @pezkuwi/dev ^0.85.12, @pezkuwi/x-bundle ^14.0.26.
- 3.17.3 for every package and for the dependencies between them.
2026-10-08 11:10:19 +04:00
..
2026-01-07 02:35:24 +03:00

@pezkuwi/vue-identicon

A generic identity icon that can render icons based on an address.

Usage Examples

To install the component, do yarn add @pezkuwi/vue-identicon and then use it with import Identicon from '@pezkuwi/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 '@pezkuwi/vue-identicon';

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