# Shadcn Employee Profile

> Vertical table with employee profile details

- Type: example, free and open source (MIT)
- Component: [Table](https://reui.io/components/table.md)
- Page: https://reui.io/components/table/c-table-16
- Docs (Base UI): https://ui.shadcn.com/docs/components/base/table.md
- Docs (Radix UI): https://ui.shadcn.com/docs/components/radix/table.md
- MCP: `get_example("c-table-16")`
- Registry item: https://reui.io/r/styles/base-nova/c-table-16.json
- Uses: Avatar, Badge, Table

## Best for

One employee's details as label and value rows, with a shaded label column, avatar, job title and status

## Agent notes

- Labels are `TableCell` cells, not row headers; switch them to `TableHead` with scope row for screen readers
- Every value is a literal in the JSX; map your record's fields into `TableRow` entries
- The email cell is `text-primary` text with no link; wrap it in a mailto anchor if it should open mail

## When not to use

- A titled panel of machine specs with usage meters and tag badges: use [Server Config](https://reui.io/components/table/c-table-17.md) (`get_example("c-table-17")`)

## Install

```bash
npx shadcn@latest add @reui/c-table-16
```

## About Shadcn Table

### When to use

- Short lists of records such as invoices, orders, members, files or API keys, one per row
- Rows that carry status badges, avatars, a totals footer or a menu of row actions
- Label and value pairs describing one record, such as an employee profile or a server

### When not to use

- Rows the reader sorts, filters, pages or selects with checkboxes: use [Data Grid](https://reui.io/components/data-grid.md) (`get_component("data-grid")`)
- A ready made records section with a title bar, toolbar filters and a pager: use the [Base blocks](https://reui.io/blocks/data-grid/base.md)
- An account page where a person edits their avatar, name, email and regional settings: use the [Profile blocks](https://reui.io/blocks/application/profile.md)

### Agent notes

- `Table` wraps the table in its own overflow-x-auto div, and `className` lands on the inner table, never on that scroll wrapper
- `TableCell` and `TableHead` are nowrap in every style, so a long value widens the table and scrolls it sideways instead of wrapping

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