Skip to content

Profile Card

User/team member card: striped blue banner with status chip, overlapping yellow initials square, uppercase name and mono role, bio, ruled stat strip and a split action bar.

brutalist/ui/profile-card
Open ↗

Source

import { cn } from "@/lib/utils";

export interface ProfileCardProps {
  name: string;
  role: string;
  bio?: string;
  stats?: { label: string; value: string }[];
  status?: { label: string; online: boolean };
  actions?: { label: string; href: string; primary?: boolean }[];
  className?: string;
}

export function ProfileCard({ name, role, bio, stats = [], status, actions = [], className }: ProfileCardProps) {
  const initials = name
    .split(" ")
    .map((w) => w[0])
    .join("")
    .slice(0, 2);

  return (
    <article className={cn("da-stroke w-full max-w-sm bg-da-surface text-da-surface-fg shadow-da-md", className)} aria-label={`${name}, ${role}`}>
      <div className="da-stroke-b relative h-24 bg-da-secondary [background-image:repeating-linear-gradient(45deg,transparent_0_12px,rgb(0_0_0/0.12)_12px_15px)]">
        {status && (
          <p className="da-stroke absolute top-3 right-3 flex items-center gap-1.5 bg-da-surface px-2 py-1 font-da-mono text-[10px] font-bold text-da-surface-fg uppercase">
            <span aria-hidden className={cn("size-2", status.online ? "bg-da-success" : "bg-da-muted-fg")} />
            {status.label}
          </p>
        )}
      </div>
      <div className="px-5 pb-5">
        <span aria-hidden className="da-stroke relative -mt-10 grid size-20 place-items-center bg-da-primary font-da-display text-3xl text-da-primary-fg shadow-da-sm">
          {initials}
        </span>
        <h3 className="mt-3 font-da-display text-2xl tracking-da-display uppercase">{name}</h3>
        <p className="font-da-mono text-xs font-bold tracking-da-label text-da-muted-fg uppercase">{role}</p>
        {bio && <p className="mt-3 text-sm">{bio}</p>}
      </div>
      {stats.length > 0 && (
        <dl className="da-stroke-t grid" style={{ gridTemplateColumns: `repeat(${stats.length}, minmax(0, 1fr))` }}>
          {stats.map((s, i) => (
            <div key={s.label} className={cn("flex flex-col-reverse p-3 text-center", i > 0 && "da-stroke-l")}>
              <dt className="font-da-mono text-[10px] font-bold tracking-da-label text-da-muted-fg uppercase">{s.label}</dt>
              <dd className="font-da-display text-xl">{s.value}</dd>
            </div>
          ))}
        </dl>
      )}
      {actions.length > 0 && (
        <div className="da-stroke-t flex">
          {actions.map((a, i) => (
            <a
              key={a.label}
              href={a.href}
              className={cn(
                "da-focus flex-1 py-3 text-center text-sm font-bold",
                i > 0 && "da-stroke-l",
                a.primary ? "bg-da-fg text-da-bg hover:bg-da-primary hover:text-da-primary-fg" : "hover:bg-da-muted",
              )}
            >
              {a.label}
            </a>
          ))}
        </div>
      )}
    </article>
  );
}

export default ProfileCard;

modules/brutalist/ui/profile-card/index.tsx

Props

PropTypeDefaultDescription
name / role*string—Person name (h3) and role line.
biostring—Short bio.
stats{ label: string; value: string }[]—Stat strip (2–4 items).
status{ label: string; online: boolean }—Presence chip on the banner.
actions{ label: string; href: string; primary?: boolean }[]—Buttons in the bottom bar.
classNamestring—Classes on the card.

Other card variants in Brutalist

Card in other art directions

Card

Composable frosted card (Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter) with frosted / tinted-gradient / solid variants, specular top edge and interactive lift.

GlassCard

Meeting Card

Meeting recap glass card: title, time / duration / platform meta, gradient participant stack with +N, AI summary panel, action items with checkboxes and owners, and a transcript link.

