Skip to content
caliper ui pro docs

Team members

A table of members with role, status and actions.

Pro
7 of 12 seats used
MemberRoleStatusActions
Maya Chenmaya@northwind.coOwnerActive
Ravi Patelravi@northwind.coActive
Noor Haddadnoor@northwind.coActive
Tomás Ferreiratomas@northwind.coActive
Ingrid Solbergingrid@northwind.coActive
Kofi Mensahkofi@northwind.coSuspended
Priya Nairpriya@northwind.coInvited

When to use

  • Managing who is in a workspace.

When not to use

  • Browsing people; use the directory.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/team-members

Adds its 10 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

TeamMembers

8 props
PropTypeDefault
members *readonly TeamMember[]—
roles *readonly { id: string; label: string; }[]—
seats{ used: number; total: number; }—
onRoleChange *(ids: string[], role: string) => void—
onResend((id: string) => void)—
onSuspend((ids: string[], suspended: boolean) => void)—
onRemove *(ids: string[]) => void—
classNamestring—

Keyboard

Enter or Space
Opens the menu from its trigger and activates the focused item.
↓ or ↑
Moves between items, wrapping at the ends; disabled items are skipped.
→ or ←
Opens and closes a submenu.
Escape
Closes the menu and returns focus to the trigger.
A–Z
Moves to the next item that starts with that letter.

Accessibility

It exposes group, region and status semantics, with aria-label, aria-hidden and aria-pressed kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/team-members.md

The index of every part is at /llms.txt.

More in Team