# Data table — Detent

> A table you can ask. Say what you’re after in plain words and it becomes filters you can see and take apart, with views, sorting, paging, bulk actions and a summary of any row.

Canonical: https://detentui.com/blocks/data-table
Last updated: 2026-11-10

## About

A table you can ask. Say what you’re after in plain words and it becomes filters you can see and take apart, with views, sorting, paging, bulk actions and a summary of any row.

## Details

- Type “refunds over $50 this week that need approval” and it reads the sentence into chips: topic, amount, when, status. It knows names and unhappy customers too, and anything it doesn’t recognise becomes a text match, so nothing typed is ignored.
- Every chip comes off on its own. Chips sit in a fixed row, so adding them never moves the table.
- Rows sit at their index and glide to new places when you sort, filter or page. The body is always a page tall, so the footer never jumps.
- Select rows and a bar rises with what you can do. Approved rows stay a beat with a sweep of green, so you see what happened before the filter takes them.
- Open a row and the assistant’s summary of it writes itself in, with the action it’s waiting on.
- Views carry their counts. Up and down move between rows, Space selects, Enter opens. Narrow, it keeps the columns that matter and tucks the subject under the name.

## Keyboard shortcuts

| Keys | Action |
| --- | --- |
| ↵ | Turn the sentence into filters |
| ↑ ↓ | Move between rows |
| Space | Select a row |
| Esc | Close the summary |

## Install (Pro required)

```bash
npx shadcn add @detent-pro/data-table
```

## Related
- [All blocks](https://detentui.com/blocks)
- [Pro](https://detentui.com/pro)