GlassCard

Profile Card

Teammate glass card: gradient cover, large initials avatar with presence dot, role and timezone, status pill, three stats, expertise tags and Message / Schedule actions.

GlassCard

Stat Ring Card

KPI glass card with a primary→accent gradient progress ring (SVG) showing the percentage, the value over its max and a caption; the ring draws in on mount.

GlassCard

Card

Composable hairline card (Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter) with default / raised / ghost variants and an interactive hover lift.

MinimalCard

Incident Card

Incident summary card: severity chip, id and duration, linked title, service chips, a 4-step status progress bar, commander avatar, stacked responder avatars and update count.

MinimalCard

Integration Card

Integration tile: logo/monogram, name, category, description, a Radix Switch to enable it, live status meta and a Configure link. Controlled or uncontrolled.

MinimalCard

Metric Card

KPI card: muted label, big mono value, inline SVG sparkline with area fill and end dot, and a colored delta chip vs. the previous period (lowerIsBetter flips the colors).

MinimalCard

Profile Card

Studio/person profile card in the Read.cv spirit: square gray portrait with initials, name, role and city in mono, availability dot in signal color, short bio and a list of links with ↗.

Mono CleanCard

Project Card

Portfolio project card: neutral image frame that darkens slightly on hover with a “View case ↗” overlay, then a mono meta row (index, client, year) and the title with discipline tags.

Mono CleanCard

Stat Card

Analytics stat: mono label, large display value, change in mono, and a row of thin vertical bars (last bar in ink, others gray) — no chart chrome.

Mono CleanCard

Template Card

Template tile: a wireframe preview drawn with hairlines (nav, giant title, image grid) in a bordered frame, then name, author, category and usage count, with a “Use template” button revealed on hover/focus.

Mono CleanCard

Account Card

Bank account card: institution + masked number header, big balance with available amount, sync timestamp, and three recent inflow/outflow rows.

Neo CorporateCard

Invoice Card

Invoice summary card: number + status, bill-to and dates grid, line items table with mono amounts, subtotal/tax/total, and download/send actions.

Neo CorporateCard

Kpi Card

Metric card: label, big mono value, colored delta vs. period and an area sparkline in the primary color along the bottom.

Neo CorporateCard

Plan Card

Billing/subscription card: current plan + price + renewal date, usage meters (progressbar semantics, turning amber at 80% and red at 95%), manage and upgrade actions.

Neo CorporateCard

Action Card

Reduction action card: serif title, description, saving and cost figures, leaf-rated impact/effort, and an “Add to plan” pill that toggles to a sage “In your plan” state.

Organic SoftCard

Article Card

Journal article card: an organic shaped “cover” (arch, blob or circle) with a hand-drawn leaf, category and read time, serif title that underlines on hover, excerpt; whole card is one link.

Organic SoftCard

Metric Card

Emissions metric card: label, big serif value with mono unit, a change chip (down = good, sage; up = clay) and a human equivalence line with a small leaf.

Organic SoftCard

Supplier Card

Supplier card: arch-shaped initials avatar, name, category and country, status pill, share of your footprint and a rounded data-completeness bar with a reminder action.

Organic SoftCard

Profile Card

Rounded teammate card: pastel header band, big emoji avatar in a white circle, name, role, status pill, three stats in soft wells, skill pills and a “Say hi” button.

Soft FlatCard

Project Card

Pastel project card: white emoji tile, name link covering the card, description, chunky rounded progress bar with percentage, tasks-left and due chips, member dots.

Soft FlatCard

Stat Card

Friendly KPI tile: emoji in a white circle, change pill, label, big rounded number and a row of rounded mini bars (last one highlighted); five tones.

Soft FlatCard

Task Card

Kanban task card: round done checkbox with bouncy tick, pastel label, title (struck when done), subtask progress, due chip that turns red when overdue, comment/attachment counts and avatar dots.

Soft FlatCard