Profile Card
A profile card for a person or an agent, in a full banner variant and a compact row. The default variant includes a scenic banner header; the compact variant keeps only the avatar row - useful in sidebars or lists. Both show work-experience stats and a full-width CTA button.
Installation
npx stepwise-ui add profile-card
Default (with banner)
Compact
Props
PropTypeDescription
variant"default" | "compact"Layout. Default "default" includes a banner image.
bannerSrcstringBanner image URL (default variant only).
avatarSrcstringAvatar image URL. Falls back to initials.
avatarImagePositionstringobject-position for the avatar photo, e.g. "top". Default "center".
avatarImageScalenumberScales the avatar photo within its cover fit. Under 1 zooms out a touch. Default 1.
namestringDisplay name.
verifiedbooleanShows a blue verified badge.
rolestringRole or title below the name.
biostringShort biography.
statsProfileStat[]Work stats displayed in a row.
ctaLabelstringCTA button label. Default "Get in touch".
onCta() => voidCTA click handler.
