Team
The people behind the product: photo or initials, role, bio and links.
Preview
People rise in one after another as the grid scrolls into view. With reduced motion turned on, it renders the plain layout.
The people behind it
Sample people.
Ana Diaz
Founder
Writes most of the sections.
Ben Okafor
Design
Draws them first.
Cy Tanaka
Engineering
Keeps them accessible.
Dee Morgan
Community
Answers your issues.
The people behind it
Sample people.
Ana Diaz
Founder
Writes most of the sections.
Ben Okafor
Design
Draws them first.
Cy Tanaka
Engineering
Keeps them accessible.
Dee Morgan
Community
Answers your issues.
Installation
Run this in a project that already uses shadcn/ui. It adds the component and anything it needs; the motion version also adds the plain one and the motion package.
Usage
import { Team } from "@/components/custom/team";
<Team
title="The people behind it"
people={[{ name: "Ana Diaz", role: "Founder", avatar: "/ana.webp", links: [{ label: "GitHub", href: "https://github.com/ana" }] }]}
/>import { TeamMotion } from "@/components/custom/team/team-motion";
<TeamMotion people={people} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| people* (required) | { name; role; avatar?; bio?; links? }[] | – | Initials replace a missing avatar. |
| title / description | string | – | Heading (h2) and line under it. |
| ...props | React.ComponentProps<"section"> | – | Any other section attribute (id, aria-*, data-*, ref) goes to the root element. |
| Prop | Type | Default | Description |
|---|---|---|---|
| people* (required) | { name; role; avatar?; bio?; links? }[] | – | Initials replace a missing avatar. |
| title / description | string | – | Heading (h2) and line under it. |
| ...props | React.ComponentProps<"section"> | – | Any other section attribute (id, aria-*, data-*, ref) goes to the root element. |
Accessibility
- Each person's name is an h3.
- Links are named “Ana Diaz on GitHub”, not just “GitHub”.
- The motion version follows the visitor's reduced-motion setting and never hides content before it animates.