Skip to content
Knowns UI
Get ProSign in

Member Roles Table

Everyone in a workspace with their roles: a workspace role and one per project, each a Role Picker, and remove. The last owner's row is locked with the reason.

On this page
Used for
  • Members settings
  • Project access
  • Team admin
  • Access reviews
  • Onboarding a team

Examples

On a phone

Installation

Installation is part of Pro

Pro components install from a licensed registry. The live preview stays open to everyone.

Props

membersrequired
MemberRow[]
{ id, name, email?, avatarUrl?, workspaceRole, projectRoles?, lockedReason? }. projectRoles are { projectId, projectName, roleId }.
rolesrequired
Role[]
The roles every picker offers.
catalog
PermissionGroup[]
For each role's line in the pickers.
onWorkspaceRoleChange
(memberId, roleId) => void
Without it the workspace pickers are off.
onProjectRoleChange
(memberId, projectId, roleId) => void
roleId is null for No project role. Without it the project pickers are off.
onRemove
(memberId) => void
Shows remove at the end of each row that is not locked.
className
string
On the outer element; the layout stacks below 640px of its width.

Accessibility

  • A table with rows and cells that stay rows and cells when the layout stacks.
  • Each picker and button is named after the member: "Atlas role for Tomas Lindqvist", "Remove Ravi Menon".
  • A locked row has a focusable lock that reads its reason, and its pickers are disabled.

What it handles

  1. 01Shows each member with their avatar, name and email, a workspace role and a role per project, every one a Role Picker.
  2. 02Gives project roles a No project role entry, so a member can fall back to their workspace role.
  3. 03Locks a row that must not change, such as the last owner: the pickers turn off and remove becomes a lock with the reason.
  4. 04Stacks each row into a card below 640px of its own width, with the same table semantics.

States

Change a role
The picker shows the new role; your handler saves it
none
Remove
Your handler drops the row
none
No members
One row says nobody is here yet
none

Works with

When to use

When to use

  • The members page of a workspace: who is in it, their workspace role and a role per project.
  • An access review where a lead changes roles row by row and removes people who left.

When not to use

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Member Roles Table to my app and wire it to my own data.
  • I need the members page of a workspace: who is in it, their workspace role and a role per project. Set that up with the Knowns UI Member Roles Table.
  • Which Member Roles Table props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "member-roles-table" }) and search_docs({ query: "member roles table" }). Pro props, full examples and source come back once your license key is in the MCP config.

Need help?

Stuck on Member Roles Table, or found something off? We read every message.