Installation
npx shadcn@latest add @iconiq/command-paletteProps
CommandPalette
Keyboard-first command menu built on Radix Dialog with grouped items, fuzzy search, arrow-key navigation, and optional built-in theme actions.
groupsCommandMenuGroupDef[]Default []
showThemeGroupbooleanDefault true
placeholderstringDefault "Search components, pages, actions…"
shortcutKeystringDefault "k"
contentDelaynumberDefault 150
triggerReact.ReactNodetriggerPropsCommandMenuTriggerPropsclassNamestringemptyMessagestringDefault "No results found."
Items with href navigate through Next.js router.push. Items with action run a callback and close the palette.
Search matches every whitespace-separated term against the label, description, and keywords haystack.
The palette closes automatically on route changes when used inside a Next.js App Router app.
Requires next-themes ThemeProvider when showThemeGroup is enabled.
Registry bundle
Install the exact registry entry shown on the right when you want the component file and its declared runtime dependencies together.
Dependencies: @radix-ui/react-dialog, lucide-react, motion, next-themes.