Team

The people behind a product, with their pictures, names, roles and links.

Team

Your headline goes here

A short line about the team goes here.

  • User 1

    Role

  • User 2

    Role

  • User 3

    Role

  • User 4

    Role

import { Team, type TeamMember } from "@produkto/ui/Team";

const members: TeamMember[] = [
  { name: "User 1", role: "Role" },
  { name: "User 2", role: "Role" },
  { name: "User 3", role: "Role" },
  { name: "User 4", role: "Role" },
];

const Example = () => (
  <Team
    description="A short line about the team goes here."
    eyebrow="Team"
    members={members}
    title="Your headline goes here"
  />
);

export default Example;

Usage

import { Team, type TeamMember } from "@produkto/ui/Team";
const members: TeamMember[] = [
  { name: "User 1", role: "Role" },
  { name: "User 2", role: "Role" },
  { name: "User 3", role: "Role" },
  { name: "User 4", role: "Role" },
];

<Team
  eyebrow="Team"
  title="Your headline goes here"
  description="A short line about the team goes here."
  members={members}
/>

Examples

Portraits

layout="portraits" sets each member as a tall photo with the name and role under it.

Team

Your headline goes here

A short line about the team goes here.

  • User 1

    User 1

    Role

  • User 2

    User 2

    Role

  • User 3

    User 3

    Role

  • User 4

    User 4

    Role

import { Team, type TeamMember } from "@produkto/ui/Team";

const photos = [64, 91, 1005, 1027];

const members: TeamMember[] = photos.map((photo, at) => ({
  name: `User ${at + 1}`,
  role: "Role",
  photo: `https://picsum.photos/id/${photo}/600/800`,
}));

const Example = () => (
  <Team
    description="A short line about the team goes here."
    eyebrow="Team"
    layout="portraits"
    members={members}
    title="Your headline goes here"
  />
);

export default Example;

Rows

layout="rows" sets the heading beside ruled rows, each a small portrait, the name, the role and a line.

Team

Your headline goes here

A short line about the team goes here.

  • User 1

    Role

    A short line about them goes here.
  • User 2

    Role

    A short line about them goes here.
  • User 3

    Role

    A short line about them goes here.
  • User 4

    Role

    A short line about them goes here.
import { Team, type TeamMember } from "@produkto/ui/Team";

const members: TeamMember[] = [1, 2, 3, 4].map((n) => ({
  name: `User ${n}`,
  role: "Role",
  bio: "A short line about them goes here.",
}));

const Example = () => (
  <Team
    description="A short line about the team goes here."
    eyebrow="Team"
    layout="rows"
    members={members}
    muted
    title="Your headline goes here"
  />
);

export default Example;

Founder

layout="founder" sets one large portrait beside the heading, the founder's own words, the name and the role.

User 1
Eyebrow

Your headline goes here

A short line about it goes here.

Content goes here. Content goes here. Content goes here.

Content goes here. Content goes here.

User 1

Role

import { Team, type TeamMember } from "@produkto/ui/Team";

const members: TeamMember[] = [
  {
    name: "User 1",
    role: "Role",
    photo: "https://picsum.photos/id/1027/800/1000",
    bio: (
      <>
        <p>Content goes here. Content goes here. Content goes here.</p>
        <p>Content goes here. Content goes here.</p>
      </>
    ),
  },
];

const Example = () => (
  <Team
    description="A short line about it goes here."
    eyebrow="Eyebrow"
    layout="founder"
    members={members}
    title="Your headline goes here"
  />
);

export default Example;

Cards

layout="cards" sets each member on a card: the photo across its top, the name, the role, a short bio and the links.

Team

Your headline goes here

A short line about the team goes here.

  • User 1

    User 1

    Role

    A short line about them goes here.
  • User 2

    User 2

    Role

    A short line about them goes here.
  • User 3

    User 3

    Role

    A short line about them goes here.
  • User 4

    User 4

    Role

    A short line about them goes here.
import { Team, type TeamMember } from "@produkto/ui/Team";
import { InstagramIcon, Linkedin01Icon } from "@hugeicons/core-free-icons";
import { Icon } from "@produkto/ui/Icon";

const photos = [64, 91, 1005, 1027];

const members: TeamMember[] = photos.map((photo, at) => ({
  name: `User ${at + 1}`,
  role: "Role",
  bio: "A short line about them goes here.",
  photo: `https://picsum.photos/id/${photo}/800/600`,
  links: [
    { label: "LinkedIn", link: "#", icon: <Icon icon={Linkedin01Icon} /> },
    { label: "Instagram", link: "#", icon: <Icon icon={InstagramIcon} /> },
  ],
}));

const Example = () => (
  <Team
    description="A short line about the team goes here."
    eyebrow="Team"
    layout="cards"
    members={members}
    title="Your headline goes here"
  />
);

export default Example;

Compact

layout="compact" sets a small picture beside each name, for a longer list of people.

Team

Your headline goes here

A short line about the team goes here.

  • User 1

    Role

  • User 2

    Role

  • User 3

    Role

  • User 4

    Role

  • User 5

    Role

  • User 6

    Role

import { Team, type TeamMember } from "@produkto/ui/Team";

const members: TeamMember[] = [
  { name: "User 1", role: "Role" },
  { name: "User 2", role: "Role" },
  { name: "User 3", role: "Role" },
  { name: "User 4", role: "Role" },
  { name: "User 5", role: "Role" },
  { name: "User 6", role: "Role" },
];

const Example = () => (
  <Team
    columns={3}
    description="A short line about the team goes here."
    eyebrow="Team"
    layout="compact"
    members={members}
    title="Your headline goes here"
  />
);

export default Example;

Centred

align="center" centres the heading and each person under it.

Team

Your headline goes here

A short line about the team goes here.

  • User 1

    Role

  • User 2

    Role

  • User 3

    Role

  • User 4

    Role

import { Team, type TeamMember } from "@produkto/ui/Team";

const members: TeamMember[] = [
  { name: "User 1", role: "Role" },
  { name: "User 2", role: "Role" },
  { name: "User 3", role: "Role" },
  { name: "User 4", role: "Role" },
];

const Example = () => (
  <Team
    align="center"
    description="A short line about the team goes here."
    eyebrow="Team"
    members={members}
    title="Your headline goes here"
  />
);

export default Example;

API Reference

Team

TeamProps · blocks/Team/Team.types.ts
PropTypeDefault
membersTeamMember[]-
layoutTeamLayout"grid" | "compact" | "portraits" | "rows" | "founder" | "cards""grid"
columnsTeamColumns2 | 3 | 44
actionsBlockAction[]-
idstring-
eyebrowstring-
titleReactNode-
descriptionReactNode-
alignSectionAlign"start" | "center" | "end""start"
mutedbooleanfalse
classNamestring-

TeamMember

used by members
PropTypeDefault
namerequiredstring-
rolestring-
avatarstring-
photostring-
bioReactNode-
linksTeamLink[]-

BlockAction

used by actions
PropTypeDefault
appearanceButtonAppearance"solid" | "soft" | "outline" | "transparent"-
toneButtonTone"neutral" | "accent" | "destructive" | "success" | "warning" | "info"-
iconReactNode-
iconOnlyboolean-
borderRadiusBlockActionBorderRadius"none" | "xs" | "sm" | "base" | "lg" | "xl" | "full"-
labelrequiredstring-
linkrequiredstring-

TeamLink

used by its parts
PropTypeDefault
iconReactNode-
labelrequiredstring-
linkrequiredstring-