Skip to content
English
Meet the team comes with Pro. Its preview shows once you unlock it.

Usage

import { TeamGrid } from './TeamGrid.jsx'

<TeamGrid
  locale="en"
  departments={[{ id: 'design', name: 'Design' }]}
  members={team}               // [{ id, name, role, department, bio, city, timezone: 'Europe/Lisbon', links: [{ type: 'site' | 'mail' | 'social', href }] }]
  roles={openings}             // [{ id, title, department, place, href? }]
  loading={!team}
  onOpenRoles={() => navigate('/careers')}
  onRole={(id) => navigate('/careers/' + id)}
/>

Props

PropTypeDefaultWhat it does
locale'en' | 'zh-CN' | 'es' | 'ja''en'Language of the built-in text, the clocks and the sample team.
membersArray<{ id, name, role, department, bio, city, timezone, links?: Array<{ type: 'site' | 'mail' | 'social', href }> }>sample teamThe people, in order. Their portraits are drawn from their place in the list and their initials. An empty array shows the empty state.
departmentsArray<{ id, name }>sample departmentsThe department tabs, in order; “Everyone” comes first by itself.
rolesArray<{ id, title, department, place, href? }>sample rolesOpen roles shown in the last card, filtered with the department tabs.
defaultDepartmentstring'all'The department tab selected at first.
loadingbooleanfalseShows the skeleton of the cards while the team loads.
onOpenRoles / onRole() => void / (id) => void—The “See all roles” button was pressed; a role was chosen (without onRole its href is followed).
onDepartment(id) => void—Another department tab was chosen.
labelsobject—Replaces any built-in text (keys as in copy.js).
classNamestring—Added to the root section.

Add it to your project

Pro includes the full source of this block. Copy its prompt to install it with your coding agent.

TeamGrid.jsxteam-grid.csscopy.jskit.jsxkit.cssui/base-button/ui/empty-state/ui/skeleton-shimmer/ui/sliding-tabs/tokens.cssREADME.md

The block, its stylesheet and text, the shared kit, the components it uses and tokens.css install together into one folder.