Vanilla JS

Include the Jdenticon library somewhere on your page. Below is Jdenticon served from jsDelivr, but you can download and host it yourself as well.

<script src="" async

Add an <svg> element where you want to render an identicon. Use the data-jdenticon-value attribute to specify that an identicon should be rendered. user127 below is just an example of a value.

<svg width="80" height="80" data-jdenticon-value="user127"></svg>

Refresh the page in your browser.