# Table Advanced 3 - Vertical

> Vertical Table.

A shadcn/ui block from the [@shadcnblocks](https://shadcnblocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnblocks/table-table-advanced-3).

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/table-table-advanced-3
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/table-table-advanced-3-light-a2a369630fa5e574.png
- Registry item: https://shadcnblocks.com/r/table-table-advanced-3.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/table-table-advanced-3.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `table`

## Files

### `example/table/table-advanced-3.tsx`

```tsx
import {
  Table,
  TableBody,
  TableCell,
  TableHead,
  TableHeader,
  TableRow,
} from "@/components/ui/table";

export const title = "Vertical Table";

const userInfo = [
  { label: "Full Name", value: "John Doe" },
  { label: "Email", value: "john.doe@example.com" },
  { label: "Phone", value: "+1 (555) 123-4567" },
  { label: "Location", value: "New York, NY" },
  { label: "Joined", value: "January 15, 2024" },
  { label: "Role", value: "Administrator" },
];

const Example = () => (
  <div className="w-full max-w-md rounded-md border bg-background">
    <Table>
      <TableHeader>
        <TableRow>
          <TableHead className="w-1/3">Field</TableHead>
          <TableHead>Value</TableHead>
        </TableRow>
      </TableHeader>
      <TableBody>
        {userInfo.map((info) => (
          <TableRow key={info.label}>
            <TableCell className="font-medium">{info.label}</TableCell>
            <TableCell>{info.value}</TableCell>
          </TableRow>
        ))}
      </TableBody>
    </Table>
  </div>
);

export default Example;
```
