Skip to content

Grove

Command Palette

A search field that opens a dialog of pages and actions; filters as you type and works from the keyboard.

Live, interactive React component · light themeResponsive

About the Grove Command Palette

The ⌘K search of an app: a trigger that looks like a quiet search field opens a modal with a search input over results grouped under quiet headings. Typing filters the rows by label, hint and keywords (groups with no match disappear); the arrow keys move the active row and wrap, Enter follows it, Esc closes, and Ctrl/⌘+K toggles the palette from anywhere on the page. A row with href is a real link; a row without one calls onSelect and closes. Every open starts with an empty query. Put it in the Topbar centre slot or the Sidebar header: className and other props go on the trigger, which fills its container. Client component.

It is part of Grove: white cards on sage, pastel chips, pine green. The style’s 135 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.

To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add it by hand. The documentation walks through both.