Display user identity information with ENS and chain-specific name resolution
IdentityCard
component provides a comprehensive way to display user identity information, including ENS names, avatars, and chain-specific name resolution.
className
or by setting a custom OnchainKit theme. You can also set the mainnet
chain for ENS name resolution:
IdentityCardReact
Prop | Type | Description |
---|---|---|
address | string | The wallet address to display identity for |
chain | Chain | The chain to resolve the identity on |
className | string | Additional CSS classes to apply |
schemaId | Address | null | The schema ID for attestation |
badgeTooltip | boolean | string | When true , displays the attestation name in tooltip. When a string is provided, shows that custom text instead. Defaults to false |
badgeTooltip
to provide context about what the verification badge represents<Avatar>
- Displays user avatars<Name>
- Displays resolved names<Identity>
- Simplified identity display