Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🤖 A React component that deterministically generates robot icons.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages