# Data table

> Ruled data table with status badges and a pill pagination footer.

**BuildSpace v2.** Read https://ui.buildspace.studio/design.md first. Setup (fonts and namespace): https://ui.buildspace.studio/#install. The theme replaces Ink & Paper; review CSS changes before reinstalling in an existing project.

- **Name:** `data-table`
- **Type:** block (`registry:block`)
- **Registry item:** https://ui.buildspace.studio/r/data-table.json

## Install

```sh
npx shadcn add https://ui.buildspace.studio/r/data-table.json
```

## Dependencies

Registry items (installed automatically by the shadcn CLI):

- `@buildspace/buildspace` — BuildSpace item, see https://ui.buildspace.studio/r/buildspace.md
- `@buildspace/pagination` — BuildSpace item, see https://ui.buildspace.studio/r/pagination.md
- `@buildspace/status-badge` — BuildSpace item, see https://ui.buildspace.studio/r/status-badge.md

> **Required first step:** add a `registries.@buildspace` entry to your project's `components.json` (`"@buildspace": "https://ui.buildspace.studio/r/{name}.json"`) before running the install command above — the shadcn CLI needs it to resolve the `@buildspace/*` dependency names above, even though this item itself installs from a full URL.

## Files

- `registry/new-york/blocks/data-table/data-table.tsx`
