Profile Card

The expanded identity panel for a sidebar: a square avatar tile, a name that can carry a verification mark, a role line, a short list of facts and the actions that belong to that person.

tsx
import {
  ProfileCard,
  ProfileCardAvatar,
  ProfileCardName,
  ProfileCardSubtitle,
  ProfileCardMeta,
  ProfileCardMetaItem,
  ProfileCardActions,
} from "@pestoui/core"

Full card

Every part is optional and they stack in the order you write them. Actions are stacked full width, so two buttons never truncate each other at sidebar width.

PL
Product lead

Workspace owner

  • Team workspace
  • Joined this quarter

Small

size="sm" buys a smaller tile and tighter padding. The type does not shrink.

OM
Ops manager

Admin

Props

PropTypeDefaultDescription
size"sm" | "default""default"On ProfileCard. Tile size, padding and radius.
childrenReactNode—On ProfileCardAvatar. Initials, an icon, or a bare img — the tile clips and sizes it.
badgeReactNode—On ProfileCardName. A mark after the name — a verification glyph, a tier icon.
badgeSrLabelstring—On ProfileCardName. The badge's accessible name. A bare glyph is silent without it.
iconReactNode—On ProfileCardMetaItem. Leading mark for the row.
classNamestring—On any part. Set the card's width on ProfileCard.

Pesto UI · 117 documented components