229
Empty-state art for search: a magnifier reads down a page, zooming the lines under its lens, until it lands on the word you typed and highlights it.
akasearch·empty state·magnifier
Run this in any project set up for the shadcn CLI. It copies the Search Scan source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/search-scan.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 { SearchScan } from "@/components/search-scan";
export default function Page() {
return <SearchScan />;
}A free React illustration in the Empty States collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Search Scan source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| query | string | "roadmap" |
| title | string | "Search across every doc" |
| description | string | "Type a word and we'll find it in your notes, specs and files." |
| hue | SearchScanHue | "sky" |
| className | string | — |