Skip to content
rw3iss Auth

MembersList

form @rw3iss/auth-client/preact/forms/MembersList framework-adapters/preact/components/forms/MembersList.tsx ↗

Org members table — list everyone in the current (or specified) org with a “remove” affordance per row. Reads useOrg() for the active org id by default; pass orgId to target a different org the caller administers.

Requires org:members:read (list) and org:members:remove (remove) — the server-side gate is the source of truth. The remove button surfaces server 403s as inline errors.

Usage

import { MembersList } from '@rw3iss/auth-client/preact/forms';
<MembersList />

Props

NameTypeDescription
clientAuthClient
orgIdstringDefaults to the current org from the auth snapshot.
classNamestring