Build a command palette with Tailwind CSS: a centered overlay opened with ⌘K (or Ctrl+K) with a backdrop dimming the page, a search input with a blinking caret and placeholder "Type a command or search…", and a grouped result list (Navigation, Actions, Recent) with icons and shortcut hints on the right. Support arrow-key navigation with a highlighted row, Enter to run, Escape to close, fuzzy matching that highlights matched characters, and an empty state offering to create the query as a new item.
提示词保持英文原文——直接粘贴进 Claude、Cursor、v0 或任何 AI 编程工具即可使用。