/BotIdenticon

:robot: A React component that deterministically generates robot icons.

Primary LanguageJavaScriptMIT LicenseMIT

Bot Identicon

A React component that deterministically generates robot icons based on the given input. See example code below:

<BotIdenticon 
  identifier="john von neumann"
  size={500}
/>

Note: this has been rewritten as a typescript package - @digitalungdom-se/bot-identicon.

Dependencies

Crypto-js is needed to hash the identifier.

Props

  • identifier - the default is an empty string
  • size - the size of the icon, default is 200px
  • color - manually set the color [h, s, l]
  • face - manually set the face int in interval [0..7] they come in this order: cool, evil, kiss, incognito, normal, laughing, happyEyes, heartEyes.

Credit

The original robot design is by @charlesmaddock and @digitalungdom-se