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:className
prop:
defaultComponent
prop to change the default avatar when ENS avatar is not found.
Use loadingComponent
prop to change the loading placeholder:
Badge
component.
Use OnchainKitProvider
or Identity
component with the schemaId
prop.
Props
AvatarReact