Skip to content

Team portrait grid in React

Four team members with portrait, name, role and a link to their professional profile.

Here is an excerpt of this component's code in React. The full code is free for members, ready to copy into your project.

This component also comes in

Open in a new tab

The code in React

TeamGrid.tsx
export function TeamGrid() {
  return (
    <section className="mx-auto w-[min(100%_-_2rem,62rem)] py-8">
      <section className="text-center">
        <h2 className="mb-8 text-3xl font-bold md:text-4xl">L'équipe</h2>
        <ul className="grid grid-cols-[repeat(auto-fit,minmax(12rem,1fr))] gap-x-6 gap-y-8">
          <li>
            <span
              aria-hidden="true"
              className="mx-auto mb-4 grid size-32 place-items-center rounded-full text-4xl font-extrabold text-white"
              style={{ background: "#1d4ed8" }}
            >

Free component: copy it freely, including for commercial projects.

Teams components in React
  • A team presentation filtered by trade in one click, with the number of people announced to screen readers.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component