Full Width Profile
The Full Width Profile component displays a comprehensive Ethereum Profile with ENS and EFP details like:
- Avatar and Header Image
- Name and Status
- Role (if provided)
- Description (Bio)
- Follower State (follows you, blocks you, mutes you)
- Profile Statistics (Followers, Following)
- Common Followers
- Social Media Links
- POAP Badges
Add to your project
import { FullWidthProfile } from 'ethereum-identity-kit'
export default function Home() {
return <FullWidthProfile addressOrName="cottons.eth" />
}Parameters
| Parameter | Description | Required | Default Value |
|---|---|---|---|
addressOrName | Ethereum Address or ENS name to fetch profile data for. | Yes | - |
list | Search profile data by list number; overrides addressOrName if provided. | No | - |
connectedAddress | Address of the user connected to the app. | No | - |
darkMode | Enables dark mode styling for the profile. | No | false |
showFollowerState | Shows follower state tag (follows you, blocks you, mutes you). | No | false |
showFollowButton | Shows the follow button in the profile. | No | true |
showEmptySocials | Shows empty socials in the profile. | No | true |
onStatClick | Action to perform when a stat is clicked; defaults to navigating to EFP profile with selected stat. | No | - |
selectedList | List number selected in your application for the connected user. | No | - |
onProfileClick | Action to perform when the profile is clicked. | No | - |
showPoaps | Shows EFP related POAPs on the profile. | No | true |
alignProfileContent | Aligns the profile content when max-width is surpassed (center, start, end). | No | ’center’ |
extraOptions | Additional options for profile data and functionality. See ProfileExtraOptions type for details: | No | - |
- customFollowButton: React node for a custom follow button. | |||
- nameMenu: React node for a name menu. | |||
- role: Additional information to display on the profile (used for roles on ethid.org). | |||
- openListSettings: Function to open list settings modal. | |||
prefetched | Prefetched data for improved performance. Object with nested structure: | No | - |
- profile: { data, isLoading, refetch } - Profile data with loading state | |||
- stats: { data, isLoading, refetch } - Stats data with loading state | |||
className | Additional CSS class names to apply to the component. | No | - |
style | Inline CSS styles to apply to the component. | No | - |
The component uses predefined styles and can be further customized using the className prop. The appearance can be
manually toggled between light and dark modes using the darkMode prop, however, if you have a dark class applied
in your application, the component will automatically use that.