Block 32 of 297
Team Grid
Staff, board or volunteers with photos (or initials), roles and short bios.
- Puck key
- TeamGridBlock
- Export
- teamGridBlock
- React component
- <TeamGrid />
- Path
- components/puck/team-grid-block.tsx
- Dependencies
- None
- License
- MIT
About this block
When to use it, how to write for it, and what to change in the code.
What it's for
A grid of people with photo, name, role and a short bio, in two, three or four columns on desktop and two on tablets. Photos can be square or circular, and anyone without a photo gets their initials on a tinted tile. Adding a profile link makes the entire card clickable. It suits staff, board and volunteer leadership pages.
- Staff directory on an About page
- Board of directors or advisory council
- Program leads, coaches or volunteer captains
Writing the content
- Use photos with a similar crop and background so the grid looks consistent; Square crops to 1:1.
- Keep Short bio to one or two sentences, and leave it blank for everyone if only some people have one.
- Add a Profile link only when a real profile page exists; cards without one aren't clickable.
- Photo alt text can usually stay blank, since the name is printed under the photo.
Accessibility
- Names are headings one level below the section heading, so screen reader users can jump person to person (WCAG 1.3.1).
- With a profile link, a single link on the name is stretched over the card, giving one link per person named by the person's name, with a visible focus outline.
- Initials tiles are aria-hidden, and the hover lift on photos runs only under motion-safe.
Customizing the code
- Columns come from gridCols; circle photos are size-36 sm:size-40.
- Role text and initials tiles use indigo-700 and indigo-50; swap them for your accent.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Headingtext
- Heading levelselect
- Introtextarea
- Peoplearray
- Columns on desktopselect
- Photo shaperadio