Skip to content

React Component for Generating Identicons Congruent to Ethereum Wallet’s Identicons

Notifications You must be signed in to change notification settings

AugurProject/react-blockies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Blockies

This is a simple port of https://github.com/alexvandesande/blockies to a react component.

Example:

import Blockies from 'react-blockies';

export const myBlockies = () => (
  <Blockies
    seed="Jeremy" {/* the only required prop; determines how the image is generated */}
    size={10} {/* number of squares wide/tall the image will be; default = 15 */}
    scale={3} {/* width/height of each square in pixels; default = 4 */}
    color="#dfe" {/* normal color; random by default */}
    bgColor="#ffe" {/* background color; random by default */}
    spotColor="#abc" {/* color of the more notable features; random by default */}    
  />
)

About

React Component for Generating Identicons Congruent to Ethereum Wallet’s Identicons

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •