DocsComponentsProfile Card

Profile Card

The Profile Card component displays a user’s ENS and EFP details like:

  • Primary List Number (EFP List)
  • Avatar
  • Header Image
  • Name
  • Description (Bio)
  • Links
  • Socials
  • Followers
  • Following

Add to your project

import { ProfileCard } from 'ethereum-identity-kit'
 
export default function Home() {
  return <ProfileCard addressOrName="vitalik.eth" />
}
Try it out! - https://playground.ethidentitykit.com/?path=/docs/organisms-profile-card--component-docs
Following
Followers

Parameters

ParameterDescriptionRequiredDefault Value
addressOrNameEthereum Address or ENS name to fetch profile data for.Yes-
listSearch profile data by list number; overrides addressOrName if provided.No-
connectedAddressAddress of the user connected to the app.No-
darkModeEnables dark mode styling for the profile card.Nofalse
showFollowerStateShows follower state tag (e.g., follows you, blocks you, mutes you).No-
onStatClickAction to perform when a stat is clicked; defaults to navigating to EFP profile with selected stat.NodefaultOnStatClick
optionsAdditional options for profile data and stats. See ProfileCardOption type for details:No-
- followButton: React node for a follow button.
- nameMenu: React node for a name menu.
- profileData: Prefetched profile data.
- prefetchedProfileLoading: Loading state for prefetched profile data.
- refetchProfileData: Function to refetch profile data.
- statsData: Prefetched stats data.
- prefetchedStatsLoading: Loading state for prefetched stats data.
- refetchStatsData: Function to refetch stats data.
classNameAdditional CSS class names to apply to the component.No-
styleInline CSS styles to apply to the component.No-
propsAdditional props for the <div> element.No-