Avatar
component is used to display ENS or Basenames avatar associated with Ethereum addresses.
When an avatar is not available, it defaults to blue color avatar.
Usage
Address with an ENS avatar:
Address without an ENS or Basenames avatar defaults to a plain avatar:
Address with a Basename avatar:
Override styles via
className
prop:
Use
defaultComponent
prop to change the default avatar when ENS avatar is not found.
Use loadingComponent
prop to change the loading placeholder:
Show attestation on ENV avatar with
Badge
component.
Use OnchainKitProvider
or Identity
component with the schemaId
prop.
Props
AvatarReact