Team Grid Cards
A responsive card grid of people with gradient-initials avatars, names and roles.
3 個のフレームワーク初級
A large featured leader card above a reflowing grid of the rest of the team.
<section class="mx-auto w-full max-w-6xl px-4 py-12 sm:px-6 sm:py-16">
<h2 class="text-2xl font-bold tracking-tight text-gray-900 sm:text-3xl dark:text-gray-100">Leadership</h2>
<article class="mt-8 flex flex-col items-center gap-6 rounded-3xl border border-gray-200 bg-white p-6 text-center sm:flex-row sm:items-center sm:gap-8 sm:p-8 sm:text-left dark:border-gray-800 dark:bg-gray-900">
<span aria-hidden="true" class="inline-flex h-24 w-24 shrink-0 items-center justify-center rounded-2xl bg-gradient-to-br from-blue-500 to-indigo-600 text-2xl font-bold text-white">PR</span>
<div>
<h3 class="text-xl font-bold text-gray-900 dark:text-gray-100">Priya Raman</h3>
<p class="mt-1 text-sm font-medium text-blue-700 dark:text-blue-400">Co-founder & CEO</p>
<p class="mt-3 max-w-prose text-sm leading-relaxed text-gray-600 dark:text-gray-400">Fifteen years turning vague briefs into things that can be built, shipped and measured.</p>
</div>
</article>
<ul class="mt-6 grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
<li class="flex flex-col items-center rounded-2xl border border-gray-200 bg-white p-6 text-center dark:border-gray-800 dark:bg-gray-900">
<span aria-hidden="true" class="inline-flex h-16 w-16 items-center justify-center rounded-full bg-gradient-to-br from-emerald-500 to-teal-600 text-lg font-semibold text-white">TA</span>
<h3 class="mt-4 text-base font-semibold text-gray-900 dark:text-gray-100">Tom Ashcroft</h3>
<p class="mt-1 text-sm text-gray-600 dark:text-gray-400">Head of engineering</p>
</li>
</ul>
</section>| Prop | 型 | デフォルト | 説明 |
|---|---|---|---|
title | string | 'Leadership' | カードの見出しテキスト。 |
leader必須 | TeamLeader | - | Leader |
members必須 | TeamMember[] | - | グリッドに表示するメンバー。 |
className | string | - | ルート要素にマージされる追加クラス。 |
The `leader` gets a wide card that stacks avatar-over-text on phones and goes side-by-side from `sm` up, with room for a `bio`; the remaining `members` fill a 1 → 2 → 3 → 4 grid below. Gradients and initials are derived from names.