⌘K modal with a query bar, three typed results, and a keyboard-hint footer at the bottom.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Search3 } from "@/components/beste/piece/search3";
<Search3
query="launch"
results={[
{
"icon": "page",
"label": "Launch plan Q2",
"hint": "Docs"
},
{
"icon": "channel",
"label": "launch-prep",
"hint": "Channel"
},
{
"icon": "user",
"label": "Laura Ng",
"hint": "Launch lead"
}
]}
footerHint="↑↓ to navigate"
/>A single-line search field with a leading magnifier, placeholder, and a monospace keyboard shortcut chip.
Command menu with two sectioned buckets of results, each prefixed by a category label.
Gradient-bordered prompt input with a sparkle icon and a tinted Ask AI action button.
Search popover mid-query with a spinner in the input and three shimmering skeleton rows.
Pill-shaped hero search bar with an embedded solid CTA button and a helper caption below.
Power-query input paired with a suggestions panel that surfaces operator tokens and their meanings.