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
| Prop | Type | Default | What it does |
|---|---|---|---|
locale | 'en' | 'zh-CN' | 'es' | 'ja' | 'en' | Language of the built-in text, the clocks and the sample team. |
members | Array<{ id, name, role, department, bio, city, timezone, links?: Array<{ type: 'site' | 'mail' | 'social', href }> }> | sample team | The people, in order. Their portraits are drawn from their place in the list and their initials. An empty array shows the empty state. |
departments | Array<{ id, name }> | sample departments | The department tabs, in order; “Everyone” comes first by itself. |
roles | Array<{ id, title, department, place, href? }> | sample roles | Open roles shown in the last card, filtered with the department tabs. |
defaultDepartment | string | 'all' | The department tab selected at first. |
loading | boolean | false | Shows 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. |
labels | object | — | Replaces any built-in text (keys as in copy.js). |
className | string | — | 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.
