For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
Best for: Switches for 6 roles across 8 permission groups, a locked Owner column, grant counts per role and a new role dialog
When to use
- Workspace admin pages for people: a members directory, one member's record and the invitations queue
- Access control work: a role by permission matrix, just in time access requests and a day grouped audit log
- Enterprise sign-in settings for SSO providers, SCIM provisioning, 2FA, session limits and email domains
When not to use
- Editing the capabilities of one role as a short list of toggles: use the Role Capabilities block
- Access granted per member, one row each, with scope switches that change by tab: use the Access Permissions Matrix block
- A person editing their own account: avatar, name, email, password and notification choices: use the Profile blocks
- A table section of your own records, with no roles, sign-in methods or invites around it: use the Base blocks
- Notification, appearance or integration options, with no people or SSO to manage: use the Settings blocks
Agent notes
WORKSPACE_ROLESandPERMISSION_ROWSare the sample roles and scope rows; the locked Owner column comes fromlockedon the owner rolehandleSaveonly clearsdirtyand toasts, andhandleCreateRolecloses the dialog and toasts without adding a role columnreadOnlyis a local button toggle that simulates a viewer without edit rights; drive it from your real permission check- Every page.tsx sets a padded
min-h-svhwrapper, and page.tsx or the root caps the max width; drop both inside your app shell - Feedback goes through sonner
toastand no block mounts a Toaster, so render one in your layout or no message appears - No block sends a request or writes storage: state sits in
useStateor uncontrolled inputs, so every change resets on reload
Third-party API docs
- TanStack Table v9: API reference, docs
- Sonner v2: API reference, docs
https://web.dev.reui.io/blocks/solutions/users/solution-users-3.mdget_block("solution-users-3")npx shadcn@latest add @reui/solution-users-3Shadcn Components in the Permission Matrix Block
Dependencies
- @tanstack/react-table
- cn
- sonner
Shadcn Permission Matrix Block
Workspace roles and permissions access matrix with locked Owner column and grouped scope toggles. Part of the ReUI Shadcn Solutions Users blocks collection.
Full-page matrix mapping workspace roles to grouped permission scopes: per-cell toggles, locked Owner access, group tabs, and a dirty save bar. ReUI DataGrid, Frame, Badge, Alert; shadcn Button, Tabs, Dialog. Admin panel, role management, RBAC.
It is composed from Alert, Badge, Button, Data Grid, Dialog, Dropdown Menu, Field, Frame, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Permission Matrix Block
- Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
- Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
- Combine it with the other Shadcn Solutions Users blocks to assemble a full screen instead of a single section.
All Shadcn Solutions Users Blocks
The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.
- Member Directory Workspace Members Directory Grid with Roles, SSO/2FA Status, and Bulk Role Actions
- Member Detail Member Detail Page with Sidebar Tabs for Access, Authentication, and Sessions
- Invitations Invitations Queue Data Grid with Status Filter and Bulk Resend or Revoke
- Access Requests Just-in-Time Access Request Queue with Inline Approvals and Policy Review
- Access Audit Log Day-Grouped Audit Log Timeline with Expandable Event Details and CSV Export
- SSO & SCIM Enterprise SSO and SCIM Security Settings Page with Policy Controls
Related Shadcn Solutions Block Categories
- Dev Ops (6) Platform and SRE console pages for scheduled jobs, deployments, audit trails, edge firewall rules, SLOs and data connections.
- AI Ops (9) AI startup control plane pages for model providers, prompts, token cost, routing, and quotas.
- CRM (9) Sales CRM pages for founders, agencies, and startups managing leads and deals.
- Agents (10) AI agent run operation, approval, tool permission, and evaluation pages.
- Analytics (9) Product usage, activation, cohort, event, experiment, and growth reporting pages.
- Billing (9) Subscription, invoice, metering, plan, upgrade, and failed payment pages.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
When should I use the Permission Matrix block?
Use it for switches for 6 roles across 8 permission groups, a locked Owner column, grant counts per role and a new role dialog.
The Users category fits:
- Workspace admin pages for people: a members directory, one member's record and the invitations queue
- Access control work: a role by permission matrix, just in time access requests and a day grouped audit log
- Enterprise sign-in settings for SSO providers, SCIM provisioning, 2FA, session limits and email domains
For editing the capabilities of one role as a short list of toggles, use the Role Capabilities block. For access granted per member, one row each, with scope switches that change by tab, use the Access Permissions Matrix block. For a person editing their own account: avatar, name, email, password and notification choices, use the Profile blocks. For a table section of your own records, with no roles, sign-in methods or invites around it, use the Base blocks. For notification, appearance or integration options, with no people or SSO to manage, use the Settings blocks.
What is the Permission Matrix block built with?
Can I restyle the Permission Matrix block?
How should I use Shadcn users blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.