Skip to main content

Blockie

Show a blockie (bar code profile icon) component for a given public address.

Blockie Example

Import

import { Blockie } from "~~/components/eth-mobile";

Usage

<Blockie address="0x34aA3F359A9D614239015126635CE7732c18fDF3" size={24} />

Props

PropTypeDefault ValueDescription
addressstringundefinedThe address for which you want to display its blockie. Ensure it's in the 0x___ format.
sizenumberundefinedWidth and Height in pixels (square).