Skip to content

pierregoutheraud/svelte-identicons

Repository files navigation

identicons-2 identicons-1

Demo

Demo

Install

yarn add svelte-identicons

Display identicon

<script lang="ts">
  import { Identicon } from 'svelte-identicons';
</script>

<Identicon
  seed="your-seed"
  height={10}
  width={10}
  pixelSize={10}
  numberOfColors={2}
  symetry="central"
  text={undefined}
  textColor="#ffffff"
/>