Skip to content

Components

ENS Profile

Profile card for an ENS name or address. Avatar, name, bio and links.

Avatar, name, address with copy, bio, and links from the name’s text records (website, X, GitHub, email).

Loading ENS profile
Terminal window
npx shadcn@latest add @0xui/ens-profile
import { EnsProfile } from "@/components/ens-profile";
<EnsProfile name="vitalik.eth" />;
// Or by address: uses its primary name
<EnsProfile address={address} />;
Loading ENS profile

ENS lives on Ethereum mainnet, so mainnet must be in your wagmi config. Pass records to read other text records. Unknown keys are fetched and returned by useEnsProfile, but not rendered.

data-phase Meaning
loading A skeleton measured from the avatar, name and address.
ready Profile shown.
not-found The name has no address, or the address has no primary name.