Build Components

Lookout

Global search. Point it at any data, nested or flat, and search it from anywhere with ⌘K.

Component
Global search
Pattern
APG Combobox in a dialog
Outputs
React + Tailwind, HTML/CSS/JS
Status
In stock, tested

Test bench

Runs the exported code, not a mock-up.

Output

Lookout · React + TailwindFull width

Keyboard map
KeysWhat happens
⌘ KorCtrl + KOpen the search from anywhere on the page.
↓ ↑Move through the results. The caret stays in the box, so you can keep typing.
EnterGo to the highlighted result.
EscClose the search and put focus back where it was.

Take it home

React + Tailwind CSS v4: install with one command, or copy the file. Your options are already in it.

npx shadcn@latest add "/r/search.json"

Run it in your project root. It writes components/search.tsx with the options you set here. Needs Tailwind CSS v4 and a project set up for the shadcn CLI (npx shadcn@latest init).