# Ask filter — Detent

> Type what you want to see in plain words. Each phrase hangs its filter on a thread, and when a word could mean two things, it asks.

Canonical: https://detentui.com/components/filter
Last updated: 2026-11-10

## About

Type what you want to see in plain words. Each phrase hangs its filter on a thread, and when a word could mean two things, it asks.

## Details

- Each phrase the assistant understood is underlined, and a thread runs from it to the filter it became, so a wrong reading is obvious and one click from fixed.
- Click a filter and the other ways its words could be read open beneath it, each with a note on what it means; its thread and underline light up in the accent.
- When a word could mean two things, its filter is dashed in amber and one short question waits beneath, its answers numbered for the keyboard and each with its own count.
- Until you answer, the count is a range: the fewest and the most the answer could give.
- One line under the filters always says what is being shown, in plain words.
- Bring your own model through read(), and count however your data lives. The bar, the filters and that line keep their sizes, so the list below never moves.

## Keyboard shortcuts

| Keys | Action |
| --- | --- |
| ↵ | Read what you typed |
| 1 – 9 | Answer the question |
| Esc | Close the readings, or clear |

## Install

```bash
npx shadcn add https://detentui.com/r/filter
```

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