Recessed bevel search and command input with inline tactile keycap shortcut hint.
"use client"; import { useState } from "react";import { CommandInput } from "@/components/compose/input"; export function SearchField() { const [query, setQuery] = useState(""); return <CommandInput value={query} onChange={setQuery} shortcut="⌘K" />;}Add it with the ComposeUI CLI, or copy the source manually.
valuestringCurrent controlled input value.
shortcutstringKeycap badge displayed on the trailing edge when empty.
"⌘K"placeholderstringMuted helper prompt when no query is entered.
"Search primitives..."Updated December 2026