Vue
A generic identity icon that can render icons based on an address.
#
Usage ExamplesTo install the component, do yarn add @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 displaysize
(optional, defaults to64
) - the size in pixelstheme
(optional, defaults tosubstrate
) - the theme to use, one ofpolkadot
orsubstrate
(equivalent tojdenticon
) orbeachball
orempty
(displays nothing)