# Issue Table

> A Linear-style issue list as a real table: rows grouped by status, priority or assignee under sticky headers that collapse, with inline status, priority and assignee pickers that move a row to its new group. Keyboard first (j/k, x, shift to extend, Enter to peek, 1–6 for status). Inline create per group, a Display menu and a bulk edit bar.

- Slug: `issue-table`
- Category: [Tables](https://www.assembli.design/category/tables.md)
- Type: component
- Tags: table, issues, project-management, grouped, keyboard, inline-edit, side-panel, bulk-actions, linear
- npm dependencies: @base-ui/react, motion, lucide-react
- shadcn/ui dependencies: none
- Live preview: https://www.assembli.design/preview/issue-table
- Page: https://www.assembli.design/components/issue-table

![Issue Table preview](https://www.assembli.design/thumbnails/issue-table-light.png)

## Props

Other props pass through to the root element.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `defaultIssues` (required) | `Issue[]` |  |  |
| `people` (required) | `IssuePerson[]` |  |  |
| `labels` (required) | `IssueLabel[]` |  |  |
| `me` | `string` |  | The signed-in person's id, for the "My issues" tab. |
| `today` | `string` |  | ISO date that due dates are measured against. Defaults to the viewer's today. |
| `team` | `string` | `"ENG"` | Prefix for new issue keys. |
| `title` | `React.ReactNode` | `"Issues"` |  |
| `onIssuesChange` | `(issues: Issue[]) => void` |  |  |
| `maxHeight` | `number` | `560` | Height of the scrolling body in px. |

## Install

One-time setup (needs a subscription):

1. Add the registry to the project's `components.json`: `{"@assembli":{"url":"https://www.assembli.design/r/{name}.json","headers":{"Authorization":"Bearer ${ASSEMBLI_API_KEY}"}}}` (merge into `"registries"`).
2. Put an API key from https://www.assembli.design/account in `.env.local` as `ASSEMBLI_API_KEY=asm_…`.

Then install with the shadcn CLI (writes `components/issue-table/issue-table.tsx` and installs dependencies):

```bash
npx shadcn@latest add @assembli/issue-table
```

Registry item JSON: https://www.assembli.design/r/issue-table.json (send `Authorization: Bearer <api key>`)

## Code

> Component source needs an Assembli subscription ($12/month or $96/year) and an API key sent as `Authorization: Bearer <key>`. To get one without copying anything, POST https://www.assembli.design/api/agent/login (or call the MCP tool connect_account), show the user the link it returns, and poll https://www.assembli.design/api/agent/token for the key. Or subscribe at https://www.assembli.design/pricing and create a key at https://www.assembli.design/account.
