Staaarter

Team Cards with Bios

Three-column grid of team member cards with avatars, roles, and short bios. Great for leadership and team pages.

By Staaarter Team
About
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its avatar, avatar-initials dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/team-cards-with-bios.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/about/about7.tsx instead.

Usage

The file also exports about7Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.

import { About7, about7Demo } from "@/components/blocks/about/about7";

export default function Page() {
  return <About7 {...about7Demo} />;
}

Props

PropTypeDefaultDescription
headingstringnoneSection heading.
descriptionstringundefinedSection intro text.
teamTeamMember[]noneTeam cards, each with a required bio.
classNamestringnoneExtra classes for the outer section element.

Types

type TeamMember = {
  name: string;
  role: string;
  bio: string;
  avatar?: { src: string; alt: string };
};

Behavior notes

  • Unlike About1 and About4, bio is required here rather than optional, since the card layout is built around always showing a short bio beneath the role.
  • Cards render in a bordered, padded box rather than a shadow-based Card component, matching the flatter visual style used across every About block on this site.
  • The grid is sm:grid-cols-2 lg:grid-cols-3, so an odd number of members (e.g. 5) leaves a visible gap on the last row rather than centering it.