# Team Section

> A React team section for an about page: portrait cards, tall portrait cards, a compact roster or a list with bios, plus a "We're hiring" tile.

- Type: React block (Marketing Sections)
- Access: Pro (the source needs a Wingo UI Pro plan, see https://wingo-ui.com/pricing)
- Version: 1.0.0
- Install: `npx wingo-ui@latest add team-section`
- Docs: https://wingo-ui.com/components/team-section

## Interaction

A static section: each person shows a photo or their initials, name, role and a short bio. Social icons open the profile in a new tab and are named for screen readers ("Emma Carter on LinkedIn"); on touch they grow to 44px. The "We're hiring" tile is one link to the careers page with a focus ring around the whole tile; it fills what is left of the last row, or spans the row as a banner. Columns drop to two on tablets and one on phones; list rows stack the bio under the name on phones. Cards give each person a tall portrait panel with large initials over a faint dot pattern (or their photo).

## Installation

```bash
npx wingo-ui@latest add team-section
```

Pro item: run `npx wingo-ui@latest login` once with a Pro account. The CLI adds the files, their dependencies and a version record for updates.

With shadcn: `npx shadcn@latest add @wingo-ui/team-section` (needs the @wingo-ui registry with your API key in components.json)

Files:

- `components/blocks/team-section.tsx`

npm dependencies: `npm i lucide-react`

Wingo UI dependencies (installed automatically):

- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))
- [Marketing Footer](https://wingo-ui.com/components/marketing-footer) ([Markdown](https://wingo-ui.com/components/marketing-footer.md))
- [Avatar](https://wingo-ui.com/components/avatar) ([Markdown](https://wingo-ui.com/components/avatar.md))
- [Navigation](https://wingo-ui.com/components/navigation) ([Markdown](https://wingo-ui.com/components/navigation.md))
- [Tones](https://wingo-ui.com/components/tones) ([Markdown](https://wingo-ui.com/components/tones.md))
- [UIProvider](https://wingo-ui.com/components/ui-config) ([Markdown](https://wingo-ui.com/components/ui-config.md))

## Usage

```tsx
// app/(marketing)/about/page.tsx
"use client"

import Link from "next/link"
import { SOCIAL_ICONS } from "@/components/blocks/marketing-footer"
import { TeamSection, type TeamMember } from "@/components/blocks/team-section"

const team: TeamMember[] = [
  {
    name: "Emma Carter",
    role: "Co-founder & CEO",
    bio: "Ran product at two startups before starting Acme.",
    avatar: "/team/emma.jpg",
    socials: [{ label: "LinkedIn", href: "https://www.linkedin.com/in/emmacarter", icon: SOCIAL_ICONS.linkedin }],
  },
  { name: "Liam Brooks", role: "Co-founder & CTO" },
]

export default function AboutPage() {
  return <TeamSection members={team} columns={3} openRoles={2} linkComponent={Link} />
}
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `eyebrow?` | `ReactNode` | `"Our team"` | The small uppercase line over the title. |
| `title?` | `ReactNode` | `"The people building Acme"` | The section title. |
| `description?` | `ReactNode` | `"Eight people in New York and across three US time zones, shipping something new every week since 2021."` | The muted paragraph under the title. |
| `actions?` | `ReactNode` |  | Buttons under the description. |
| `members?` | `TeamMember[]` | `"TEAM_SECTION_SAMPLE"` | { name, role, bio?, avatar?, socials?: { label, href, icon }[] }; initials show without an avatar url. |
| `layout?` | `"grid" \| "compact" \| "list" \| "cards"` | `"grid"` | grid: portrait cards; compact: small avatar, name and role; list: large rows with the bio and socials; cards: large cards with a tall portrait (big initials on a tinted, patterned panel, or the photo), name, role and socials. |
| `columns?` | `2 \| 3 \| 4` | `"4"` | Columns from 1024px for grid, cards and compact (two on tablets, one on phones). |
| `showBio?` | `boolean` | `true` | The short bio (grid and list). |
| `showSocials?` | `boolean` | `true` | The social icon links (grid, cards and list). |
| `colorful?` | `boolean` | `true` | Initials on a color picked from the name; off keeps them neutral. |
| `hiring?` | `boolean` | `true` | The "We're hiring" tile after the people. |
| `openRoles?` | `number` | `4` | The open roles count on the hiring tile. |
| `hiringHref?` | `string` | `"/careers"` | Where the hiring tile links. |
| `tone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"neutral"` | The hiring tile's plus disc and roles badge. |
| `align?` | `"start" \| "center"` | `"center"` | Where the heading sits. |
| `headingSize?` | `"md" \| "lg"` | `"md"` | lg when the section opens the page. |
| `headingAs?` | `"h1" \| "h2" \| "h3"` | `"h2"` | The title element. |
| `width?` | `"auto" \| "sm" \| "md" \| "lg" \| "xl"` | `"auto"` | The column; auto picks by layout (list md 960px, the others lg 1200px). |
| `background?` | `"none" \| "muted"` | `"none"` | muted: a gray band that sets the section apart. |
| `spacing?` | `"none" \| "sm" \| "md" \| "lg"` | `"md"` | Vertical padding, from MarketingSection. |
| `linkComponent?` | `(props: LinkComponentProps) => ReactNode` | `"\"a\""` | The router link (or "a") for the hiring tile; default the LinkProvider's. |
| `labels?` | `Partial<TeamSectionLabels>` |  | hiringTitle, hiringDescription, hiringRoles / hiringRole ({count}), hiringAction, social ({name} on {network}). |
| `className?` | `string` |  | Classes for the <section>. |
| `classNames?` | `Partial<Record<TeamSectionSlot, string>>` |  | Classes for list, member, avatar, portrait (cards), name, role, bio, socials and hiring. |

## Parts

### TEAM_SECTION_SAMPLE (constant)

The eight Acme people with roles, bios and social links.

### DEFAULT_TEAM_SECTION_LABELS (constant)

The English strings.

### TeamMember (type)

{ name, role, bio?, avatar?, socials? }.

### TeamMemberSocial (type)

{ label, href, icon }, the footer's social link shape; icons from SOCIAL_ICONS.

### TeamSectionProps (type)

Props of TeamSection.

## Examples

- **Portraits, three columns**: Photos in place of initials; the hiring tile fills the last slot of the row.
- **Compact roster**: Small avatars with name and role, four to a row, on a muted band.
- **Leadership list**: Large rows with the full bio, for an about page.
- **Large portrait cards**: Tall cards with big initials on a tinted, patterned panel, three to a row.
- **Neutral initials, no bios**: Monochrome initials and the hiring card with one open role.

## See also

- [Avatar](https://wingo-ui.com/components/avatar) ([Markdown](https://wingo-ui.com/components/avatar.md))
- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))
- [About Page](https://wingo-ui.com/templates/about-page) ([Markdown](https://wingo-ui.com/templates/about-page.md))
- [Careers Page](https://wingo-ui.com/templates/careers-page) ([Markdown](https://wingo-ui.com/templates/careers-page.md))
- [Card](https://wingo-ui.com/components/card) ([Markdown](https://wingo-ui.com/components/card.md))

---

Canonical: https://wingo-ui.com/components/team-section
More components: https://wingo-ui.com/components · Index for agents: https://wingo-ui.com/llms.txt
