Web3Address

Display Web3 addresses in a more readable format.

Import#

import { Web3Address } from '@saas-ui/web3'

Usage#

<Web3Address address="0x71C7656EC7ab88b098defB751B7401B5f6d8976F" />

Custom length#

<Web3Address
address="0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
startLength={6}
endLength={3}
/>

In a button#

<Button>
<Web3Address address="0x71C7656EC7ab88b098defB751B7401B5f6d8976F" />
</Button>

Props#

addressrequired

Type
string

endLength

Type
number

startLength

Type
number

Was this helpful?