One search box that speaks filter: type status:open owner:me priority>2 webhook and it becomes chips and a filtered table, with Tab to complete fields and values, minus to negate, ranges like priority:2..3, and typos flagged right on the chip.
akasearch syntax·query language·search filters
Powered by Qnot · the rules, matching and serialisation are Qnot; this is the UI on top.
Run this in any project set up for the shadcn CLI. It copies the Smart Search source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/smart-search.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { SmartSearch } from "@/components/smart-search";
export default function Page() {
return <SmartSearch />;
}A free React component in the Filters collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Smart Search source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| ticketsrequired | readonly Ticket[] | — |
| me | string | "riley" |
| defaultValue | string | "" |
| examples | string[] | [] |
| onQueryChange | (query: Query) => void | — |
| className | string | — |