Team Cards With Social Links
Team cards where each person carries LinkedIn, X and GitHub links with per-person labels.
3 个框架初级
A responsive card grid of people with gradient-initials avatars, names and roles.
<section class="mx-auto w-full max-w-6xl px-4 py-12 sm:px-6 sm:py-16">
<div class="mx-auto max-w-2xl text-center">
<h2 class="text-2xl font-bold tracking-tight text-gray-900 sm:text-3xl dark:text-gray-100">Meet the team</h2>
<p class="mt-3 text-base leading-relaxed text-gray-600 dark:text-gray-400">The people who ship the thing.</p>
</div>
<!-- Reflows 1 -> 2 -> 3 -> 4 so four names never crush into one unreadable row. -->
<ul class="mt-10 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-blue-500 to-indigo-600 text-lg font-semibold text-white">PR</span>
<h3 class="mt-4 text-base font-semibold text-gray-900 dark:text-gray-100">Priya Raman</h3>
<p class="mt-1 text-sm text-gray-600 dark:text-gray-400">Co-founder, strategy</p>
</li>
<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>
<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-fuchsia-500 to-purple-600 text-lg font-semibold text-white">IO</span>
<h3 class="mt-4 text-base font-semibold text-gray-900 dark:text-gray-100">Ines Okafor</h3>
<p class="mt-1 text-sm text-gray-600 dark:text-gray-400">Principal designer</p>
</li>
<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-amber-500 to-orange-600 text-lg font-semibold text-white">DW</span>
<h3 class="mt-4 text-base font-semibold text-gray-900 dark:text-gray-100">Dan Whitlock</h3>
<p class="mt-1 text-sm text-gray-600 dark:text-gray-400">Platform lead</p>
</li>
</ul>
</section>| Prop | 类型 | 默认值 | 说明 |
|---|---|---|---|
title | string | 'Meet the team' | 卡片的标题文本。 |
subtitle | string | - | Subtitle |
members必填 | TeamMember[] | - | 在网格中展示的成员。 |
className | string | - | 合并到根元素上的额外类名。 |
Feed the roster through `members`; initials and a rotating gradient avatar are derived from each name, so nothing loads over the network. The grid reflows 1 → 2 → 3 → 4 columns so a full team never crushes into one unreadable row.