# Member Detail block

> Member Detail Page with Sidebar Tabs for Access, Authentication, and Sessions

Full-page admin screen to manage one member's roles, teams, MFA factors, sessions, activity, and a danger zone via a vertical tab rail. ReUI Badge; shadcn Avatar, Tabs, Select, AlertDialog. User management, permissions, account security.

- Type: Pro block
- Category: [Users](https://web.dev.reui.io/blocks/solutions/users.md)
- Page: https://web.dev.reui.io/blocks/solutions/users/solution-users-2
- MCP: `get_block("solution-users-2")`
- Built with: Alert Dialog, Avatar, Badge, Button, Field, Frame, Item, Select, Separator, Skeleton, Tabs, Timeline
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A single member's page, with a tab rail for roles and teams, sign-in factors, devices to sign out, past activity and a danger zone

## Agent notes

- `MEMBER_IDENTITY` is the one hard-coded member, Nora Vale, and the toast texts in the access, authentication and danger tabs repeat her name
- `handleSuspend`, `handleDeactivate`, `handleRemove`, `handleReset2fa` and `handleResendInvite` only show toasts and change nothing
- `handleSave` only clears `dirty` and toasts, and Add role just sets `dirty` without adding a role

## When not to use

- A person managing their own account, workspace and billing in one settings shell: use [Account & Team Settings](https://web.dev.reui.io/blocks/application/profile/profile-1.md) (`get_block("profile-1")`)
- An admin editing a member's profile details with a sticky audit rail: use [Member Profile Admin](https://web.dev.reui.io/blocks/application/form/form-5.md) (`get_block("form-5")`)

## Third-party libraries

- Sonner v2: [API reference](https://sonner.emilkowal.ski/toast), [docs](https://sonner.emilkowal.ski/getting-started)

## Install

```bash
npx shadcn@latest add @reui/solution-users-2
```

## About Users blocks

### 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

- A person editing their own account: avatar, name, email, password and notification choices: use the [Profile blocks](https://web.dev.reui.io/blocks/application/profile.md)
- A table section of your own records, with no roles, sign-in methods or invites around it: use the [Base blocks](https://web.dev.reui.io/blocks/data-grid/base.md)
- Notification, appearance or integration options, with no people or SSO to manage: use the [Settings blocks](https://web.dev.reui.io/blocks/application/settings.md)

### Agent notes

- Every page.tsx sets a padded `min-h-svh` wrapper, and page.tsx or the root caps the max width; drop both inside your app shell
- Feedback goes through sonner `toast` and 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 `useState` or uncontrolled inputs, so every change resets on reload

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
