EthIdenticon

A component to get the Ethereum Identicon, an image that identifies Ethereum Accounts.

Usage

import { EthIdenticon } from '@aragon/ui'

const App = () => (
  <EthIdenticon
    address="0xcafE1A77e84698c83CA8931F54A755176eF75f2C"
    scale={3}
    radius={1}
    soften={0.7}
  />
)

Demonstration

Props

address

TYPEDEFAULT VALUE

String

None (Required)

Ethereum adress.

scale

TYPEDEFAULT VALUE

Number

1

Size of the image.

radius

TYPEDEFAULT VALUE

Number

0

Border radius of the image. It helps to show curved edges or make circles.

soften

TYPEDEFAULT VALUE

Number

0.3

Softens the colors of the image.

Last updated