- install Jdenticon using
npm install jdenticon --save
- import this directive into your intended module and add it to declarations.
- then use it in your html file like this:
<svg width="50" height="50" [identiconHash]="hash">
Fallback text for browsers not supporting inline svg
</svg>