Identity – Composer Kit
Skip to content

Identity

Usage

The Identity component displays user information such as address, name, balance, and social links in a visually appealing way.

Props

Identity

PropTypeDescription
addressAddressThe address of the identity.
token"CELO" | "cUSD" | "USDT"The type of token associated with the identity. Optional.

Name

PropTypeDescription
isTruncatedbooleanWhether the name should be truncated. Optional.

Social

PropTypeDescription
tag"github" | "twitter" | "url" | "farcaster"The social platform tag for the link.

Balance

PropTypeDescription
precisonnumberThe precision for displaying the balance. Optional.

Avatar

React.HTMLAttributes<HTMLImageElement>