blockadminusersauth

User Management

Invite, edit, suspend, and assign roles. Pure UI with callbacks — wire auth/API in the host app.

pnpm dlx shadcn@latest add @fenod/user-management

Dependencies
table, badge, button, dialog, dropdown-menu, field, input, select, checkbox
Usage
Pass users + roles. Implement onInvite/onSave/onSuspend/onDelete against Better Auth or your API.
UserRolesStatusCreated
Jordan Lee
jordan.lee@example.com
Admin
active2025-01-12
Riley Chen
riley.chen@example.com
EditorViewer
active2025-03-04
Morgan Blake
morgan.blake@example.com
Viewer
invited2026-03-01
Casey Nguyen
casey.nguyen@example.com
Editor
suspended2024-11-20
Avery Patel
avery.patel@example.com
Viewer
active2025-08-14

Search catalog

Jump to a block, collection, or component.