Skip to main content

Address

Display an address along with a utility icon to copy the address. A blockie image representation of the address will be shown.

Address Example

Import

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

Usage

<Address address="0x34aA3F359A9D614239015126635CE7732c18fDF3" />

Props

PropTypeDefault ValueRequiredDescription
addressstringundefinedYesAddress in 0x___ format, it will resolve its ENS if it has one associated.
containerStyleViewStyleundefinedNoStyle the component container.
textStyleTextStyleundefinedNoStyle the address.
iconStyleTextStyleundefinedNoStyle the copy icon.
copyablebooleantrueNoif set to true, an icon will be displayed to copy the address.