byDefaultHuman
Blocks

Profile Card Block

A social profile card combining Avatar, Badge, Button, AvatarGroup, Tooltip, and RoughLine.

GL

Grace Liu

@graceliu

Design Engineer

Designing systems that feel playful without losing the sharp edges needed for production.

1420

Followers

318

Following

Mutual followers

AC
BM
CD
DP

Installation

package manager
npx shadcn add https://bydefaulthuman.fun/r/profile-card.json

Props

PropTypeDefaultDescription
avatarFallback
string
Fallback initials for the avatar.
avatarSrc
string
Avatar image URL.
bio
string
Profile bio text.
followers
number
Follower count.
following
number
Following count.
messageLabel
string
Textarea label.
mutualFollowers
MutualFollower[]
Avatars rendered in the mutual followers group.
mutualFollowersLabel
string
Label above the avatar group.
name
string
Display name.
onFollow
(following: boolean) => void
Callback fired when follow is clicked.
onMessage
() => void
Callback fired when message is clicked.
role
string
Role badge text.
username
string
Secondary handle text.

Accessibility

This block is composed from accessible byDefaultHuman components. Preserve visible labels, button text, and supporting copy when adapting it so the layout remains understandable without the visual styling.

Examples

import { ProfileCardBlock } from "@/components/block/ProfileCardBlock";

<ProfileCardBlock />;