Skip to content
Member with role, light
Light
Member with role, dark
Dark

Every state

  • Member with role, default, light
    Member with role, default, dark

    default

  • Member with role, hover, light
    Member with role, hover, dark

    hover

  • Member with role, focus, light
    Member with role, focus, dark

    focus

  • Member with role, confirm, light
    Member with role, confirm, dark

    confirm

  • Member with role, removed, light
    Member with role, removed, dark

    removed

  • Member with role, owner-only, light
    Member with role, owner-only, dark

    owner-only

Props

PropTypeDefaultWhat it does
idstring"members"Id of the list; the rows' parts hang off it.
labelstring"Workspace members"Accessible name of the list.
membersMemberRowRoleMember[][ { id: "m1", name: "Maren Vos", email: "maren@example.com", photo: photo("maren"), role: "Owner", owner: true }, …Members.
rolesstring[]["Admin", "Support", "Warehouse", "Viewer"]The roles a member can be given (the owner role is not one of them).
onRoleChange(id: string, role: string) => void–Called with the member's id and the new role.
onRemove(id: string) => void–Called with the member's id after the remove is confirmed.
labels{ you: string role: string remove: string confirm: string confirmHint: string cancel: string roleStatus: string removedStatus: string }{ you: "You", role: "Role of", remove: "Remove", confirm: "Remove {name} from the workspace?", confirmHint: "They los…Labels.
classNamestring–Extra classes on the outer element.

More member rows

All 4

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans